Skip to content

Commit 41cd745

Browse files
author
awstools
committed
feat(client-eks): Added support for Auto Mode Clusters, Hybrid Nodes, and specifying computeTypes in the DescribeAddonVersions API.
1 parent 7458eec commit 41cd745

18 files changed

+771
-18
lines changed

Diff for: clients/client-eks/src/commands/AssociateEncryptionConfigCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
5858
* // update: { // Update
5959
* // id: "STRING_VALUE",
6060
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
61-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
61+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
6262
* // params: [ // UpdateParams
6363
* // { // UpdateParam
64-
* // 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",
64+
* // 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",
6565
* // value: "STRING_VALUE",
6666
* // },
6767
* // ],

Diff for: clients/client-eks/src/commands/AssociateIdentityProviderConfigCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ export interface AssociateIdentityProviderConfigCommandOutput
7272
* // update: { // Update
7373
* // id: "STRING_VALUE",
7474
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
75-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
75+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
7676
* // params: [ // UpdateParams
7777
* // { // UpdateParam
78-
* // 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",
78+
* // 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",
7979
* // value: "STRING_VALUE",
8080
* // },
8181
* // ],

Diff for: clients/client-eks/src/commands/CreateClusterCommand.ts

+50
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
9292
* kubernetesNetworkConfig: { // KubernetesNetworkConfigRequest
9393
* serviceIpv4Cidr: "STRING_VALUE",
9494
* ipFamily: "ipv4" || "ipv6",
95+
* elasticLoadBalancing: { // ElasticLoadBalancing
96+
* enabled: true || false,
97+
* },
9598
* },
9699
* logging: { // Logging
97100
* clusterLogging: [ // LogSetups
@@ -137,6 +140,28 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
137140
* zonalShiftConfig: { // ZonalShiftConfigRequest
138141
* enabled: true || false,
139142
* },
143+
* remoteNetworkConfig: { // RemoteNetworkConfigRequest
144+
* remoteNodeNetworks: [ // RemoteNodeNetworkList
145+
* { // RemoteNodeNetwork
146+
* cidrs: "<StringList>",
147+
* },
148+
* ],
149+
* remotePodNetworks: [ // RemotePodNetworkList
150+
* { // RemotePodNetwork
151+
* cidrs: "<StringList>",
152+
* },
153+
* ],
154+
* },
155+
* computeConfig: { // ComputeConfigRequest
156+
* enabled: true || false,
157+
* nodePools: "<StringList>",
158+
* nodeRoleArn: "STRING_VALUE",
159+
* },
160+
* storageConfig: { // StorageConfigRequest
161+
* blockStorage: { // BlockStorage
162+
* enabled: true || false,
163+
* },
164+
* },
140165
* };
141166
* const command = new CreateClusterCommand(input);
142167
* const response = await client.send(command);
@@ -167,6 +192,9 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
167192
* // serviceIpv4Cidr: "STRING_VALUE",
168193
* // serviceIpv6Cidr: "STRING_VALUE",
169194
* // ipFamily: "ipv4" || "ipv6",
195+
* // elasticLoadBalancing: { // ElasticLoadBalancing
196+
* // enabled: true || false,
197+
* // },
170198
* // },
171199
* // logging: { // Logging
172200
* // clusterLogging: [ // LogSetups
@@ -236,6 +264,28 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
236264
* // zonalShiftConfig: { // ZonalShiftConfigResponse
237265
* // enabled: true || false,
238266
* // },
267+
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
268+
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
269+
* // { // RemoteNodeNetwork
270+
* // cidrs: "<StringList>",
271+
* // },
272+
* // ],
273+
* // remotePodNetworks: [ // RemotePodNetworkList
274+
* // { // RemotePodNetwork
275+
* // cidrs: "<StringList>",
276+
* // },
277+
* // ],
278+
* // },
279+
* // computeConfig: { // ComputeConfigResponse
280+
* // enabled: true || false,
281+
* // nodePools: "<StringList>",
282+
* // nodeRoleArn: "STRING_VALUE",
283+
* // },
284+
* // storageConfig: { // StorageConfigResponse
285+
* // blockStorage: { // BlockStorage
286+
* // enabled: true || false,
287+
* // },
288+
* // },
239289
* // },
240290
* // };
241291
*

Diff for: clients/client-eks/src/commands/DeleteClusterCommand.ts

+25
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
7575
* // serviceIpv4Cidr: "STRING_VALUE",
7676
* // serviceIpv6Cidr: "STRING_VALUE",
7777
* // ipFamily: "ipv4" || "ipv6",
78+
* // elasticLoadBalancing: { // ElasticLoadBalancing
79+
* // enabled: true || false,
80+
* // },
7881
* // },
7982
* // logging: { // Logging
8083
* // clusterLogging: [ // LogSetups
@@ -144,6 +147,28 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
144147
* // zonalShiftConfig: { // ZonalShiftConfigResponse
145148
* // enabled: true || false,
146149
* // },
150+
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
151+
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
152+
* // { // RemoteNodeNetwork
153+
* // cidrs: "<StringList>",
154+
* // },
155+
* // ],
156+
* // remotePodNetworks: [ // RemotePodNetworkList
157+
* // { // RemotePodNetwork
158+
* // cidrs: "<StringList>",
159+
* // },
160+
* // ],
161+
* // },
162+
* // computeConfig: { // ComputeConfigResponse
163+
* // enabled: true || false,
164+
* // nodePools: "<StringList>",
165+
* // nodeRoleArn: "STRING_VALUE",
166+
* // },
167+
* // storageConfig: { // StorageConfigResponse
168+
* // blockStorage: { // BlockStorage
169+
* // enabled: true || false,
170+
* // },
171+
* // },
147172
* // },
148173
* // };
149174
*

Diff for: clients/client-eks/src/commands/DeregisterClusterCommand.ts

+25
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,9 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
7070
* // serviceIpv4Cidr: "STRING_VALUE",
7171
* // serviceIpv6Cidr: "STRING_VALUE",
7272
* // ipFamily: "ipv4" || "ipv6",
73+
* // elasticLoadBalancing: { // ElasticLoadBalancing
74+
* // enabled: true || false,
75+
* // },
7376
* // },
7477
* // logging: { // Logging
7578
* // clusterLogging: [ // LogSetups
@@ -139,6 +142,28 @@ export interface DeregisterClusterCommandOutput extends DeregisterClusterRespons
139142
* // zonalShiftConfig: { // ZonalShiftConfigResponse
140143
* // enabled: true || false,
141144
* // },
145+
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
146+
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
147+
* // { // RemoteNodeNetwork
148+
* // cidrs: "<StringList>",
149+
* // },
150+
* // ],
151+
* // remotePodNetworks: [ // RemotePodNetworkList
152+
* // { // RemotePodNetwork
153+
* // cidrs: "<StringList>",
154+
* // },
155+
* // ],
156+
* // },
157+
* // computeConfig: { // ComputeConfigResponse
158+
* // enabled: true || false,
159+
* // nodePools: "<StringList>",
160+
* // nodeRoleArn: "STRING_VALUE",
161+
* // },
162+
* // storageConfig: { // StorageConfigResponse
163+
* // blockStorage: { // BlockStorage
164+
* // enabled: true || false,
165+
* // },
166+
* // },
142167
* // },
143168
* // };
144169
*

Diff for: clients/client-eks/src/commands/DescribeAddonVersionsCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,9 @@ export interface DescribeAddonVersionsCommandOutput extends DescribeAddonVersion
6666
* // architecture: [ // StringList
6767
* // "STRING_VALUE",
6868
* // ],
69+
* // computeTypes: [
70+
* // "STRING_VALUE",
71+
* // ],
6972
* // compatibilities: [ // Compatibilities
7073
* // { // Compatibility
7174
* // clusterVersion: "STRING_VALUE",

Diff for: clients/client-eks/src/commands/DescribeClusterCommand.ts

+25
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
7676
* // serviceIpv4Cidr: "STRING_VALUE",
7777
* // serviceIpv6Cidr: "STRING_VALUE",
7878
* // ipFamily: "ipv4" || "ipv6",
79+
* // elasticLoadBalancing: { // ElasticLoadBalancing
80+
* // enabled: true || false,
81+
* // },
7982
* // },
8083
* // logging: { // Logging
8184
* // clusterLogging: [ // LogSetups
@@ -145,6 +148,28 @@ export interface DescribeClusterCommandOutput extends DescribeClusterResponse, _
145148
* // zonalShiftConfig: { // ZonalShiftConfigResponse
146149
* // enabled: true || false,
147150
* // },
151+
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
152+
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
153+
* // { // RemoteNodeNetwork
154+
* // cidrs: "<StringList>",
155+
* // },
156+
* // ],
157+
* // remotePodNetworks: [ // RemotePodNetworkList
158+
* // { // RemotePodNetwork
159+
* // cidrs: "<StringList>",
160+
* // },
161+
* // ],
162+
* // },
163+
* // computeConfig: { // ComputeConfigResponse
164+
* // enabled: true || false,
165+
* // nodePools: "<StringList>",
166+
* // nodeRoleArn: "STRING_VALUE",
167+
* // },
168+
* // storageConfig: { // StorageConfigResponse
169+
* // blockStorage: { // BlockStorage
170+
* // enabled: true || false,
171+
* // },
172+
* // },
148173
* // },
149174
* // };
150175
*

Diff for: clients/client-eks/src/commands/DescribeUpdateCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,10 @@ export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __M
5050
* // update: { // Update
5151
* // id: "STRING_VALUE",
5252
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
53-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
53+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
5454
* // params: [ // UpdateParams
5555
* // { // UpdateParam
56-
* // 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",
56+
* // 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",
5757
* // value: "STRING_VALUE",
5858
* // },
5959
* // ],

Diff for: clients/client-eks/src/commands/DisassociateIdentityProviderConfigCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,10 @@ export interface DisassociateIdentityProviderConfigCommandOutput
6060
* // update: { // Update
6161
* // id: "STRING_VALUE",
6262
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
63-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
63+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate",
6464
* // params: [ // UpdateParams
6565
* // { // UpdateParam
66-
* // 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",
66+
* // 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",
6767
* // value: "STRING_VALUE",
6868
* // },
6969
* // ],

Diff for: clients/client-eks/src/commands/RegisterClusterCommand.ts

+25
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
8888
* // serviceIpv4Cidr: "STRING_VALUE",
8989
* // serviceIpv6Cidr: "STRING_VALUE",
9090
* // ipFamily: "ipv4" || "ipv6",
91+
* // elasticLoadBalancing: { // ElasticLoadBalancing
92+
* // enabled: true || false,
93+
* // },
9194
* // },
9295
* // logging: { // Logging
9396
* // clusterLogging: [ // LogSetups
@@ -157,6 +160,28 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
157160
* // zonalShiftConfig: { // ZonalShiftConfigResponse
158161
* // enabled: true || false,
159162
* // },
163+
* // remoteNetworkConfig: { // RemoteNetworkConfigResponse
164+
* // remoteNodeNetworks: [ // RemoteNodeNetworkList
165+
* // { // RemoteNodeNetwork
166+
* // cidrs: "<StringList>",
167+
* // },
168+
* // ],
169+
* // remotePodNetworks: [ // RemotePodNetworkList
170+
* // { // RemotePodNetwork
171+
* // cidrs: "<StringList>",
172+
* // },
173+
* // ],
174+
* // },
175+
* // computeConfig: { // ComputeConfigResponse
176+
* // enabled: true || false,
177+
* // nodePools: "<StringList>",
178+
* // nodeRoleArn: "STRING_VALUE",
179+
* // },
180+
* // storageConfig: { // StorageConfigResponse
181+
* // blockStorage: { // BlockStorage
182+
* // enabled: true || false,
183+
* // },
184+
* // },
160185
* // },
161186
* // };
162187
*

0 commit comments

Comments
 (0)