@aws-sdk/client-eks 3.675.0 → 3.677.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -520,7 +520,8 @@ var UpdateParamType = {
520
520
  TAINTS_TO_ADD: "TaintsToAdd",
521
521
  TAINTS_TO_REMOVE: "TaintsToRemove",
522
522
  UPGRADE_POLICY: "UpgradePolicy",
523
- VERSION: "Version"
523
+ VERSION: "Version",
524
+ ZONAL_SHIFT_CONFIG: "ZonalShiftConfig"
524
525
  };
525
526
  var UpdateStatus = {
526
527
  CANCELLED: "Cancelled",
@@ -539,7 +540,8 @@ var UpdateType = {
539
540
  LOGGING_UPDATE: "LoggingUpdate",
540
541
  UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
541
542
  VERSION_UPDATE: "VersionUpdate",
542
- VPC_CONFIG_UPDATE: "VpcConfigUpdate"
543
+ VPC_CONFIG_UPDATE: "VpcConfigUpdate",
544
+ ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate"
543
545
  };
544
546
  var _ClientException = class _ClientException extends EKSServiceException {
545
547
  /**
@@ -967,7 +969,8 @@ var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
967
969
  roleArn: [],
968
970
  tags: (_) => (0, import_smithy_client._json)(_),
969
971
  upgradePolicy: (_) => (0, import_smithy_client._json)(_),
970
- version: []
972
+ version: [],
973
+ zonalShiftConfig: (_) => (0, import_smithy_client._json)(_)
971
974
  })
972
975
  );
973
976
  b.m("POST").h(headers).b(body);
@@ -1588,7 +1591,8 @@ var se_UpdateClusterConfigCommand = /* @__PURE__ */ __name(async (input, context
1588
1591
  clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1589
1592
  logging: (_) => (0, import_smithy_client._json)(_),
1590
1593
  resourcesVpcConfig: (_) => (0, import_smithy_client._json)(_),
1591
- upgradePolicy: (_) => (0, import_smithy_client._json)(_)
1594
+ upgradePolicy: (_) => (0, import_smithy_client._json)(_),
1595
+ zonalShiftConfig: (_) => (0, import_smithy_client._json)(_)
1592
1596
  })
1593
1597
  );
1594
1598
  b.m("POST").h(headers).b(body);
@@ -2815,7 +2819,8 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
2815
2819
  status: import_smithy_client.expectString,
2816
2820
  tags: import_smithy_client._json,
2817
2821
  upgradePolicy: import_smithy_client._json,
2818
- version: import_smithy_client.expectString
2822
+ version: import_smithy_client.expectString,
2823
+ zonalShiftConfig: import_smithy_client._json
2819
2824
  });
2820
2825
  }, "de_Cluster");
2821
2826
  var de_ConnectorConfigResponse = /* @__PURE__ */ __name((output, context) => {
@@ -175,6 +175,7 @@ export const UpdateParamType = {
175
175
  TAINTS_TO_REMOVE: "TaintsToRemove",
176
176
  UPGRADE_POLICY: "UpgradePolicy",
177
177
  VERSION: "Version",
178
+ ZONAL_SHIFT_CONFIG: "ZonalShiftConfig",
178
179
  };
179
180
  export const UpdateStatus = {
180
181
  CANCELLED: "Cancelled",
@@ -194,6 +195,7 @@ export const UpdateType = {
194
195
  UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
195
196
  VERSION_UPDATE: "VersionUpdate",
196
197
  VPC_CONFIG_UPDATE: "VpcConfigUpdate",
198
+ ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate",
197
199
  };
198
200
  export class ClientException extends __BaseException {
199
201
  constructor(opts) {
@@ -112,6 +112,7 @@ export const se_CreateClusterCommand = async (input, context) => {
112
112
  tags: (_) => _json(_),
113
113
  upgradePolicy: (_) => _json(_),
114
114
  version: [],
115
+ zonalShiftConfig: (_) => _json(_),
115
116
  }));
116
117
  b.m("POST").h(headers).b(body);
117
118
  return b.build();
@@ -709,6 +710,7 @@ export const se_UpdateClusterConfigCommand = async (input, context) => {
709
710
  logging: (_) => _json(_),
710
711
  resourcesVpcConfig: (_) => _json(_),
711
712
  upgradePolicy: (_) => _json(_),
713
+ zonalShiftConfig: (_) => _json(_),
712
714
  }));
713
715
  b.m("POST").h(headers).b(body);
714
716
  return b.build();
@@ -1929,6 +1931,7 @@ const de_Cluster = (output, context) => {
1929
1931
  tags: _json,
1930
1932
  upgradePolicy: _json,
1931
1933
  version: __expectString,
1934
+ zonalShiftConfig: _json,
1932
1935
  });
1933
1936
  };
1934
1937
  const de_ConnectorConfigResponse = (output, context) => {
@@ -57,10 +57,10 @@ declare const AssociateEncryptionConfigCommand_base: {
57
57
  * // update: { // Update
58
58
  * // id: "STRING_VALUE",
59
59
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
60
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
60
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
61
61
  * // params: [ // UpdateParams
62
62
  * // { // UpdateParam
63
- * // 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",
63
+ * // 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
64
  * // value: "STRING_VALUE",
65
65
  * // },
66
66
  * // ],
@@ -66,10 +66,10 @@ declare const AssociateIdentityProviderConfigCommand_base: {
66
66
  * // update: { // Update
67
67
  * // id: "STRING_VALUE",
68
68
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
69
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
69
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
70
70
  * // params: [ // UpdateParams
71
71
  * // { // UpdateParam
72
- * // 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",
72
+ * // 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",
73
73
  * // value: "STRING_VALUE",
74
74
  * // },
75
75
  * // ],
@@ -133,6 +133,9 @@ declare const CreateClusterCommand_base: {
133
133
  * upgradePolicy: { // UpgradePolicyRequest
134
134
  * supportType: "STANDARD" || "EXTENDED",
135
135
  * },
136
+ * zonalShiftConfig: { // ZonalShiftConfigRequest
137
+ * enabled: true || false,
138
+ * },
136
139
  * };
137
140
  * const command = new CreateClusterCommand(input);
138
141
  * const response = await client.send(command);
@@ -229,6 +232,9 @@ declare const CreateClusterCommand_base: {
229
232
  * // upgradePolicy: { // UpgradePolicyResponse
230
233
  * // supportType: "STANDARD" || "EXTENDED",
231
234
  * // },
235
+ * // zonalShiftConfig: { // ZonalShiftConfigResponse
236
+ * // enabled: true || false,
237
+ * // },
232
238
  * // },
233
239
  * // };
234
240
  *
@@ -140,6 +140,9 @@ declare const DeleteClusterCommand_base: {
140
140
  * // upgradePolicy: { // UpgradePolicyResponse
141
141
  * // supportType: "STANDARD" || "EXTENDED",
142
142
  * // },
143
+ * // zonalShiftConfig: { // ZonalShiftConfigResponse
144
+ * // enabled: true || false,
145
+ * // },
143
146
  * // },
144
147
  * // };
145
148
  *
@@ -135,6 +135,9 @@ declare const DeregisterClusterCommand_base: {
135
135
  * // upgradePolicy: { // UpgradePolicyResponse
136
136
  * // supportType: "STANDARD" || "EXTENDED",
137
137
  * // },
138
+ * // zonalShiftConfig: { // ZonalShiftConfigResponse
139
+ * // enabled: true || false,
140
+ * // },
138
141
  * // },
139
142
  * // };
140
143
  *
@@ -141,6 +141,9 @@ declare const DescribeClusterCommand_base: {
141
141
  * // upgradePolicy: { // UpgradePolicyResponse
142
142
  * // supportType: "STANDARD" || "EXTENDED",
143
143
  * // },
144
+ * // zonalShiftConfig: { // ZonalShiftConfigResponse
145
+ * // enabled: true || false,
146
+ * // },
144
147
  * // },
145
148
  * // };
146
149
  *
@@ -49,10 +49,10 @@ declare const DescribeUpdateCommand_base: {
49
49
  * // update: { // Update
50
50
  * // id: "STRING_VALUE",
51
51
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
52
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
52
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
53
53
  * // params: [ // UpdateParams
54
54
  * // { // UpdateParam
55
- * // 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",
55
+ * // 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
56
  * // value: "STRING_VALUE",
57
57
  * // },
58
58
  * // ],
@@ -51,10 +51,10 @@ declare const DisassociateIdentityProviderConfigCommand_base: {
51
51
  * // update: { // Update
52
52
  * // id: "STRING_VALUE",
53
53
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
54
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
54
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
55
55
  * // params: [ // UpdateParams
56
56
  * // { // UpdateParam
57
- * // 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",
57
+ * // 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",
58
58
  * // value: "STRING_VALUE",
59
59
  * // },
60
60
  * // ],
@@ -153,6 +153,9 @@ declare const RegisterClusterCommand_base: {
153
153
  * // upgradePolicy: { // UpgradePolicyResponse
154
154
  * // supportType: "STANDARD" || "EXTENDED",
155
155
  * // },
156
+ * // zonalShiftConfig: { // ZonalShiftConfigResponse
157
+ * // enabled: true || false,
158
+ * // },
156
159
  * // },
157
160
  * // };
158
161
  *
@@ -55,10 +55,10 @@ declare const UpdateAddonCommand_base: {
55
55
  * // update: { // Update
56
56
  * // id: "STRING_VALUE",
57
57
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
58
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
58
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
59
59
  * // params: [ // UpdateParams
60
60
  * // { // UpdateParam
61
- * // 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",
61
+ * // 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",
62
62
  * // value: "STRING_VALUE",
63
63
  * // },
64
64
  * // ],
@@ -54,6 +54,8 @@ declare const UpdateClusterConfigCommand_base: {
54
54
  * about the VPC requirements, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html">https://docs.aws.amazon.com/eks/latest/userguide/network_reqs.html</a> in the <i>
55
55
  * <i>Amazon EKS User Guide</i>
56
56
  * </i>.</p>
57
+ * <p>You can also use this API operation to enable or disable ARC zonal shift. If zonal shift is enabled, Amazon Web Services
58
+ * configures zonal autoshift for the cluster.</p>
57
59
  * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
58
60
  * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
59
61
  * eventually consistent). When the update is complete (either <code>Failed</code> or
@@ -96,6 +98,9 @@ declare const UpdateClusterConfigCommand_base: {
96
98
  * upgradePolicy: { // UpgradePolicyRequest
97
99
  * supportType: "STANDARD" || "EXTENDED",
98
100
  * },
101
+ * zonalShiftConfig: { // ZonalShiftConfigRequest
102
+ * enabled: true || false,
103
+ * },
99
104
  * };
100
105
  * const command = new UpdateClusterConfigCommand(input);
101
106
  * const response = await client.send(command);
@@ -103,10 +108,10 @@ declare const UpdateClusterConfigCommand_base: {
103
108
  * // update: { // Update
104
109
  * // id: "STRING_VALUE",
105
110
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
106
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
111
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
107
112
  * // params: [ // UpdateParams
108
113
  * // { // UpdateParam
109
- * // 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",
114
+ * // 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",
110
115
  * // value: "STRING_VALUE",
111
116
  * // },
112
117
  * // ],
@@ -54,10 +54,10 @@ declare const UpdateClusterVersionCommand_base: {
54
54
  * // update: { // Update
55
55
  * // id: "STRING_VALUE",
56
56
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
57
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
57
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
58
58
  * // params: [ // UpdateParams
59
59
  * // { // UpdateParam
60
- * // 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",
60
+ * // 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",
61
61
  * // value: "STRING_VALUE",
62
62
  * // },
63
63
  * // ],
@@ -81,10 +81,10 @@ declare const UpdateNodegroupConfigCommand_base: {
81
81
  * // update: { // Update
82
82
  * // id: "STRING_VALUE",
83
83
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
84
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
84
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
85
85
  * // params: [ // UpdateParams
86
86
  * // { // UpdateParam
87
- * // 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",
87
+ * // 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",
88
88
  * // value: "STRING_VALUE",
89
89
  * // },
90
90
  * // ],
@@ -72,10 +72,10 @@ declare const UpdateNodegroupVersionCommand_base: {
72
72
  * // update: { // Update
73
73
  * // id: "STRING_VALUE",
74
74
  * // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
75
- * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
75
+ * // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate",
76
76
  * // params: [ // UpdateParams
77
77
  * // { // 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",
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",
79
79
  * // value: "STRING_VALUE",
80
80
  * // },
81
81
  * // ],
@@ -886,6 +886,7 @@ export declare const UpdateParamType: {
886
886
  readonly TAINTS_TO_REMOVE: "TaintsToRemove";
887
887
  readonly UPGRADE_POLICY: "UpgradePolicy";
888
888
  readonly VERSION: "Version";
889
+ readonly ZONAL_SHIFT_CONFIG: "ZonalShiftConfig";
889
890
  };
890
891
  /**
891
892
  * @public
@@ -937,6 +938,7 @@ export declare const UpdateType: {
937
938
  readonly UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate";
938
939
  readonly VERSION_UPDATE: "VersionUpdate";
939
940
  readonly VPC_CONFIG_UPDATE: "VpcConfigUpdate";
941
+ readonly ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate";
940
942
  };
941
943
  /**
942
944
  * @public
@@ -1696,12 +1698,26 @@ export interface UpgradePolicyRequest {
1696
1698
  */
1697
1699
  supportType?: SupportType;
1698
1700
  }
1701
+ /**
1702
+ * <p>The configuration for zonal shift for the cluster.</p>
1703
+ * @public
1704
+ */
1705
+ export interface ZonalShiftConfigRequest {
1706
+ /**
1707
+ * <p>If zonal shift is enabled, Amazon Web Services configures zonal autoshift for the cluster.</p>
1708
+ * @public
1709
+ */
1710
+ enabled?: boolean;
1711
+ }
1699
1712
  /**
1700
1713
  * @public
1701
1714
  */
1702
1715
  export interface CreateClusterRequest {
1703
1716
  /**
1704
- * <p>The unique name to give to your cluster.</p>
1717
+ * <p>The unique name to give to your cluster. The name can contain only alphanumeric characters (case-sensitive),
1718
+ * hyphens, and underscores. It must start with an alphanumeric character and can't be longer than
1719
+ * 100 characters. The name must be unique within the Amazon Web Services Region and Amazon Web Services account that you're
1720
+ * creating the cluster in.</p>
1705
1721
  * @public
1706
1722
  */
1707
1723
  name: string | undefined;
@@ -1797,6 +1813,26 @@ export interface CreateClusterRequest {
1797
1813
  * @public
1798
1814
  */
1799
1815
  upgradePolicy?: UpgradePolicyRequest;
1816
+ /**
1817
+ * <p>Enable or disable ARC zonal shift for the cluster. If zonal shift is enabled, Amazon Web Services
1818
+ * configures zonal autoshift for the cluster.</p>
1819
+ * <p>Zonal shift is a feature of
1820
+ * Amazon Application Recovery Controller (ARC). ARC zonal shift is designed to be a temporary measure that allows you to move
1821
+ * traffic for a resource away from an impaired AZ until the zonal shift expires or you cancel
1822
+ * it. You can extend the zonal shift if necessary.</p>
1823
+ * <p>You can start a zonal shift for an EKS cluster, or you can allow Amazon Web Services to do it for you
1824
+ * by enabling <i>zonal autoshift</i>. This shift updates the flow of
1825
+ * east-to-west network traffic in your cluster to only consider network endpoints for Pods
1826
+ * running on worker nodes in healthy AZs. Additionally, any ALB or NLB handling ingress
1827
+ * traffic for applications in your EKS cluster will automatically route traffic to targets in
1828
+ * the healthy AZs. For more information about zonal shift in EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html">Learn about Amazon Application Recovery Controller (ARC)
1829
+ * Zonal Shift in Amazon EKS</a> in the
1830
+ * <i>
1831
+ * <i>Amazon EKS User Guide</i>
1832
+ * </i>.</p>
1833
+ * @public
1834
+ */
1835
+ zonalShiftConfig?: ZonalShiftConfigRequest;
1800
1836
  }
1801
1837
  /**
1802
1838
  * <p>An object representing the <code>certificate-authority-data</code> for your
@@ -2095,6 +2131,17 @@ export interface UpgradePolicyResponse {
2095
2131
  */
2096
2132
  supportType?: SupportType;
2097
2133
  }
2134
+ /**
2135
+ * <p>The status of zonal shift configuration for the cluster</p>
2136
+ * @public
2137
+ */
2138
+ export interface ZonalShiftConfigResponse {
2139
+ /**
2140
+ * <p>Whether the zonal shift is enabled.</p>
2141
+ * @public
2142
+ */
2143
+ enabled?: boolean;
2144
+ }
2098
2145
  /**
2099
2146
  * <p>An object representing an Amazon EKS cluster.</p>
2100
2147
  * @public
@@ -2232,6 +2279,11 @@ export interface Cluster {
2232
2279
  * @public
2233
2280
  */
2234
2281
  upgradePolicy?: UpgradePolicyResponse;
2282
+ /**
2283
+ * <p>The configuration for zonal shift for the cluster.</p>
2284
+ * @public
2285
+ */
2286
+ zonalShiftConfig?: ZonalShiftConfigResponse;
2235
2287
  }
2236
2288
  /**
2237
2289
  * @public
@@ -5745,6 +5797,26 @@ export interface UpdateClusterConfigRequest {
5745
5797
  * @public
5746
5798
  */
5747
5799
  upgradePolicy?: UpgradePolicyRequest;
5800
+ /**
5801
+ * <p>Enable or disable ARC zonal shift for the cluster. If zonal shift is enabled, Amazon Web Services
5802
+ * configures zonal autoshift for the cluster.</p>
5803
+ * <p>Zonal shift is a feature of
5804
+ * Amazon Application Recovery Controller (ARC). ARC zonal shift is designed to be a temporary measure that allows you to move
5805
+ * traffic for a resource away from an impaired AZ until the zonal shift expires or you cancel
5806
+ * it. You can extend the zonal shift if necessary.</p>
5807
+ * <p>You can start a zonal shift for an EKS cluster, or you can allow Amazon Web Services to do it for you
5808
+ * by enabling <i>zonal autoshift</i>. This shift updates the flow of
5809
+ * east-to-west network traffic in your cluster to only consider network endpoints for Pods
5810
+ * running on worker nodes in healthy AZs. Additionally, any ALB or NLB handling ingress
5811
+ * traffic for applications in your EKS cluster will automatically route traffic to targets in
5812
+ * the healthy AZs. For more information about zonal shift in EKS, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/zone-shift.html">Learn about Amazon Application Recovery Controller (ARC)
5813
+ * Zonal Shift in Amazon EKS</a> in the
5814
+ * <i>
5815
+ * <i>Amazon EKS User Guide</i>
5816
+ * </i>.</p>
5817
+ * @public
5818
+ */
5819
+ zonalShiftConfig?: ZonalShiftConfigRequest;
5748
5820
  }
5749
5821
  /**
5750
5822
  * @public
@@ -272,6 +272,7 @@ export declare const UpdateParamType: {
272
272
  readonly TAINTS_TO_REMOVE: "TaintsToRemove";
273
273
  readonly UPGRADE_POLICY: "UpgradePolicy";
274
274
  readonly VERSION: "Version";
275
+ readonly ZONAL_SHIFT_CONFIG: "ZonalShiftConfig";
275
276
  };
276
277
  export type UpdateParamType =
277
278
  (typeof UpdateParamType)[keyof typeof UpdateParamType];
@@ -298,6 +299,7 @@ export declare const UpdateType: {
298
299
  readonly UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate";
299
300
  readonly VERSION_UPDATE: "VersionUpdate";
300
301
  readonly VPC_CONFIG_UPDATE: "VpcConfigUpdate";
302
+ readonly ZONAL_SHIFT_CONFIG_UPDATE: "ZonalShiftConfigUpdate";
301
303
  };
302
304
  export type UpdateType = (typeof UpdateType)[keyof typeof UpdateType];
303
305
  export interface Update {
@@ -447,6 +449,9 @@ export type SupportType = (typeof SupportType)[keyof typeof SupportType];
447
449
  export interface UpgradePolicyRequest {
448
450
  supportType?: SupportType;
449
451
  }
452
+ export interface ZonalShiftConfigRequest {
453
+ enabled?: boolean;
454
+ }
450
455
  export interface CreateClusterRequest {
451
456
  name: string | undefined;
452
457
  version?: string;
@@ -461,6 +466,7 @@ export interface CreateClusterRequest {
461
466
  accessConfig?: CreateAccessConfigRequest;
462
467
  bootstrapSelfManagedAddons?: boolean;
463
468
  upgradePolicy?: UpgradePolicyRequest;
469
+ zonalShiftConfig?: ZonalShiftConfigRequest;
464
470
  }
465
471
  export interface Certificate {
466
472
  data?: string;
@@ -543,6 +549,9 @@ export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
543
549
  export interface UpgradePolicyResponse {
544
550
  supportType?: SupportType;
545
551
  }
552
+ export interface ZonalShiftConfigResponse {
553
+ enabled?: boolean;
554
+ }
546
555
  export interface Cluster {
547
556
  name?: string;
548
557
  arn?: string;
@@ -566,6 +575,7 @@ export interface Cluster {
566
575
  outpostConfig?: OutpostConfigResponse;
567
576
  accessConfig?: AccessConfigResponse;
568
577
  upgradePolicy?: UpgradePolicyResponse;
578
+ zonalShiftConfig?: ZonalShiftConfigResponse;
569
579
  }
570
580
  export interface CreateClusterResponse {
571
581
  cluster?: Cluster;
@@ -1333,6 +1343,7 @@ export interface UpdateClusterConfigRequest {
1333
1343
  clientRequestToken?: string;
1334
1344
  accessConfig?: UpdateAccessConfigRequest;
1335
1345
  upgradePolicy?: UpgradePolicyRequest;
1346
+ zonalShiftConfig?: ZonalShiftConfigRequest;
1336
1347
  }
1337
1348
  export interface UpdateClusterConfigResponse {
1338
1349
  update?: Update;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native",
4
- "version": "3.675.0",
4
+ "version": "3.677.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-eks",
@@ -20,19 +20,19 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.675.0",
24
- "@aws-sdk/client-sts": "3.675.0",
25
- "@aws-sdk/core": "3.667.0",
26
- "@aws-sdk/credential-provider-node": "3.675.0",
23
+ "@aws-sdk/client-sso-oidc": "3.677.0",
24
+ "@aws-sdk/client-sts": "3.677.0",
25
+ "@aws-sdk/core": "3.677.0",
26
+ "@aws-sdk/credential-provider-node": "3.677.0",
27
27
  "@aws-sdk/middleware-host-header": "3.667.0",
28
28
  "@aws-sdk/middleware-logger": "3.667.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.667.0",
30
- "@aws-sdk/middleware-user-agent": "3.669.0",
30
+ "@aws-sdk/middleware-user-agent": "3.677.0",
31
31
  "@aws-sdk/region-config-resolver": "3.667.0",
32
32
  "@aws-sdk/types": "3.667.0",
33
33
  "@aws-sdk/util-endpoints": "3.667.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.675.0",
35
- "@aws-sdk/util-user-agent-node": "3.669.0",
35
+ "@aws-sdk/util-user-agent-node": "3.677.0",
36
36
  "@smithy/config-resolver": "^3.0.9",
37
37
  "@smithy/core": "^2.4.8",
38
38
  "@smithy/fetch-http-handler": "^3.2.9",