@aws-sdk/client-eks 3.717.0 → 3.721.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/README.md CHANGED
@@ -394,6 +394,14 @@ DescribeCluster
394
394
 
395
395
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DescribeClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeClusterCommandOutput/)
396
396
 
397
+ </details>
398
+ <details>
399
+ <summary>
400
+ DescribeClusterVersions
401
+ </summary>
402
+
403
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DescribeClusterVersionsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeClusterVersionsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeClusterVersionsCommandOutput/)
404
+
397
405
  </details>
398
406
  <details>
399
407
  <summary>
package/dist-cjs/index.js CHANGED
@@ -36,6 +36,7 @@ __export(src_exports, {
36
36
  ClientException: () => ClientException,
37
37
  ClusterIssueCode: () => ClusterIssueCode,
38
38
  ClusterStatus: () => ClusterStatus,
39
+ ClusterVersionStatus: () => ClusterVersionStatus,
39
40
  ConfigStatus: () => ConfigStatus,
40
41
  ConnectorConfigProvider: () => ConnectorConfigProvider,
41
42
  CreateAccessEntryCommand: () => CreateAccessEntryCommand,
@@ -58,6 +59,7 @@ __export(src_exports, {
58
59
  DescribeAddonConfigurationCommand: () => DescribeAddonConfigurationCommand,
59
60
  DescribeAddonVersionsCommand: () => DescribeAddonVersionsCommand,
60
61
  DescribeClusterCommand: () => DescribeClusterCommand,
62
+ DescribeClusterVersionsCommand: () => DescribeClusterVersionsCommand,
61
63
  DescribeEksAnywhereSubscriptionCommand: () => DescribeEksAnywhereSubscriptionCommand,
62
64
  DescribeFargateProfileCommand: () => DescribeFargateProfileCommand,
63
65
  DescribeIdentityProviderConfigCommand: () => DescribeIdentityProviderConfigCommand,
@@ -123,6 +125,7 @@ __export(src_exports, {
123
125
  UpdateType: () => UpdateType,
124
126
  __Client: () => import_smithy_client.Client,
125
127
  paginateDescribeAddonVersions: () => paginateDescribeAddonVersions,
128
+ paginateDescribeClusterVersions: () => paginateDescribeClusterVersions,
126
129
  paginateListAccessEntries: () => paginateListAccessEntries,
127
130
  paginateListAccessPolicies: () => paginateListAccessPolicies,
128
131
  paginateListAddons: () => paginateListAddons,
@@ -771,6 +774,11 @@ var NodegroupStatus = {
771
774
  DELETING: "DELETING",
772
775
  UPDATING: "UPDATING"
773
776
  };
777
+ var ClusterVersionStatus = {
778
+ extended_support: "extended-support",
779
+ standard_support: "standard-support",
780
+ unsupported: "unsupported"
781
+ };
774
782
  var ConfigStatus = {
775
783
  ACTIVE: "ACTIVE",
776
784
  CREATING: "CREATING",
@@ -1218,6 +1226,23 @@ var se_DescribeClusterCommand = /* @__PURE__ */ __name(async (input, context) =>
1218
1226
  b.m("GET").h(headers).b(body);
1219
1227
  return b.build();
1220
1228
  }, "se_DescribeClusterCommand");
1229
+ var se_DescribeClusterVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1230
+ const b = (0, import_core.requestBuilder)(input, context);
1231
+ const headers = {};
1232
+ b.bp("/cluster-versions");
1233
+ const query = (0, import_smithy_client.map)({
1234
+ [_cT]: [, input[_cT]],
1235
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1236
+ [_nT]: [, input[_nT]],
1237
+ [_dO]: [() => input.defaultOnly !== void 0, () => input[_dO].toString()],
1238
+ [_iA]: [() => input.includeAll !== void 0, () => input[_iA].toString()],
1239
+ [_cV]: [() => input.clusterVersions !== void 0, () => input[_cV] || []],
1240
+ [_s]: [, input[_s]]
1241
+ });
1242
+ let body;
1243
+ b.m("GET").h(headers).q(query).b(body);
1244
+ return b.build();
1245
+ }, "se_DescribeClusterVersionsCommand");
1221
1246
  var se_DescribeEksAnywhereSubscriptionCommand = /* @__PURE__ */ __name(async (input, context) => {
1222
1247
  const b = (0, import_core.requestBuilder)(input, context);
1223
1248
  const headers = {};
@@ -2031,6 +2056,21 @@ var de_DescribeClusterCommand = /* @__PURE__ */ __name(async (output, context) =
2031
2056
  Object.assign(contents, doc);
2032
2057
  return contents;
2033
2058
  }, "de_DescribeClusterCommand");
2059
+ var de_DescribeClusterVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
2060
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2061
+ return de_CommandError(output, context);
2062
+ }
2063
+ const contents = (0, import_smithy_client.map)({
2064
+ $metadata: deserializeMetadata(output)
2065
+ });
2066
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2067
+ const doc = (0, import_smithy_client.take)(data, {
2068
+ clusterVersions: (_) => de_ClusterVersionList(_, context),
2069
+ nextToken: import_smithy_client.expectString
2070
+ });
2071
+ Object.assign(contents, doc);
2072
+ return contents;
2073
+ }, "de_DescribeClusterVersionsCommand");
2034
2074
  var de_DescribeEksAnywhereSubscriptionCommand = /* @__PURE__ */ __name(async (output, context) => {
2035
2075
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2036
2076
  return de_CommandError(output, context);
@@ -2840,6 +2880,25 @@ var de_Cluster = /* @__PURE__ */ __name((output, context) => {
2840
2880
  zonalShiftConfig: import_smithy_client._json
2841
2881
  });
2842
2882
  }, "de_Cluster");
2883
+ var de_ClusterVersionInformation = /* @__PURE__ */ __name((output, context) => {
2884
+ return (0, import_smithy_client.take)(output, {
2885
+ clusterType: import_smithy_client.expectString,
2886
+ clusterVersion: import_smithy_client.expectString,
2887
+ defaultPlatformVersion: import_smithy_client.expectString,
2888
+ defaultVersion: import_smithy_client.expectBoolean,
2889
+ endOfExtendedSupportDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2890
+ endOfStandardSupportDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2891
+ kubernetesPatchVersion: import_smithy_client.expectString,
2892
+ releaseDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
2893
+ status: import_smithy_client.expectString
2894
+ });
2895
+ }, "de_ClusterVersionInformation");
2896
+ var de_ClusterVersionList = /* @__PURE__ */ __name((output, context) => {
2897
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
2898
+ return de_ClusterVersionInformation(entry, context);
2899
+ });
2900
+ return retVal;
2901
+ }, "de_ClusterVersionList");
2843
2902
  var de_ConnectorConfigResponse = /* @__PURE__ */ __name((output, context) => {
2844
2903
  return (0, import_smithy_client.take)(output, {
2845
2904
  activationCode: import_smithy_client.expectString,
@@ -3001,7 +3060,11 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
3001
3060
  var _aN = "addonName";
3002
3061
  var _aPA = "associatedPolicyArn";
3003
3062
  var _aV = "addonVersion";
3063
+ var _cT = "clusterType";
3064
+ var _cV = "clusterVersions";
3065
+ var _dO = "defaultOnly";
3004
3066
  var _i = "include";
3067
+ var _iA = "includeAll";
3005
3068
  var _iS = "includeStatus";
3006
3069
  var _kV = "kubernetesVersion";
3007
3070
  var _mR = "maxResults";
@@ -3011,6 +3074,7 @@ var _nT = "nextToken";
3011
3074
  var _o = "owners";
3012
3075
  var _p = "preserve";
3013
3076
  var _pu = "publishers";
3077
+ var _s = "status";
3014
3078
  var _sA = "serviceAccount";
3015
3079
  var _t = "types";
3016
3080
  var _tK = "tagKeys";
@@ -3334,6 +3398,20 @@ var _DescribeClusterCommand = class _DescribeClusterCommand extends import_smith
3334
3398
  __name(_DescribeClusterCommand, "DescribeClusterCommand");
3335
3399
  var DescribeClusterCommand = _DescribeClusterCommand;
3336
3400
 
3401
+ // src/commands/DescribeClusterVersionsCommand.ts
3402
+
3403
+
3404
+
3405
+ var _DescribeClusterVersionsCommand = class _DescribeClusterVersionsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
3406
+ return [
3407
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3408
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3409
+ ];
3410
+ }).s("AWSWesleyFrontend", "DescribeClusterVersions", {}).n("EKSClient", "DescribeClusterVersionsCommand").f(void 0, void 0).ser(se_DescribeClusterVersionsCommand).de(de_DescribeClusterVersionsCommand).build() {
3411
+ };
3412
+ __name(_DescribeClusterVersionsCommand, "DescribeClusterVersionsCommand");
3413
+ var DescribeClusterVersionsCommand = _DescribeClusterVersionsCommand;
3414
+
3337
3415
  // src/commands/DescribeEksAnywhereSubscriptionCommand.ts
3338
3416
 
3339
3417
 
@@ -3821,6 +3899,7 @@ var commands = {
3821
3899
  DescribeAddonConfigurationCommand,
3822
3900
  DescribeAddonVersionsCommand,
3823
3901
  DescribeClusterCommand,
3902
+ DescribeClusterVersionsCommand,
3824
3903
  DescribeEksAnywhereSubscriptionCommand,
3825
3904
  DescribeFargateProfileCommand,
3826
3905
  DescribeIdentityProviderConfigCommand,
@@ -3865,6 +3944,10 @@ var EKS = _EKS;
3865
3944
 
3866
3945
  var paginateDescribeAddonVersions = (0, import_core.createPaginator)(EKSClient, DescribeAddonVersionsCommand, "nextToken", "nextToken", "maxResults");
3867
3946
 
3947
+ // src/pagination/DescribeClusterVersionsPaginator.ts
3948
+
3949
+ var paginateDescribeClusterVersions = (0, import_core.createPaginator)(EKSClient, DescribeClusterVersionsCommand, "nextToken", "nextToken", "maxResults");
3950
+
3868
3951
  // src/pagination/ListAccessEntriesPaginator.ts
3869
3952
 
3870
3953
  var paginateListAccessEntries = (0, import_core.createPaginator)(EKSClient, ListAccessEntriesCommand, "nextToken", "nextToken", "maxResults");
@@ -4275,6 +4358,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4275
4358
  DescribeAddonConfigurationCommand,
4276
4359
  DescribeAddonVersionsCommand,
4277
4360
  DescribeClusterCommand,
4361
+ DescribeClusterVersionsCommand,
4278
4362
  DescribeEksAnywhereSubscriptionCommand,
4279
4363
  DescribeFargateProfileCommand,
4280
4364
  DescribeIdentityProviderConfigCommand,
@@ -4309,6 +4393,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4309
4393
  UpdateNodegroupVersionCommand,
4310
4394
  UpdatePodIdentityAssociationCommand,
4311
4395
  paginateDescribeAddonVersions,
4396
+ paginateDescribeClusterVersions,
4312
4397
  paginateListAccessEntries,
4313
4398
  paginateListAccessPolicies,
4314
4399
  paginateListAddons,
@@ -4370,6 +4455,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4370
4455
  TaintEffect,
4371
4456
  NodegroupIssueCode,
4372
4457
  NodegroupStatus,
4458
+ ClusterVersionStatus,
4373
4459
  ConfigStatus,
4374
4460
  Category,
4375
4461
  InsightStatusValue,
package/dist-es/EKS.js CHANGED
@@ -22,6 +22,7 @@ import { DescribeAddonCommand, } from "./commands/DescribeAddonCommand";
22
22
  import { DescribeAddonConfigurationCommand, } from "./commands/DescribeAddonConfigurationCommand";
23
23
  import { DescribeAddonVersionsCommand, } from "./commands/DescribeAddonVersionsCommand";
24
24
  import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
25
+ import { DescribeClusterVersionsCommand, } from "./commands/DescribeClusterVersionsCommand";
25
26
  import { DescribeEksAnywhereSubscriptionCommand, } from "./commands/DescribeEksAnywhereSubscriptionCommand";
26
27
  import { DescribeFargateProfileCommand, } from "./commands/DescribeFargateProfileCommand";
27
28
  import { DescribeIdentityProviderConfigCommand, } from "./commands/DescribeIdentityProviderConfigCommand";
@@ -80,6 +81,7 @@ const commands = {
80
81
  DescribeAddonConfigurationCommand,
81
82
  DescribeAddonVersionsCommand,
82
83
  DescribeClusterCommand,
84
+ DescribeClusterVersionsCommand,
83
85
  DescribeEksAnywhereSubscriptionCommand,
84
86
  DescribeFargateProfileCommand,
85
87
  DescribeIdentityProviderConfigCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeClusterVersionsCommand, se_DescribeClusterVersionsCommand } from "../protocols/Aws_restJson1";
6
+ export { $Command };
7
+ export class DescribeClusterVersionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AWSWesleyFrontend", "DescribeClusterVersions", {})
17
+ .n("EKSClient", "DescribeClusterVersionsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeClusterVersionsCommand)
20
+ .de(de_DescribeClusterVersionsCommand)
21
+ .build() {
22
+ }
@@ -21,6 +21,7 @@ export * from "./DescribeAddonCommand";
21
21
  export * from "./DescribeAddonConfigurationCommand";
22
22
  export * from "./DescribeAddonVersionsCommand";
23
23
  export * from "./DescribeClusterCommand";
24
+ export * from "./DescribeClusterVersionsCommand";
24
25
  export * from "./DescribeEksAnywhereSubscriptionCommand";
25
26
  export * from "./DescribeFargateProfileCommand";
26
27
  export * from "./DescribeIdentityProviderConfigCommand";
@@ -400,6 +400,11 @@ export const NodegroupStatus = {
400
400
  DELETING: "DELETING",
401
401
  UPDATING: "UPDATING",
402
402
  };
403
+ export const ClusterVersionStatus = {
404
+ extended_support: "extended-support",
405
+ standard_support: "standard-support",
406
+ unsupported: "unsupported",
407
+ };
403
408
  export const ConfigStatus = {
404
409
  ACTIVE: "ACTIVE",
405
410
  CREATING: "CREATING",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { DescribeClusterVersionsCommand, } from "../commands/DescribeClusterVersionsCommand";
3
+ import { EKSClient } from "../EKSClient";
4
+ export const paginateDescribeClusterVersions = createPaginator(EKSClient, DescribeClusterVersionsCommand, "nextToken", "nextToken", "maxResults");
@@ -1,4 +1,5 @@
1
1
  export * from "./DescribeAddonVersionsPaginator";
2
+ export * from "./DescribeClusterVersionsPaginator";
2
3
  export * from "./Interfaces";
3
4
  export * from "./ListAccessEntriesPaginator";
4
5
  export * from "./ListAccessPoliciesPaginator";
@@ -345,6 +345,23 @@ export const se_DescribeClusterCommand = async (input, context) => {
345
345
  b.m("GET").h(headers).b(body);
346
346
  return b.build();
347
347
  };
348
+ export const se_DescribeClusterVersionsCommand = async (input, context) => {
349
+ const b = rb(input, context);
350
+ const headers = {};
351
+ b.bp("/cluster-versions");
352
+ const query = map({
353
+ [_cT]: [, input[_cT]],
354
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
355
+ [_nT]: [, input[_nT]],
356
+ [_dO]: [() => input.defaultOnly !== void 0, () => input[_dO].toString()],
357
+ [_iA]: [() => input.includeAll !== void 0, () => input[_iA].toString()],
358
+ [_cV]: [() => input.clusterVersions !== void 0, () => input[_cV] || []],
359
+ [_s]: [, input[_s]],
360
+ });
361
+ let body;
362
+ b.m("GET").h(headers).q(query).b(body);
363
+ return b.build();
364
+ };
348
365
  export const se_DescribeEksAnywhereSubscriptionCommand = async (input, context) => {
349
366
  const b = rb(input, context);
350
367
  const headers = {};
@@ -1132,6 +1149,21 @@ export const de_DescribeClusterCommand = async (output, context) => {
1132
1149
  Object.assign(contents, doc);
1133
1150
  return contents;
1134
1151
  };
1152
+ export const de_DescribeClusterVersionsCommand = async (output, context) => {
1153
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1154
+ return de_CommandError(output, context);
1155
+ }
1156
+ const contents = map({
1157
+ $metadata: deserializeMetadata(output),
1158
+ });
1159
+ const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
1160
+ const doc = take(data, {
1161
+ clusterVersions: (_) => de_ClusterVersionList(_, context),
1162
+ nextToken: __expectString,
1163
+ });
1164
+ Object.assign(contents, doc);
1165
+ return contents;
1166
+ };
1135
1167
  export const de_DescribeEksAnywhereSubscriptionCommand = async (output, context) => {
1136
1168
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1137
1169
  return de_CommandError(output, context);
@@ -1945,6 +1977,27 @@ const de_Cluster = (output, context) => {
1945
1977
  zonalShiftConfig: _json,
1946
1978
  });
1947
1979
  };
1980
+ const de_ClusterVersionInformation = (output, context) => {
1981
+ return take(output, {
1982
+ clusterType: __expectString,
1983
+ clusterVersion: __expectString,
1984
+ defaultPlatformVersion: __expectString,
1985
+ defaultVersion: __expectBoolean,
1986
+ endOfExtendedSupportDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1987
+ endOfStandardSupportDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1988
+ kubernetesPatchVersion: __expectString,
1989
+ releaseDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1990
+ status: __expectString,
1991
+ });
1992
+ };
1993
+ const de_ClusterVersionList = (output, context) => {
1994
+ const retVal = (output || [])
1995
+ .filter((e) => e != null)
1996
+ .map((entry) => {
1997
+ return de_ClusterVersionInformation(entry, context);
1998
+ });
1999
+ return retVal;
2000
+ };
1948
2001
  const de_ConnectorConfigResponse = (output, context) => {
1949
2002
  return take(output, {
1950
2003
  activationCode: __expectString,
@@ -2113,7 +2166,11 @@ const collectBodyString = (streamBody, context) => collectBody(streamBody, conte
2113
2166
  const _aN = "addonName";
2114
2167
  const _aPA = "associatedPolicyArn";
2115
2168
  const _aV = "addonVersion";
2169
+ const _cT = "clusterType";
2170
+ const _cV = "clusterVersions";
2171
+ const _dO = "defaultOnly";
2116
2172
  const _i = "include";
2173
+ const _iA = "includeAll";
2117
2174
  const _iS = "includeStatus";
2118
2175
  const _kV = "kubernetesVersion";
2119
2176
  const _mR = "maxResults";
@@ -2123,6 +2180,7 @@ const _nT = "nextToken";
2123
2180
  const _o = "owners";
2124
2181
  const _p = "preserve";
2125
2182
  const _pu = "publishers";
2183
+ const _s = "status";
2126
2184
  const _sA = "serviceAccount";
2127
2185
  const _t = "types";
2128
2186
  const _tK = "tagKeys";
@@ -22,6 +22,7 @@ import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./command
22
22
  import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
23
23
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
24
24
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
25
+ import { DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput } from "./commands/DescribeClusterVersionsCommand";
25
26
  import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
26
27
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
27
28
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
@@ -196,6 +197,13 @@ export interface EKS {
196
197
  describeCluster(args: DescribeClusterCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterCommandOutput>;
197
198
  describeCluster(args: DescribeClusterCommandInput, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
198
199
  describeCluster(args: DescribeClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterCommandOutput) => void): void;
200
+ /**
201
+ * @see {@link DescribeClusterVersionsCommand}
202
+ */
203
+ describeClusterVersions(): Promise<DescribeClusterVersionsCommandOutput>;
204
+ describeClusterVersions(args: DescribeClusterVersionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterVersionsCommandOutput>;
205
+ describeClusterVersions(args: DescribeClusterVersionsCommandInput, cb: (err: any, data?: DescribeClusterVersionsCommandOutput) => void): void;
206
+ describeClusterVersions(args: DescribeClusterVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterVersionsCommandOutput) => void): void;
199
207
  /**
200
208
  * @see {@link DescribeEksAnywhereSubscriptionCommand}
201
209
  */
@@ -30,6 +30,7 @@ import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./command
30
30
  import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
31
31
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
32
32
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
33
+ import { DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput } from "./commands/DescribeClusterVersionsCommand";
33
34
  import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
34
35
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "./commands/DescribeFargateProfileCommand";
35
36
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "./commands/DescribeIdentityProviderConfigCommand";
@@ -69,11 +70,11 @@ export { __Client };
69
70
  /**
70
71
  * @public
71
72
  */
72
- export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
73
+ export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeClusterVersionsCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
73
74
  /**
74
75
  * @public
75
76
  */
76
- export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
77
+ export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeClusterVersionsCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
77
78
  /**
78
79
  * @public
79
80
  */
@@ -0,0 +1,103 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
4
+ import { DescribeClusterVersionsRequest, DescribeClusterVersionsResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link DescribeClusterVersionsCommand}.
14
+ */
15
+ export interface DescribeClusterVersionsCommandInput extends DescribeClusterVersionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link DescribeClusterVersionsCommand}.
21
+ */
22
+ export interface DescribeClusterVersionsCommandOutput extends DescribeClusterVersionsResponse, __MetadataBearer {
23
+ }
24
+ declare const DescribeClusterVersionsCommand_base: {
25
+ new (input: DescribeClusterVersionsCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (...[input]: [] | [DescribeClusterVersionsCommandInput]): import("@smithy/smithy-client").CommandImpl<DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput, EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Lists available Kubernetes versions for Amazon EKS clusters.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EKSClient, DescribeClusterVersionsCommand } from "@aws-sdk/client-eks"; // ES Modules import
35
+ * // const { EKSClient, DescribeClusterVersionsCommand } = require("@aws-sdk/client-eks"); // CommonJS import
36
+ * const client = new EKSClient(config);
37
+ * const input = { // DescribeClusterVersionsRequest
38
+ * clusterType: "STRING_VALUE",
39
+ * maxResults: Number("int"),
40
+ * nextToken: "STRING_VALUE",
41
+ * defaultOnly: true || false,
42
+ * includeAll: true || false,
43
+ * clusterVersions: [ // StringList
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * status: "unsupported" || "standard-support" || "extended-support",
47
+ * };
48
+ * const command = new DescribeClusterVersionsCommand(input);
49
+ * const response = await client.send(command);
50
+ * // { // DescribeClusterVersionsResponse
51
+ * // nextToken: "STRING_VALUE",
52
+ * // clusterVersions: [ // ClusterVersionList
53
+ * // { // ClusterVersionInformation
54
+ * // clusterVersion: "STRING_VALUE",
55
+ * // clusterType: "STRING_VALUE",
56
+ * // defaultPlatformVersion: "STRING_VALUE",
57
+ * // defaultVersion: true || false,
58
+ * // releaseDate: new Date("TIMESTAMP"),
59
+ * // endOfStandardSupportDate: new Date("TIMESTAMP"),
60
+ * // endOfExtendedSupportDate: new Date("TIMESTAMP"),
61
+ * // status: "unsupported" || "standard-support" || "extended-support",
62
+ * // kubernetesPatchVersion: "STRING_VALUE",
63
+ * // },
64
+ * // ],
65
+ * // };
66
+ *
67
+ * ```
68
+ *
69
+ * @param DescribeClusterVersionsCommandInput - {@link DescribeClusterVersionsCommandInput}
70
+ * @returns {@link DescribeClusterVersionsCommandOutput}
71
+ * @see {@link DescribeClusterVersionsCommandInput} for command's `input` shape.
72
+ * @see {@link DescribeClusterVersionsCommandOutput} for command's `response` shape.
73
+ * @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
74
+ *
75
+ * @throws {@link InvalidParameterException} (client fault)
76
+ * <p>The specified parameter is invalid. Review the available parameters for the API
77
+ * request.</p>
78
+ *
79
+ * @throws {@link InvalidRequestException} (client fault)
80
+ * <p>The request is invalid given the state of the cluster. Check the state of the cluster
81
+ * and the associated operations.</p>
82
+ *
83
+ * @throws {@link ServerException} (server fault)
84
+ * <p>These errors are usually caused by a server-side issue.</p>
85
+ *
86
+ * @throws {@link EKSServiceException}
87
+ * <p>Base exception class for all service exceptions from EKS service.</p>
88
+ *
89
+ * @public
90
+ */
91
+ export declare class DescribeClusterVersionsCommand extends DescribeClusterVersionsCommand_base {
92
+ /** @internal type navigation helper, not in runtime. */
93
+ protected static __types: {
94
+ api: {
95
+ input: DescribeClusterVersionsRequest;
96
+ output: DescribeClusterVersionsResponse;
97
+ };
98
+ sdk: {
99
+ input: DescribeClusterVersionsCommandInput;
100
+ output: DescribeClusterVersionsCommandOutput;
101
+ };
102
+ };
103
+ }
@@ -21,6 +21,7 @@ export * from "./DescribeAddonCommand";
21
21
  export * from "./DescribeAddonConfigurationCommand";
22
22
  export * from "./DescribeAddonVersionsCommand";
23
23
  export * from "./DescribeClusterCommand";
24
+ export * from "./DescribeClusterVersionsCommand";
24
25
  export * from "./DescribeEksAnywhereSubscriptionCommand";
25
26
  export * from "./DescribeFargateProfileCommand";
26
27
  export * from "./DescribeIdentityProviderConfigCommand";
@@ -342,8 +342,7 @@ export interface Addon {
342
342
  podIdentityAssociations?: string[] | undefined;
343
343
  }
344
344
  /**
345
- * <p>The summary information about the Amazon EKS add-on compatibility for the next Kubernetes
346
- * version for an insight check in the <code>UPGRADE_READINESS</code> category.</p>
345
+ * <p>Contains compatibility information for an Amazon EKS add-on.</p>
347
346
  * @public
348
347
  */
349
348
  export interface AddonCompatibilityDetail {
@@ -353,7 +352,7 @@ export interface AddonCompatibilityDetail {
353
352
  */
354
353
  name?: string | undefined;
355
354
  /**
356
- * <p>The list of compatible Amazon EKS add-on versions for the next Kubernetes version.</p>
355
+ * <p>A list of compatible add-on versions.</p>
357
356
  * @public
358
357
  */
359
358
  compatibleVersions?: string[] | undefined;
@@ -4389,6 +4388,125 @@ export interface DescribeClusterResponse {
4389
4388
  */
4390
4389
  cluster?: Cluster | undefined;
4391
4390
  }
4391
+ /**
4392
+ * @public
4393
+ * @enum
4394
+ */
4395
+ export declare const ClusterVersionStatus: {
4396
+ readonly extended_support: "extended-support";
4397
+ readonly standard_support: "standard-support";
4398
+ readonly unsupported: "unsupported";
4399
+ };
4400
+ /**
4401
+ * @public
4402
+ */
4403
+ export type ClusterVersionStatus = (typeof ClusterVersionStatus)[keyof typeof ClusterVersionStatus];
4404
+ /**
4405
+ * @public
4406
+ */
4407
+ export interface DescribeClusterVersionsRequest {
4408
+ /**
4409
+ * <p>The type of cluster to filter versions by.</p>
4410
+ * @public
4411
+ */
4412
+ clusterType?: string | undefined;
4413
+ /**
4414
+ * <p>Maximum number of results to return.</p>
4415
+ * @public
4416
+ */
4417
+ maxResults?: number | undefined;
4418
+ /**
4419
+ * <p>Pagination token for the next set of results.</p>
4420
+ * @public
4421
+ */
4422
+ nextToken?: string | undefined;
4423
+ /**
4424
+ * <p>Filter to show only default versions.</p>
4425
+ * @public
4426
+ */
4427
+ defaultOnly?: boolean | undefined;
4428
+ /**
4429
+ * <p>Include all available versions in the response.</p>
4430
+ * @public
4431
+ */
4432
+ includeAll?: boolean | undefined;
4433
+ /**
4434
+ * <p>List of specific cluster versions to describe.</p>
4435
+ * @public
4436
+ */
4437
+ clusterVersions?: string[] | undefined;
4438
+ /**
4439
+ * <p>Filter versions by their current status.</p>
4440
+ * @public
4441
+ */
4442
+ status?: ClusterVersionStatus | undefined;
4443
+ }
4444
+ /**
4445
+ * <p>Contains details about a specific EKS cluster version.</p>
4446
+ * @public
4447
+ */
4448
+ export interface ClusterVersionInformation {
4449
+ /**
4450
+ * <p>The Kubernetes version for the cluster.</p>
4451
+ * @public
4452
+ */
4453
+ clusterVersion?: string | undefined;
4454
+ /**
4455
+ * <p>The type of cluster this version is for.</p>
4456
+ * @public
4457
+ */
4458
+ clusterType?: string | undefined;
4459
+ /**
4460
+ * <p>Default platform version for this Kubernetes version.</p>
4461
+ * @public
4462
+ */
4463
+ defaultPlatformVersion?: string | undefined;
4464
+ /**
4465
+ * <p>Indicates if this is a default version.</p>
4466
+ * @public
4467
+ */
4468
+ defaultVersion?: boolean | undefined;
4469
+ /**
4470
+ * <p>The release date of this cluster version.</p>
4471
+ * @public
4472
+ */
4473
+ releaseDate?: Date | undefined;
4474
+ /**
4475
+ * <p>Date when standard support ends for this version.</p>
4476
+ * @public
4477
+ */
4478
+ endOfStandardSupportDate?: Date | undefined;
4479
+ /**
4480
+ * <p>Date when extended support ends for this version.</p>
4481
+ * @public
4482
+ */
4483
+ endOfExtendedSupportDate?: Date | undefined;
4484
+ /**
4485
+ * <p>Current status of this cluster version.</p>
4486
+ * @public
4487
+ */
4488
+ status?: ClusterVersionStatus | undefined;
4489
+ /**
4490
+ * <p>The patch version of Kubernetes for this cluster version.</p>
4491
+ * @public
4492
+ */
4493
+ kubernetesPatchVersion?: string | undefined;
4494
+ }
4495
+ /**
4496
+ * @public
4497
+ */
4498
+ export interface DescribeClusterVersionsResponse {
4499
+ /**
4500
+ * <p>Pagination token for the next set of results.</p>
4501
+ * @public
4502
+ */
4503
+ nextToken?: string | undefined;
4504
+ /**
4505
+ * <p>List of cluster version information objects.</p>
4506
+ * @public
4507
+ */
4508
+ clusterVersions?: ClusterVersionInformation[] | undefined;
4509
+ }
4392
4510
  /**
4393
4511
  * @public
4394
4512
  */
@@ -4673,7 +4791,7 @@ export interface InsightCategorySpecificSummary {
4673
4791
  */
4674
4792
  deprecationDetails?: DeprecationDetail[] | undefined;
4675
4793
  /**
4676
- * <p>A list of <code>AddonCompatibilityDetail</code> objects for Amazon EKS add-ons.</p>
4794
+ * <p>A list of AddonCompatibilityDetail objects for Amazon EKS add-ons.</p>
4677
4795
  * @public
4678
4796
  */
4679
4797
  addonCompatibilityDetails?: AddonCompatibilityDetail[] | undefined;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput } from "../commands/DescribeClusterVersionsCommand";
3
+ import { EKSPaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeClusterVersions: (config: EKSPaginationConfiguration, input: DescribeClusterVersionsCommandInput, ...rest: any[]) => Paginator<DescribeClusterVersionsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./DescribeAddonVersionsPaginator";
2
+ export * from "./DescribeClusterVersionsPaginator";
2
3
  export * from "./Interfaces";
3
4
  export * from "./ListAccessEntriesPaginator";
4
5
  export * from "./ListAccessPoliciesPaginator";
@@ -23,6 +23,7 @@ import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "../comman
23
23
  import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "../commands/DescribeAddonConfigurationCommand";
24
24
  import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "../commands/DescribeAddonVersionsCommand";
25
25
  import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
26
+ import { DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput } from "../commands/DescribeClusterVersionsCommand";
26
27
  import { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "../commands/DescribeEksAnywhereSubscriptionCommand";
27
28
  import { DescribeFargateProfileCommandInput, DescribeFargateProfileCommandOutput } from "../commands/DescribeFargateProfileCommand";
28
29
  import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderConfigCommandOutput } from "../commands/DescribeIdentityProviderConfigCommand";
@@ -148,6 +149,10 @@ export declare const se_DescribeAddonVersionsCommand: (input: DescribeAddonVersi
148
149
  * serializeAws_restJson1DescribeClusterCommand
149
150
  */
150
151
  export declare const se_DescribeClusterCommand: (input: DescribeClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
152
+ /**
153
+ * serializeAws_restJson1DescribeClusterVersionsCommand
154
+ */
155
+ export declare const se_DescribeClusterVersionsCommand: (input: DescribeClusterVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
151
156
  /**
152
157
  * serializeAws_restJson1DescribeEksAnywhereSubscriptionCommand
153
158
  */
@@ -372,6 +377,10 @@ export declare const de_DescribeAddonVersionsCommand: (output: __HttpResponse, c
372
377
  * deserializeAws_restJson1DescribeClusterCommand
373
378
  */
374
379
  export declare const de_DescribeClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeClusterCommandOutput>;
380
+ /**
381
+ * deserializeAws_restJson1DescribeClusterVersionsCommand
382
+ */
383
+ export declare const de_DescribeClusterVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeClusterVersionsCommandOutput>;
375
384
  /**
376
385
  * deserializeAws_restJson1DescribeEksAnywhereSubscriptionCommand
377
386
  */
@@ -91,6 +91,10 @@ import {
91
91
  DescribeClusterCommandInput,
92
92
  DescribeClusterCommandOutput,
93
93
  } from "./commands/DescribeClusterCommand";
94
+ import {
95
+ DescribeClusterVersionsCommandInput,
96
+ DescribeClusterVersionsCommandOutput,
97
+ } from "./commands/DescribeClusterVersionsCommand";
94
98
  import {
95
99
  DescribeEksAnywhereSubscriptionCommandInput,
96
100
  DescribeEksAnywhereSubscriptionCommandOutput,
@@ -525,6 +529,20 @@ export interface EKS {
525
529
  options: __HttpHandlerOptions,
526
530
  cb: (err: any, data?: DescribeClusterCommandOutput) => void
527
531
  ): void;
532
+ describeClusterVersions(): Promise<DescribeClusterVersionsCommandOutput>;
533
+ describeClusterVersions(
534
+ args: DescribeClusterVersionsCommandInput,
535
+ options?: __HttpHandlerOptions
536
+ ): Promise<DescribeClusterVersionsCommandOutput>;
537
+ describeClusterVersions(
538
+ args: DescribeClusterVersionsCommandInput,
539
+ cb: (err: any, data?: DescribeClusterVersionsCommandOutput) => void
540
+ ): void;
541
+ describeClusterVersions(
542
+ args: DescribeClusterVersionsCommandInput,
543
+ options: __HttpHandlerOptions,
544
+ cb: (err: any, data?: DescribeClusterVersionsCommandOutput) => void
545
+ ): void;
528
546
  describeEksAnywhereSubscription(
529
547
  args: DescribeEksAnywhereSubscriptionCommandInput,
530
548
  options?: __HttpHandlerOptions
@@ -137,6 +137,10 @@ import {
137
137
  DescribeClusterCommandInput,
138
138
  DescribeClusterCommandOutput,
139
139
  } from "./commands/DescribeClusterCommand";
140
+ import {
141
+ DescribeClusterVersionsCommandInput,
142
+ DescribeClusterVersionsCommandOutput,
143
+ } from "./commands/DescribeClusterVersionsCommand";
140
144
  import {
141
145
  DescribeEksAnywhereSubscriptionCommandInput,
142
146
  DescribeEksAnywhereSubscriptionCommandOutput,
@@ -300,6 +304,7 @@ export type ServiceInputTypes =
300
304
  | DescribeAddonConfigurationCommandInput
301
305
  | DescribeAddonVersionsCommandInput
302
306
  | DescribeClusterCommandInput
307
+ | DescribeClusterVersionsCommandInput
303
308
  | DescribeEksAnywhereSubscriptionCommandInput
304
309
  | DescribeFargateProfileCommandInput
305
310
  | DescribeIdentityProviderConfigCommandInput
@@ -357,6 +362,7 @@ export type ServiceOutputTypes =
357
362
  | DescribeAddonConfigurationCommandOutput
358
363
  | DescribeAddonVersionsCommandOutput
359
364
  | DescribeClusterCommandOutput
365
+ | DescribeClusterVersionsCommandOutput
360
366
  | DescribeEksAnywhereSubscriptionCommandOutput
361
367
  | DescribeFargateProfileCommandOutput
362
368
  | DescribeIdentityProviderConfigCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ EKSClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../EKSClient";
8
+ import {
9
+ DescribeClusterVersionsRequest,
10
+ DescribeClusterVersionsResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeClusterVersionsCommandInput
15
+ extends DescribeClusterVersionsRequest {}
16
+ export interface DescribeClusterVersionsCommandOutput
17
+ extends DescribeClusterVersionsResponse,
18
+ __MetadataBearer {}
19
+ declare const DescribeClusterVersionsCommand_base: {
20
+ new (
21
+ input: DescribeClusterVersionsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DescribeClusterVersionsCommandInput,
24
+ DescribeClusterVersionsCommandOutput,
25
+ EKSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [DescribeClusterVersionsCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DescribeClusterVersionsCommandInput,
33
+ DescribeClusterVersionsCommandOutput,
34
+ EKSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DescribeClusterVersionsCommand extends DescribeClusterVersionsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DescribeClusterVersionsRequest;
44
+ output: DescribeClusterVersionsResponse;
45
+ };
46
+ sdk: {
47
+ input: DescribeClusterVersionsCommandInput;
48
+ output: DescribeClusterVersionsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -21,6 +21,7 @@ export * from "./DescribeAddonCommand";
21
21
  export * from "./DescribeAddonConfigurationCommand";
22
22
  export * from "./DescribeAddonVersionsCommand";
23
23
  export * from "./DescribeClusterCommand";
24
+ export * from "./DescribeClusterVersionsCommand";
24
25
  export * from "./DescribeEksAnywhereSubscriptionCommand";
25
26
  export * from "./DescribeFargateProfileCommand";
26
27
  export * from "./DescribeIdentityProviderConfigCommand";
@@ -1016,6 +1016,37 @@ export interface DescribeClusterRequest {
1016
1016
  export interface DescribeClusterResponse {
1017
1017
  cluster?: Cluster | undefined;
1018
1018
  }
1019
+ export declare const ClusterVersionStatus: {
1020
+ readonly extended_support: "extended-support";
1021
+ readonly standard_support: "standard-support";
1022
+ readonly unsupported: "unsupported";
1023
+ };
1024
+ export type ClusterVersionStatus =
1025
+ (typeof ClusterVersionStatus)[keyof typeof ClusterVersionStatus];
1026
+ export interface DescribeClusterVersionsRequest {
1027
+ clusterType?: string | undefined;
1028
+ maxResults?: number | undefined;
1029
+ nextToken?: string | undefined;
1030
+ defaultOnly?: boolean | undefined;
1031
+ includeAll?: boolean | undefined;
1032
+ clusterVersions?: string[] | undefined;
1033
+ status?: ClusterVersionStatus | undefined;
1034
+ }
1035
+ export interface ClusterVersionInformation {
1036
+ clusterVersion?: string | undefined;
1037
+ clusterType?: string | undefined;
1038
+ defaultPlatformVersion?: string | undefined;
1039
+ defaultVersion?: boolean | undefined;
1040
+ releaseDate?: Date | undefined;
1041
+ endOfStandardSupportDate?: Date | undefined;
1042
+ endOfExtendedSupportDate?: Date | undefined;
1043
+ status?: ClusterVersionStatus | undefined;
1044
+ kubernetesPatchVersion?: string | undefined;
1045
+ }
1046
+ export interface DescribeClusterVersionsResponse {
1047
+ nextToken?: string | undefined;
1048
+ clusterVersions?: ClusterVersionInformation[] | undefined;
1049
+ }
1019
1050
  export interface DescribeEksAnywhereSubscriptionRequest {
1020
1051
  id: string | undefined;
1021
1052
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeClusterVersionsCommandInput,
4
+ DescribeClusterVersionsCommandOutput,
5
+ } from "../commands/DescribeClusterVersionsCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeClusterVersions: (
8
+ config: EKSPaginationConfiguration,
9
+ input: DescribeClusterVersionsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeClusterVersionsCommandOutput>;
@@ -1,4 +1,5 @@
1
1
  export * from "./DescribeAddonVersionsPaginator";
2
+ export * from "./DescribeClusterVersionsPaginator";
2
3
  export * from "./Interfaces";
3
4
  export * from "./ListAccessEntriesPaginator";
4
5
  export * from "./ListAccessPoliciesPaginator";
@@ -95,6 +95,10 @@ import {
95
95
  DescribeClusterCommandInput,
96
96
  DescribeClusterCommandOutput,
97
97
  } from "../commands/DescribeClusterCommand";
98
+ import {
99
+ DescribeClusterVersionsCommandInput,
100
+ DescribeClusterVersionsCommandOutput,
101
+ } from "../commands/DescribeClusterVersionsCommand";
98
102
  import {
99
103
  DescribeEksAnywhereSubscriptionCommandInput,
100
104
  DescribeEksAnywhereSubscriptionCommandOutput,
@@ -319,6 +323,10 @@ export declare const se_DescribeClusterCommand: (
319
323
  input: DescribeClusterCommandInput,
320
324
  context: __SerdeContext
321
325
  ) => Promise<__HttpRequest>;
326
+ export declare const se_DescribeClusterVersionsCommand: (
327
+ input: DescribeClusterVersionsCommandInput,
328
+ context: __SerdeContext
329
+ ) => Promise<__HttpRequest>;
322
330
  export declare const se_DescribeEksAnywhereSubscriptionCommand: (
323
331
  input: DescribeEksAnywhereSubscriptionCommandInput,
324
332
  context: __SerdeContext
@@ -543,6 +551,10 @@ export declare const de_DescribeClusterCommand: (
543
551
  output: __HttpResponse,
544
552
  context: __SerdeContext
545
553
  ) => Promise<DescribeClusterCommandOutput>;
554
+ export declare const de_DescribeClusterVersionsCommand: (
555
+ output: __HttpResponse,
556
+ context: __SerdeContext
557
+ ) => Promise<DescribeClusterVersionsCommandOutput>;
546
558
  export declare const de_DescribeEksAnywhereSubscriptionCommand: (
547
559
  output: __HttpResponse,
548
560
  context: __SerdeContext
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.717.0",
4
+ "version": "3.721.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.716.0",
24
- "@aws-sdk/client-sts": "3.716.0",
23
+ "@aws-sdk/client-sso-oidc": "3.721.0",
24
+ "@aws-sdk/client-sts": "3.721.0",
25
25
  "@aws-sdk/core": "3.716.0",
26
- "@aws-sdk/credential-provider-node": "3.716.0",
26
+ "@aws-sdk/credential-provider-node": "3.721.0",
27
27
  "@aws-sdk/middleware-host-header": "3.714.0",
28
28
  "@aws-sdk/middleware-logger": "3.714.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.714.0",
30
- "@aws-sdk/middleware-user-agent": "3.716.0",
30
+ "@aws-sdk/middleware-user-agent": "3.721.0",
31
31
  "@aws-sdk/region-config-resolver": "3.714.0",
32
32
  "@aws-sdk/types": "3.714.0",
33
33
  "@aws-sdk/util-endpoints": "3.714.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.714.0",
35
- "@aws-sdk/util-user-agent-node": "3.716.0",
35
+ "@aws-sdk/util-user-agent-node": "3.721.0",
36
36
  "@smithy/config-resolver": "^3.0.13",
37
37
  "@smithy/core": "^2.5.5",
38
38
  "@smithy/fetch-http-handler": "^4.1.2",