Skip to content

Commit

Permalink
feat(client-eks): Added support for Auto Mode Clusters, Hybrid Nodes,…
Browse files Browse the repository at this point in the history
… and specifying computeTypes in the DescribeAddonVersions API.
  • Loading branch information
awstools committed Dec 2, 2024
1 parent 7458eec commit 41cd745
Show file tree
Hide file tree
Showing 18 changed files with 771 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
* // update: { // Update
* // id: "STRING_VALUE",
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
* // params: [ // UpdateParams
* // { // UpdateParam
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig",
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
* // value: "STRING_VALUE",
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ export interface AssociateIdentityProviderConfigCommandOutput
* // update: { // Update
* // id: "STRING_VALUE",
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
* // params: [ // UpdateParams
* // { // UpdateParam
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig",
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
* // value: "STRING_VALUE",
* // },
* // ],
Expand Down
50 changes: 50 additions & 0 deletions clients/client-eks/src/commands/CreateClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* kubernetesNetworkConfig: { // KubernetesNetworkConfigRequest
* serviceIpv4Cidr: "STRING_VALUE",
* ipFamily: "ipv4" || "ipv6",
* elasticLoadBalancing: { // ElasticLoadBalancing
* enabled: true || false,
* },
* },
* logging: { // Logging
* clusterLogging: [ // LogSetups
Expand Down Expand Up @@ -137,6 +140,28 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* zonalShiftConfig: { // ZonalShiftConfigRequest
* enabled: true || false,
* },
* remoteNetworkConfig: { // RemoteNetworkConfigRequest
* remoteNodeNetworks: [ // RemoteNodeNetworkList
* { // RemoteNodeNetwork
* cidrs: "<StringList>",
* },
* ],
* remotePodNetworks: [ // RemotePodNetworkList
* { // RemotePodNetwork
* cidrs: "<StringList>",
* },
* ],
* },
* computeConfig: { // ComputeConfigRequest
* enabled: true || false,
* nodePools: "<StringList>",
* nodeRoleArn: "STRING_VALUE",
* },
* storageConfig: { // StorageConfigRequest
* blockStorage: { // BlockStorage
* enabled: true || false,
* },
* },
* };
* const command = new CreateClusterCommand(input);
* const response = await client.send(command);
Expand Down Expand Up @@ -167,6 +192,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* // serviceIpv4Cidr: "STRING_VALUE",
* // serviceIpv6Cidr: "STRING_VALUE",
* // ipFamily: "ipv4" || "ipv6",
* // elasticLoadBalancing: { // ElasticLoadBalancing
* // enabled: true || false,
* // },
* // },
* // logging: { // Logging
* // clusterLogging: [ // LogSetups
Expand Down Expand Up @@ -236,6 +264,28 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
* // zonalShiftConfig: { // ZonalShiftConfigResponse
* // enabled: true || false,
* // },
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
* // { // RemoteNodeNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // remotePodNetworks: [ // RemotePodNetworkList
* // { // RemotePodNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // },
* // computeConfig: { // ComputeConfigResponse
* // enabled: true || false,
* // nodePools: "<StringList>",
* // nodeRoleArn: "STRING_VALUE",
* // },
* // storageConfig: { // StorageConfigResponse
* // blockStorage: { // BlockStorage
* // enabled: true || false,
* // },
* // },
* // },
* // };
*
Expand Down
25 changes: 25 additions & 0 deletions clients/client-eks/src/commands/DeleteClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
* // serviceIpv4Cidr: "STRING_VALUE",
* // serviceIpv6Cidr: "STRING_VALUE",
* // ipFamily: "ipv4" || "ipv6",
* // elasticLoadBalancing: { // ElasticLoadBalancing
* // enabled: true || false,
* // },
* // },
* // logging: { // Logging
* // clusterLogging: [ // LogSetups
Expand Down Expand Up @@ -144,6 +147,28 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
* // zonalShiftConfig: { // ZonalShiftConfigResponse
* // enabled: true || false,
* // },
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
* // { // RemoteNodeNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // remotePodNetworks: [ // RemotePodNetworkList
* // { // RemotePodNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // },
* // computeConfig: { // ComputeConfigResponse
* // enabled: true || false,
* // nodePools: "<StringList>",
* // nodeRoleArn: "STRING_VALUE",
* // },
* // storageConfig: { // StorageConfigResponse
* // blockStorage: { // BlockStorage
* // enabled: true || false,
* // },
* // },
* // },
* // };
*
Expand Down
25 changes: 25 additions & 0 deletions clients/client-eks/src/commands/DeregisterClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
* // serviceIpv4Cidr: "STRING_VALUE",
* // serviceIpv6Cidr: "STRING_VALUE",
* // ipFamily: "ipv4" || "ipv6",
* // elasticLoadBalancing: { // ElasticLoadBalancing
* // enabled: true || false,
* // },
* // },
* // logging: { // Logging
* // clusterLogging: [ // LogSetups
Expand Down Expand Up @@ -139,6 +142,28 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
* // zonalShiftConfig: { // ZonalShiftConfigResponse
* // enabled: true || false,
* // },
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
* // { // RemoteNodeNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // remotePodNetworks: [ // RemotePodNetworkList
* // { // RemotePodNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // },
* // computeConfig: { // ComputeConfigResponse
* // enabled: true || false,
* // nodePools: "<StringList>",
* // nodeRoleArn: "STRING_VALUE",
* // },
* // storageConfig: { // StorageConfigResponse
* // blockStorage: { // BlockStorage
* // enabled: true || false,
* // },
* // },
* // },
* // };
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ export interface DescribeAddonVersionsCommandOutput extends DescribeAddonVersion
* // architecture: [ // StringList
* // "STRING_VALUE",
* // ],
* // computeTypes: [
* // "STRING_VALUE",
* // ],
* // compatibilities: [ // Compatibilities
* // { // Compatibility
* // clusterVersion: "STRING_VALUE",
Expand Down
25 changes: 25 additions & 0 deletions clients/client-eks/src/commands/DescribeClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
* // serviceIpv4Cidr: "STRING_VALUE",
* // serviceIpv6Cidr: "STRING_VALUE",
* // ipFamily: "ipv4" || "ipv6",
* // elasticLoadBalancing: { // ElasticLoadBalancing
* // enabled: true || false,
* // },
* // },
* // logging: { // Logging
* // clusterLogging: [ // LogSetups
Expand Down Expand Up @@ -145,6 +148,28 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
* // zonalShiftConfig: { // ZonalShiftConfigResponse
* // enabled: true || false,
* // },
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
* // { // RemoteNodeNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // remotePodNetworks: [ // RemotePodNetworkList
* // { // RemotePodNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // },
* // computeConfig: { // ComputeConfigResponse
* // enabled: true || false,
* // nodePools: "<StringList>",
* // nodeRoleArn: "STRING_VALUE",
* // },
* // storageConfig: { // StorageConfigResponse
* // blockStorage: { // BlockStorage
* // enabled: true || false,
* // },
* // },
* // },
* // };
*
Expand Down
4 changes: 2 additions & 2 deletions clients/client-eks/src/commands/DescribeUpdateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __M
* // update: { // Update
* // id: "STRING_VALUE",
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
* // params: [ // UpdateParams
* // { // UpdateParam
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig",
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
* // value: "STRING_VALUE",
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ export interface DisassociateIdentityProviderConfigCommandOutput
* // update: { // Update
* // id: "STRING_VALUE",
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
* // params: [ // UpdateParams
* // { // UpdateParam
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig",
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig",
* // value: "STRING_VALUE",
* // },
* // ],
Expand Down
25 changes: 25 additions & 0 deletions clients/client-eks/src/commands/RegisterClusterCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,9 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
* // serviceIpv4Cidr: "STRING_VALUE",
* // serviceIpv6Cidr: "STRING_VALUE",
* // ipFamily: "ipv4" || "ipv6",
* // elasticLoadBalancing: { // ElasticLoadBalancing
* // enabled: true || false,
* // },
* // },
* // logging: { // Logging
* // clusterLogging: [ // LogSetups
Expand Down Expand Up @@ -157,6 +160,28 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
* // zonalShiftConfig: { // ZonalShiftConfigResponse
* // enabled: true || false,
* // },
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
* // { // RemoteNodeNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // remotePodNetworks: [ // RemotePodNetworkList
* // { // RemotePodNetwork
* // cidrs: "<StringList>",
* // },
* // ],
* // },
* // computeConfig: { // ComputeConfigResponse
* // enabled: true || false,
* // nodePools: "<StringList>",
* // nodeRoleArn: "STRING_VALUE",
* // },
* // storageConfig: { // StorageConfigResponse
* // blockStorage: { // BlockStorage
* // enabled: true || false,
* // },
* // },
* // },
* // };
*
Expand Down
Loading

0 comments on commit 41cd745

Please sign in to comment.