@aws-sdk/client-eks 3.614.0 → 3.620.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 +17 -6
- package/dist-es/EKSClient.js +5 -5
- package/dist-es/models/models_0.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +3 -0
- package/dist-types/EKSClient.d.ts +2 -2
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +3 -0
- package/dist-types/commands/DeregisterClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/RegisterClusterCommand.d.ts +3 -0
- package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +5 -2
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +2 -2
- package/dist-types/models/models_0.d.ts +66 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/EKSClient.d.ts +2 -2
- package/dist-types/ts3.4/models/models_0.d.ts +16 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +18 -18
package/dist-cjs/index.js
CHANGED
|
@@ -105,6 +105,7 @@ __export(src_exports, {
|
|
|
105
105
|
ResourcePropagationDelayException: () => ResourcePropagationDelayException,
|
|
106
106
|
ServerException: () => ServerException,
|
|
107
107
|
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
108
|
+
SupportType: () => SupportType,
|
|
108
109
|
TagResourceCommand: () => TagResourceCommand,
|
|
109
110
|
TaintEffect: () => TaintEffect,
|
|
110
111
|
UnsupportedAvailabilityZoneException: () => UnsupportedAvailabilityZoneException,
|
|
@@ -255,19 +256,19 @@ var _EKSClient = class _EKSClient extends import_smithy_client.Client {
|
|
|
255
256
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
256
257
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
257
258
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
258
|
-
const _config_4 = (0,
|
|
259
|
-
const _config_5 = (0,
|
|
260
|
-
const _config_6 = (0,
|
|
259
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
260
|
+
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
|
|
261
|
+
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
|
|
261
262
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
262
263
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
263
264
|
super(_config_8);
|
|
264
265
|
this.config = _config_8;
|
|
265
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
266
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
267
266
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
268
267
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
269
268
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
270
269
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
270
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
271
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
271
272
|
this.middlewareStack.use(
|
|
272
273
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
273
274
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
@@ -522,6 +523,7 @@ var UpdateParamType = {
|
|
|
522
523
|
SUBNETS: "Subnets",
|
|
523
524
|
TAINTS_TO_ADD: "TaintsToAdd",
|
|
524
525
|
TAINTS_TO_REMOVE: "TaintsToRemove",
|
|
526
|
+
UPGRADE_POLICY: "UpgradePolicy",
|
|
525
527
|
VERSION: "Version"
|
|
526
528
|
};
|
|
527
529
|
var UpdateStatus = {
|
|
@@ -539,6 +541,7 @@ var UpdateType = {
|
|
|
539
541
|
DISASSOCIATE_IDENTITY_PROVIDER_CONFIG: "DisassociateIdentityProviderConfig",
|
|
540
542
|
ENDPOINT_ACCESS_UPDATE: "EndpointAccessUpdate",
|
|
541
543
|
LOGGING_UPDATE: "LoggingUpdate",
|
|
544
|
+
UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
|
|
542
545
|
VERSION_UPDATE: "VersionUpdate",
|
|
543
546
|
VPC_CONFIG_UPDATE: "VpcConfigUpdate"
|
|
544
547
|
};
|
|
@@ -619,6 +622,10 @@ var LogType = {
|
|
|
619
622
|
CONTROLLER_MANAGER: "controllerManager",
|
|
620
623
|
SCHEDULER: "scheduler"
|
|
621
624
|
};
|
|
625
|
+
var SupportType = {
|
|
626
|
+
EXTENDED: "EXTENDED",
|
|
627
|
+
STANDARD: "STANDARD"
|
|
628
|
+
};
|
|
622
629
|
var ClusterIssueCode = {
|
|
623
630
|
ACCESS_DENIED: "AccessDenied",
|
|
624
631
|
CLUSTER_UNREACHABLE: "ClusterUnreachable",
|
|
@@ -963,6 +970,7 @@ var se_CreateClusterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
963
970
|
resourcesVpcConfig: (_) => (0, import_smithy_client._json)(_),
|
|
964
971
|
roleArn: [],
|
|
965
972
|
tags: (_) => (0, import_smithy_client._json)(_),
|
|
973
|
+
upgradePolicy: (_) => (0, import_smithy_client._json)(_),
|
|
966
974
|
version: []
|
|
967
975
|
})
|
|
968
976
|
);
|
|
@@ -1586,7 +1594,8 @@ var se_UpdateClusterConfigCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1586
1594
|
accessConfig: (_) => (0, import_smithy_client._json)(_),
|
|
1587
1595
|
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1588
1596
|
logging: (_) => (0, import_smithy_client._json)(_),
|
|
1589
|
-
resourcesVpcConfig: (_) => (0, import_smithy_client._json)(_)
|
|
1597
|
+
resourcesVpcConfig: (_) => (0, import_smithy_client._json)(_),
|
|
1598
|
+
upgradePolicy: (_) => (0, import_smithy_client._json)(_)
|
|
1590
1599
|
})
|
|
1591
1600
|
);
|
|
1592
1601
|
b.m("POST").h(headers).b(body);
|
|
@@ -2812,6 +2821,7 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
|
|
|
2812
2821
|
roleArn: import_smithy_client.expectString,
|
|
2813
2822
|
status: import_smithy_client.expectString,
|
|
2814
2823
|
tags: import_smithy_client._json,
|
|
2824
|
+
upgradePolicy: import_smithy_client._json,
|
|
2815
2825
|
version: import_smithy_client.expectString
|
|
2816
2826
|
});
|
|
2817
2827
|
}, "de_Cluster");
|
|
@@ -4442,6 +4452,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
|
|
|
4442
4452
|
ResolveConflicts,
|
|
4443
4453
|
IpFamily,
|
|
4444
4454
|
LogType,
|
|
4455
|
+
SupportType,
|
|
4445
4456
|
ClusterIssueCode,
|
|
4446
4457
|
ClusterStatus,
|
|
4447
4458
|
ServiceUnavailableException,
|
package/dist-es/EKSClient.js
CHANGED
|
@@ -19,19 +19,19 @@ export class EKSClient extends __Client {
|
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
20
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
21
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
22
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveUserAgentConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveRetryConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
36
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
37
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -171,6 +171,7 @@ export const UpdateParamType = {
|
|
|
171
171
|
SUBNETS: "Subnets",
|
|
172
172
|
TAINTS_TO_ADD: "TaintsToAdd",
|
|
173
173
|
TAINTS_TO_REMOVE: "TaintsToRemove",
|
|
174
|
+
UPGRADE_POLICY: "UpgradePolicy",
|
|
174
175
|
VERSION: "Version",
|
|
175
176
|
};
|
|
176
177
|
export const UpdateStatus = {
|
|
@@ -188,6 +189,7 @@ export const UpdateType = {
|
|
|
188
189
|
DISASSOCIATE_IDENTITY_PROVIDER_CONFIG: "DisassociateIdentityProviderConfig",
|
|
189
190
|
ENDPOINT_ACCESS_UPDATE: "EndpointAccessUpdate",
|
|
190
191
|
LOGGING_UPDATE: "LoggingUpdate",
|
|
192
|
+
UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate",
|
|
191
193
|
VERSION_UPDATE: "VersionUpdate",
|
|
192
194
|
VPC_CONFIG_UPDATE: "VpcConfigUpdate",
|
|
193
195
|
};
|
|
@@ -253,6 +255,10 @@ export const LogType = {
|
|
|
253
255
|
CONTROLLER_MANAGER: "controllerManager",
|
|
254
256
|
SCHEDULER: "scheduler",
|
|
255
257
|
};
|
|
258
|
+
export const SupportType = {
|
|
259
|
+
EXTENDED: "EXTENDED",
|
|
260
|
+
STANDARD: "STANDARD",
|
|
261
|
+
};
|
|
256
262
|
export const ClusterIssueCode = {
|
|
257
263
|
ACCESS_DENIED: "AccessDenied",
|
|
258
264
|
CLUSTER_UNREACHABLE: "ClusterUnreachable",
|
|
@@ -110,6 +110,7 @@ export const se_CreateClusterCommand = async (input, context) => {
|
|
|
110
110
|
resourcesVpcConfig: (_) => _json(_),
|
|
111
111
|
roleArn: [],
|
|
112
112
|
tags: (_) => _json(_),
|
|
113
|
+
upgradePolicy: (_) => _json(_),
|
|
113
114
|
version: [],
|
|
114
115
|
}));
|
|
115
116
|
b.m("POST").h(headers).b(body);
|
|
@@ -710,6 +711,7 @@ export const se_UpdateClusterConfigCommand = async (input, context) => {
|
|
|
710
711
|
clientRequestToken: [true, (_) => _ ?? generateIdempotencyToken()],
|
|
711
712
|
logging: (_) => _json(_),
|
|
712
713
|
resourcesVpcConfig: (_) => _json(_),
|
|
714
|
+
upgradePolicy: (_) => _json(_),
|
|
713
715
|
}));
|
|
714
716
|
b.m("POST").h(headers).b(body);
|
|
715
717
|
return b.build();
|
|
@@ -1928,6 +1930,7 @@ const de_Cluster = (output, context) => {
|
|
|
1928
1930
|
roleArn: __expectString,
|
|
1929
1931
|
status: __expectString,
|
|
1930
1932
|
tags: _json,
|
|
1933
|
+
upgradePolicy: _json,
|
|
1931
1934
|
version: __expectString,
|
|
1932
1935
|
});
|
|
1933
1936
|
};
|
|
@@ -187,7 +187,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
187
187
|
/**
|
|
188
188
|
* @public
|
|
189
189
|
*/
|
|
190
|
-
export type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
190
|
+
export type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
191
191
|
/**
|
|
192
192
|
* @public
|
|
193
193
|
*
|
|
@@ -198,7 +198,7 @@ export interface EKSClientConfig extends EKSClientConfigType {
|
|
|
198
198
|
/**
|
|
199
199
|
* @public
|
|
200
200
|
*/
|
|
201
|
-
export type EKSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
201
|
+
export type EKSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
202
202
|
/**
|
|
203
203
|
* @public
|
|
204
204
|
*
|
|
@@ -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",
|
|
60
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
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",
|
|
69
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
73
73
|
* // value: "STRING_VALUE",
|
|
74
74
|
* // },
|
|
75
75
|
* // ],
|
|
@@ -130,6 +130,9 @@ declare const CreateClusterCommand_base: {
|
|
|
130
130
|
* authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
131
131
|
* },
|
|
132
132
|
* bootstrapSelfManagedAddons: true || false,
|
|
133
|
+
* upgradePolicy: { // UpgradePolicyRequest
|
|
134
|
+
* supportType: "STANDARD" || "EXTENDED",
|
|
135
|
+
* },
|
|
133
136
|
* };
|
|
134
137
|
* const command = new CreateClusterCommand(input);
|
|
135
138
|
* const response = await client.send(command);
|
|
@@ -223,6 +226,9 @@ declare const CreateClusterCommand_base: {
|
|
|
223
226
|
* // bootstrapClusterCreatorAdminPermissions: true || false,
|
|
224
227
|
* // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
225
228
|
* // },
|
|
229
|
+
* // upgradePolicy: { // UpgradePolicyResponse
|
|
230
|
+
* // supportType: "STANDARD" || "EXTENDED",
|
|
231
|
+
* // },
|
|
226
232
|
* // },
|
|
227
233
|
* // };
|
|
228
234
|
*
|
|
@@ -137,6 +137,9 @@ declare const DeleteClusterCommand_base: {
|
|
|
137
137
|
* // bootstrapClusterCreatorAdminPermissions: true || false,
|
|
138
138
|
* // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
139
139
|
* // },
|
|
140
|
+
* // upgradePolicy: { // UpgradePolicyResponse
|
|
141
|
+
* // supportType: "STANDARD" || "EXTENDED",
|
|
142
|
+
* // },
|
|
140
143
|
* // },
|
|
141
144
|
* // };
|
|
142
145
|
*
|
|
@@ -132,6 +132,9 @@ declare const DeregisterClusterCommand_base: {
|
|
|
132
132
|
* // bootstrapClusterCreatorAdminPermissions: true || false,
|
|
133
133
|
* // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
134
134
|
* // },
|
|
135
|
+
* // upgradePolicy: { // UpgradePolicyResponse
|
|
136
|
+
* // supportType: "STANDARD" || "EXTENDED",
|
|
137
|
+
* // },
|
|
135
138
|
* // },
|
|
136
139
|
* // };
|
|
137
140
|
*
|
|
@@ -138,6 +138,9 @@ declare const DescribeClusterCommand_base: {
|
|
|
138
138
|
* // bootstrapClusterCreatorAdminPermissions: true || false,
|
|
139
139
|
* // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
140
140
|
* // },
|
|
141
|
+
* // upgradePolicy: { // UpgradePolicyResponse
|
|
142
|
+
* // supportType: "STANDARD" || "EXTENDED",
|
|
143
|
+
* // },
|
|
141
144
|
* // },
|
|
142
145
|
* // };
|
|
143
146
|
*
|
|
@@ -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",
|
|
52
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
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",
|
|
54
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
58
58
|
* // value: "STRING_VALUE",
|
|
59
59
|
* // },
|
|
60
60
|
* // ],
|
|
@@ -150,6 +150,9 @@ declare const RegisterClusterCommand_base: {
|
|
|
150
150
|
* // bootstrapClusterCreatorAdminPermissions: true || false,
|
|
151
151
|
* // authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
152
152
|
* // },
|
|
153
|
+
* // upgradePolicy: { // UpgradePolicyResponse
|
|
154
|
+
* // supportType: "STANDARD" || "EXTENDED",
|
|
155
|
+
* // },
|
|
153
156
|
* // },
|
|
154
157
|
* // };
|
|
155
158
|
*
|
|
@@ -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",
|
|
58
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
62
62
|
* // value: "STRING_VALUE",
|
|
63
63
|
* // },
|
|
64
64
|
* // ],
|
|
@@ -93,6 +93,9 @@ declare const UpdateClusterConfigCommand_base: {
|
|
|
93
93
|
* accessConfig: { // UpdateAccessConfigRequest
|
|
94
94
|
* authenticationMode: "API" || "API_AND_CONFIG_MAP" || "CONFIG_MAP",
|
|
95
95
|
* },
|
|
96
|
+
* upgradePolicy: { // UpgradePolicyRequest
|
|
97
|
+
* supportType: "STANDARD" || "EXTENDED",
|
|
98
|
+
* },
|
|
96
99
|
* };
|
|
97
100
|
* const command = new UpdateClusterConfigCommand(input);
|
|
98
101
|
* const response = await client.send(command);
|
|
@@ -100,10 +103,10 @@ declare const UpdateClusterConfigCommand_base: {
|
|
|
100
103
|
* // update: { // Update
|
|
101
104
|
* // id: "STRING_VALUE",
|
|
102
105
|
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
103
|
-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate",
|
|
106
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
104
107
|
* // params: [ // UpdateParams
|
|
105
108
|
* // { // UpdateParam
|
|
106
|
-
* // 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",
|
|
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",
|
|
107
110
|
* // value: "STRING_VALUE",
|
|
108
111
|
* // },
|
|
109
112
|
* // ],
|
|
@@ -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",
|
|
57
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
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",
|
|
84
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
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",
|
|
75
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate",
|
|
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",
|
|
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",
|
|
79
79
|
* // value: "STRING_VALUE",
|
|
80
80
|
* // },
|
|
81
81
|
* // ],
|
|
@@ -882,6 +882,7 @@ export declare const UpdateParamType: {
|
|
|
882
882
|
readonly SUBNETS: "Subnets";
|
|
883
883
|
readonly TAINTS_TO_ADD: "TaintsToAdd";
|
|
884
884
|
readonly TAINTS_TO_REMOVE: "TaintsToRemove";
|
|
885
|
+
readonly UPGRADE_POLICY: "UpgradePolicy";
|
|
885
886
|
readonly VERSION: "Version";
|
|
886
887
|
};
|
|
887
888
|
/**
|
|
@@ -931,6 +932,7 @@ export declare const UpdateType: {
|
|
|
931
932
|
readonly DISASSOCIATE_IDENTITY_PROVIDER_CONFIG: "DisassociateIdentityProviderConfig";
|
|
932
933
|
readonly ENDPOINT_ACCESS_UPDATE: "EndpointAccessUpdate";
|
|
933
934
|
readonly LOGGING_UPDATE: "LoggingUpdate";
|
|
935
|
+
readonly UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate";
|
|
934
936
|
readonly VERSION_UPDATE: "VersionUpdate";
|
|
935
937
|
readonly VPC_CONFIG_UPDATE: "VpcConfigUpdate";
|
|
936
938
|
};
|
|
@@ -1663,6 +1665,35 @@ export interface VpcConfigRequest {
|
|
|
1663
1665
|
*/
|
|
1664
1666
|
publicAccessCidrs?: string[];
|
|
1665
1667
|
}
|
|
1668
|
+
/**
|
|
1669
|
+
* @public
|
|
1670
|
+
* @enum
|
|
1671
|
+
*/
|
|
1672
|
+
export declare const SupportType: {
|
|
1673
|
+
readonly EXTENDED: "EXTENDED";
|
|
1674
|
+
readonly STANDARD: "STANDARD";
|
|
1675
|
+
};
|
|
1676
|
+
/**
|
|
1677
|
+
* @public
|
|
1678
|
+
*/
|
|
1679
|
+
export type SupportType = (typeof SupportType)[keyof typeof SupportType];
|
|
1680
|
+
/**
|
|
1681
|
+
* <p>The support policy to use for the cluster. Extended support allows you to remain on specific Kubernetes versions for longer. Clusters in extended support have higher costs. The default value is <code>EXTENDED</code>. Use <code>STANDARD</code> to disable extended support.</p>
|
|
1682
|
+
* <p>
|
|
1683
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html">Learn more about EKS Extended Support in the EKS User Guide.</a>
|
|
1684
|
+
* </p>
|
|
1685
|
+
* @public
|
|
1686
|
+
*/
|
|
1687
|
+
export interface UpgradePolicyRequest {
|
|
1688
|
+
/**
|
|
1689
|
+
* <p>If the cluster is set to <code>EXTENDED</code>, it will enter extended support at the end of standard support. If the cluster is set to <code>STANDARD</code>, it will be automatically upgraded at the end of standard support.</p>
|
|
1690
|
+
* <p>
|
|
1691
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html">Learn more about EKS Extended Support in the EKS User Guide.</a>
|
|
1692
|
+
* </p>
|
|
1693
|
+
* @public
|
|
1694
|
+
*/
|
|
1695
|
+
supportType?: SupportType;
|
|
1696
|
+
}
|
|
1666
1697
|
/**
|
|
1667
1698
|
* @public
|
|
1668
1699
|
*/
|
|
@@ -1759,6 +1790,11 @@ export interface CreateClusterRequest {
|
|
|
1759
1790
|
* @public
|
|
1760
1791
|
*/
|
|
1761
1792
|
bootstrapSelfManagedAddons?: boolean;
|
|
1793
|
+
/**
|
|
1794
|
+
* <p>New clusters, by default, have extended support enabled. You can disable extended support when creating a cluster by setting this value to <code>STANDARD</code>.</p>
|
|
1795
|
+
* @public
|
|
1796
|
+
*/
|
|
1797
|
+
upgradePolicy?: UpgradePolicyRequest;
|
|
1762
1798
|
}
|
|
1763
1799
|
/**
|
|
1764
1800
|
* <p>An object representing the <code>certificate-authority-data</code> for your
|
|
@@ -2040,6 +2076,23 @@ export declare const ClusterStatus: {
|
|
|
2040
2076
|
* @public
|
|
2041
2077
|
*/
|
|
2042
2078
|
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
2079
|
+
/**
|
|
2080
|
+
* <p>This value indicates if extended support is enabled or disabled for the cluster.</p>
|
|
2081
|
+
* <p>
|
|
2082
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html">Learn more about EKS Extended Support in the EKS User Guide.</a>
|
|
2083
|
+
* </p>
|
|
2084
|
+
* @public
|
|
2085
|
+
*/
|
|
2086
|
+
export interface UpgradePolicyResponse {
|
|
2087
|
+
/**
|
|
2088
|
+
* <p>If the cluster is set to <code>EXTENDED</code>, it will enter extended support at the end of standard support. If the cluster is set to <code>STANDARD</code>, it will be automatically upgraded at the end of standard support.</p>
|
|
2089
|
+
* <p>
|
|
2090
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html">Learn more about EKS Extended Support in the EKS User Guide.</a>
|
|
2091
|
+
* </p>
|
|
2092
|
+
* @public
|
|
2093
|
+
*/
|
|
2094
|
+
supportType?: SupportType;
|
|
2095
|
+
}
|
|
2043
2096
|
/**
|
|
2044
2097
|
* <p>An object representing an Amazon EKS cluster.</p>
|
|
2045
2098
|
* @public
|
|
@@ -2169,6 +2222,14 @@ export interface Cluster {
|
|
|
2169
2222
|
* @public
|
|
2170
2223
|
*/
|
|
2171
2224
|
accessConfig?: AccessConfigResponse;
|
|
2225
|
+
/**
|
|
2226
|
+
* <p>This value indicates if extended support is enabled or disabled for the cluster.</p>
|
|
2227
|
+
* <p>
|
|
2228
|
+
* <a href="https://docs.aws.amazon.com/eks/latest/userguide/extended-support-control.html">Learn more about EKS Extended Support in the EKS User Guide.</a>
|
|
2229
|
+
* </p>
|
|
2230
|
+
* @public
|
|
2231
|
+
*/
|
|
2232
|
+
upgradePolicy?: UpgradePolicyResponse;
|
|
2172
2233
|
}
|
|
2173
2234
|
/**
|
|
2174
2235
|
* @public
|
|
@@ -5677,6 +5738,11 @@ export interface UpdateClusterConfigRequest {
|
|
|
5677
5738
|
* @public
|
|
5678
5739
|
*/
|
|
5679
5740
|
accessConfig?: UpdateAccessConfigRequest;
|
|
5741
|
+
/**
|
|
5742
|
+
* <p>You can enable or disable extended support for clusters currently on standard support. You cannot disable extended support once it starts. You must enable extended support before your cluster exits standard support.</p>
|
|
5743
|
+
* @public
|
|
5744
|
+
*/
|
|
5745
|
+
upgradePolicy?: UpgradePolicyRequest;
|
|
5680
5746
|
}
|
|
5681
5747
|
/**
|
|
5682
5748
|
* @public
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -32,8 +32,8 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
32
32
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
33
|
}) => import("@smithy/types").EndpointV2;
|
|
34
34
|
tls?: boolean | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
35
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSHttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -31,8 +31,8 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
31
31
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
32
|
}) => import("@smithy/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
34
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
37
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSHttpAuthSchemeProvider;
|
|
38
38
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -421,9 +421,9 @@ export type EKSClientConfigType = Partial<
|
|
|
421
421
|
ClientDefaults &
|
|
422
422
|
RegionInputConfig &
|
|
423
423
|
EndpointInputConfig<EndpointParameters> &
|
|
424
|
-
RetryInputConfig &
|
|
425
424
|
HostHeaderInputConfig &
|
|
426
425
|
UserAgentInputConfig &
|
|
426
|
+
RetryInputConfig &
|
|
427
427
|
HttpAuthSchemeInputConfig &
|
|
428
428
|
ClientInputEndpointParameters;
|
|
429
429
|
export interface EKSClientConfig extends EKSClientConfigType {}
|
|
@@ -433,9 +433,9 @@ export type EKSClientResolvedConfigType =
|
|
|
433
433
|
RuntimeExtensionsConfig &
|
|
434
434
|
RegionResolvedConfig &
|
|
435
435
|
EndpointResolvedConfig<EndpointParameters> &
|
|
436
|
-
RetryResolvedConfig &
|
|
437
436
|
HostHeaderResolvedConfig &
|
|
438
437
|
UserAgentResolvedConfig &
|
|
438
|
+
RetryResolvedConfig &
|
|
439
439
|
HttpAuthSchemeResolvedConfig &
|
|
440
440
|
ClientResolvedEndpointParameters;
|
|
441
441
|
export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {}
|
|
@@ -268,6 +268,7 @@ export declare const UpdateParamType: {
|
|
|
268
268
|
readonly SUBNETS: "Subnets";
|
|
269
269
|
readonly TAINTS_TO_ADD: "TaintsToAdd";
|
|
270
270
|
readonly TAINTS_TO_REMOVE: "TaintsToRemove";
|
|
271
|
+
readonly UPGRADE_POLICY: "UpgradePolicy";
|
|
271
272
|
readonly VERSION: "Version";
|
|
272
273
|
};
|
|
273
274
|
export type UpdateParamType =
|
|
@@ -292,6 +293,7 @@ export declare const UpdateType: {
|
|
|
292
293
|
readonly DISASSOCIATE_IDENTITY_PROVIDER_CONFIG: "DisassociateIdentityProviderConfig";
|
|
293
294
|
readonly ENDPOINT_ACCESS_UPDATE: "EndpointAccessUpdate";
|
|
294
295
|
readonly LOGGING_UPDATE: "LoggingUpdate";
|
|
296
|
+
readonly UPGRADE_POLICY_UPDATE: "UpgradePolicyUpdate";
|
|
295
297
|
readonly VERSION_UPDATE: "VersionUpdate";
|
|
296
298
|
readonly VPC_CONFIG_UPDATE: "VpcConfigUpdate";
|
|
297
299
|
};
|
|
@@ -435,6 +437,14 @@ export interface VpcConfigRequest {
|
|
|
435
437
|
endpointPrivateAccess?: boolean;
|
|
436
438
|
publicAccessCidrs?: string[];
|
|
437
439
|
}
|
|
440
|
+
export declare const SupportType: {
|
|
441
|
+
readonly EXTENDED: "EXTENDED";
|
|
442
|
+
readonly STANDARD: "STANDARD";
|
|
443
|
+
};
|
|
444
|
+
export type SupportType = (typeof SupportType)[keyof typeof SupportType];
|
|
445
|
+
export interface UpgradePolicyRequest {
|
|
446
|
+
supportType?: SupportType;
|
|
447
|
+
}
|
|
438
448
|
export interface CreateClusterRequest {
|
|
439
449
|
name: string | undefined;
|
|
440
450
|
version?: string;
|
|
@@ -448,6 +458,7 @@ export interface CreateClusterRequest {
|
|
|
448
458
|
outpostConfig?: OutpostConfigRequest;
|
|
449
459
|
accessConfig?: CreateAccessConfigRequest;
|
|
450
460
|
bootstrapSelfManagedAddons?: boolean;
|
|
461
|
+
upgradePolicy?: UpgradePolicyRequest;
|
|
451
462
|
}
|
|
452
463
|
export interface Certificate {
|
|
453
464
|
data?: string;
|
|
@@ -527,6 +538,9 @@ export declare const ClusterStatus: {
|
|
|
527
538
|
readonly UPDATING: "UPDATING";
|
|
528
539
|
};
|
|
529
540
|
export type ClusterStatus = (typeof ClusterStatus)[keyof typeof ClusterStatus];
|
|
541
|
+
export interface UpgradePolicyResponse {
|
|
542
|
+
supportType?: SupportType;
|
|
543
|
+
}
|
|
530
544
|
export interface Cluster {
|
|
531
545
|
name?: string;
|
|
532
546
|
arn?: string;
|
|
@@ -549,6 +563,7 @@ export interface Cluster {
|
|
|
549
563
|
health?: ClusterHealth;
|
|
550
564
|
outpostConfig?: OutpostConfigResponse;
|
|
551
565
|
accessConfig?: AccessConfigResponse;
|
|
566
|
+
upgradePolicy?: UpgradePolicyResponse;
|
|
552
567
|
}
|
|
553
568
|
export interface CreateClusterResponse {
|
|
554
569
|
cluster?: Cluster;
|
|
@@ -1315,6 +1330,7 @@ export interface UpdateClusterConfigRequest {
|
|
|
1315
1330
|
logging?: Logging;
|
|
1316
1331
|
clientRequestToken?: string;
|
|
1317
1332
|
accessConfig?: UpdateAccessConfigRequest;
|
|
1333
|
+
upgradePolicy?: UpgradePolicyRequest;
|
|
1318
1334
|
}
|
|
1319
1335
|
export interface UpdateClusterConfigResponse {
|
|
1320
1336
|
update?: Update;
|
|
@@ -56,11 +56,11 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
56
56
|
}
|
|
57
57
|
) => import("@smithy/types").EndpointV2;
|
|
58
58
|
tls?: boolean | undefined;
|
|
59
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
59
60
|
retryStrategy?:
|
|
60
61
|
| import("@smithy/types").RetryStrategy
|
|
61
62
|
| import("@smithy/types").RetryStrategyV2
|
|
62
63
|
| undefined;
|
|
63
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
64
64
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
65
65
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSHttpAuthSchemeProvider;
|
|
66
66
|
credentials?:
|
|
@@ -60,11 +60,11 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
60
60
|
}
|
|
61
61
|
) => import("@smithy/types").EndpointV2;
|
|
62
62
|
tls?: boolean | undefined;
|
|
63
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
63
64
|
retryStrategy?:
|
|
64
65
|
| import("@smithy/types").RetryStrategy
|
|
65
66
|
| import("@smithy/types").RetryStrategyV2
|
|
66
67
|
| undefined;
|
|
67
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
68
68
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
69
69
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSHttpAuthSchemeProvider;
|
|
70
70
|
credentials?:
|
|
@@ -50,11 +50,11 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
50
50
|
}
|
|
51
51
|
) => import("@smithy/types").EndpointV2;
|
|
52
52
|
tls?: boolean | undefined;
|
|
53
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
53
54
|
retryStrategy?:
|
|
54
55
|
| import("@smithy/types").RetryStrategy
|
|
55
56
|
| import("@smithy/types").RetryStrategyV2
|
|
56
57
|
| undefined;
|
|
57
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
58
58
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
59
59
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").EKSHttpAuthSchemeProvider;
|
|
60
60
|
credentials?:
|
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.
|
|
4
|
+
"version": "3.620.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,40 +20,40 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.620.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.620.0",
|
|
25
|
+
"@aws-sdk/core": "3.620.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.620.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.620.0",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
32
32
|
"@aws-sdk/types": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-endpoints": "3.614.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
35
35
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.5",
|
|
37
|
-
"@smithy/core": "^2.
|
|
38
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
37
|
+
"@smithy/core": "^2.3.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^3.2.3",
|
|
39
39
|
"@smithy/hash-node": "^3.0.3",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.5",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.1.0",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.12",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.3",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.3",
|
|
46
46
|
"@smithy/node-config-provider": "^3.1.4",
|
|
47
|
-
"@smithy/node-http-handler": "^3.1.
|
|
48
|
-
"@smithy/protocol-http": "^4.0
|
|
49
|
-
"@smithy/smithy-client": "^3.1.
|
|
47
|
+
"@smithy/node-http-handler": "^3.1.4",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.0",
|
|
49
|
+
"@smithy/smithy-client": "^3.1.10",
|
|
50
50
|
"@smithy/types": "^3.3.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.3",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.12",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.12",
|
|
57
57
|
"@smithy/util-endpoints": "^2.0.5",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.3",
|
|
59
59
|
"@smithy/util-retry": "^3.0.3",
|