@aws-sdk/client-eks 3.741.0 → 3.744.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -124,6 +124,7 @@ __export(src_exports, {
124
124
  UpdatePodIdentityAssociationCommand: () => UpdatePodIdentityAssociationCommand,
125
125
  UpdateStatus: () => UpdateStatus,
126
126
  UpdateType: () => UpdateType,
127
+ VersionStatus: () => VersionStatus,
127
128
  __Client: () => import_smithy_client.Client,
128
129
  paginateDescribeAddonVersions: () => paginateDescribeAddonVersions,
129
130
  paginateDescribeClusterVersions: () => paginateDescribeClusterVersions,
@@ -959,6 +960,11 @@ var ClusterVersionStatus = {
959
960
  standard_support: "standard-support",
960
961
  unsupported: "unsupported"
961
962
  };
963
+ var VersionStatus = {
964
+ EXTENDED_SUPPORT: "EXTENDED_SUPPORT",
965
+ STANDARD_SUPPORT: "STANDARD_SUPPORT",
966
+ UNSUPPORTED: "UNSUPPORTED"
967
+ };
962
968
  var ConfigStatus = {
963
969
  ACTIVE: "ACTIVE",
964
970
  CREATING: "CREATING",
@@ -1420,7 +1426,8 @@ var se_DescribeClusterVersionsCommand = /* @__PURE__ */ __name(async (input, con
1420
1426
  [_dO]: [() => input.defaultOnly !== void 0, () => input[_dO].toString()],
1421
1427
  [_iA]: [() => input.includeAll !== void 0, () => input[_iA].toString()],
1422
1428
  [_cV]: [() => input.clusterVersions !== void 0, () => input[_cV] || []],
1423
- [_s]: [, input[_s]]
1429
+ [_s]: [, input[_s]],
1430
+ [_vS]: [, input[_vS]]
1424
1431
  });
1425
1432
  let body;
1426
1433
  b.m("GET").h(headers).q(query).b(body);
@@ -3073,7 +3080,8 @@ var de_ClusterVersionInformation = /* @__PURE__ */ __name((output, context) => {
3073
3080
  endOfStandardSupportDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3074
3081
  kubernetesPatchVersion: import_smithy_client.expectString,
3075
3082
  releaseDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
3076
- status: import_smithy_client.expectString
3083
+ status: import_smithy_client.expectString,
3084
+ versionStatus: import_smithy_client.expectString
3077
3085
  });
3078
3086
  }, "de_ClusterVersionInformation");
3079
3087
  var de_ClusterVersionList = /* @__PURE__ */ __name((output, context) => {
@@ -3261,6 +3269,7 @@ var _s = "status";
3261
3269
  var _sA = "serviceAccount";
3262
3270
  var _t = "types";
3263
3271
  var _tK = "tagKeys";
3272
+ var _vS = "versionStatus";
3264
3273
 
3265
3274
  // src/commands/AssociateAccessPolicyCommand.ts
3266
3275
  var AssociateAccessPolicyCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
@@ -4698,6 +4707,7 @@ var waitUntilNodegroupDeleted = /* @__PURE__ */ __name(async (params, input) =>
4698
4707
  NodegroupIssueCode,
4699
4708
  NodegroupStatus,
4700
4709
  ClusterVersionStatus,
4710
+ VersionStatus,
4701
4711
  ConfigStatus,
4702
4712
  Category,
4703
4713
  InsightStatusValue,
@@ -441,6 +441,11 @@ export const ClusterVersionStatus = {
441
441
  standard_support: "standard-support",
442
442
  unsupported: "unsupported",
443
443
  };
444
+ export const VersionStatus = {
445
+ EXTENDED_SUPPORT: "EXTENDED_SUPPORT",
446
+ STANDARD_SUPPORT: "STANDARD_SUPPORT",
447
+ UNSUPPORTED: "UNSUPPORTED",
448
+ };
444
449
  export const ConfigStatus = {
445
450
  ACTIVE: "ACTIVE",
446
451
  CREATING: "CREATING",
@@ -357,6 +357,7 @@ export const se_DescribeClusterVersionsCommand = async (input, context) => {
357
357
  [_iA]: [() => input.includeAll !== void 0, () => input[_iA].toString()],
358
358
  [_cV]: [() => input.clusterVersions !== void 0, () => input[_cV] || []],
359
359
  [_s]: [, input[_s]],
360
+ [_vS]: [, input[_vS]],
360
361
  });
361
362
  let body;
362
363
  b.m("GET").h(headers).q(query).b(body);
@@ -1988,6 +1989,7 @@ const de_ClusterVersionInformation = (output, context) => {
1988
1989
  kubernetesPatchVersion: __expectString,
1989
1990
  releaseDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
1990
1991
  status: __expectString,
1992
+ versionStatus: __expectString,
1991
1993
  });
1992
1994
  };
1993
1995
  const de_ClusterVersionList = (output, context) => {
@@ -2184,3 +2186,4 @@ const _s = "status";
2184
2186
  const _sA = "serviceAccount";
2185
2187
  const _t = "types";
2186
2188
  const _tK = "tagKeys";
2189
+ const _vS = "versionStatus";
@@ -44,6 +44,7 @@ declare const DescribeClusterVersionsCommand_base: {
44
44
  * "STRING_VALUE",
45
45
  * ],
46
46
  * status: "unsupported" || "standard-support" || "extended-support",
47
+ * versionStatus: "UNSUPPORTED" || "STANDARD_SUPPORT" || "EXTENDED_SUPPORT",
47
48
  * };
48
49
  * const command = new DescribeClusterVersionsCommand(input);
49
50
  * const response = await client.send(command);
@@ -59,6 +60,7 @@ declare const DescribeClusterVersionsCommand_base: {
59
60
  * // endOfStandardSupportDate: new Date("TIMESTAMP"),
60
61
  * // endOfExtendedSupportDate: new Date("TIMESTAMP"),
61
62
  * // status: "unsupported" || "standard-support" || "extended-support",
63
+ * // versionStatus: "UNSUPPORTED" || "STANDARD_SUPPORT" || "EXTENDED_SUPPORT",
62
64
  * // kubernetesPatchVersion: "STRING_VALUE",
63
65
  * // },
64
66
  * // ],
@@ -28,7 +28,7 @@ declare const DescribeUpdateCommand_base: {
28
28
  };
29
29
  /**
30
30
  * <p>Describes an update to an Amazon EKS resource.</p>
31
- * <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
31
+ * <p>When the status of the update is <code>Successful</code>, the update is complete. If an
32
32
  * update fails, the status is <code>Failed</code>, and an error detail explains the reason
33
33
  * for the failure.</p>
34
34
  * @example
@@ -30,9 +30,9 @@ declare const RegisterClusterCommand_base: {
30
30
  * <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
31
31
  * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view
32
32
  * current information about the cluster and its nodes. </p>
33
- * <p>Cluster connection requires two steps. First, send a <code>
34
- * <a>RegisterClusterRequest</a>
35
- * </code> to add it to the Amazon EKS
33
+ * <p>Cluster connection requires two steps. First, send a <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_RegisterClusterRequest.html">
34
+ * <code>RegisterClusterRequest</code>
35
+ * </a> to add it to the Amazon EKS
36
36
  * control plane.</p>
37
37
  * <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and
38
38
  * <code>activationCode</code> must be applied to the Kubernetes cluster through it's native
@@ -29,7 +29,10 @@ declare const UpdateClusterVersionCommand_base: {
29
29
  /**
30
30
  * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster
31
31
  * continues to function during the update. The response output includes an update ID that
32
- * you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
32
+ * you can use to track the status of your cluster update with the
33
+ * <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeUpdate.html">
34
+ * <code>DescribeUpdate</code>
35
+ * </a> API operation.</p>
33
36
  * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
34
37
  * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
35
38
  * eventually consistent). When the update is complete (either <code>Failed</code> or
@@ -29,7 +29,10 @@ declare const UpdateNodegroupConfigCommand_base: {
29
29
  /**
30
30
  * <p>Updates an Amazon EKS managed node group configuration. Your node group
31
31
  * continues to function during the update. The response output includes an update ID that
32
- * you can use to track the status of your node group update with the <a>DescribeUpdate</a> API operation. You can update the Kubernetes labels and taints
32
+ * you can use to track the status of your node group update with the
33
+ * <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeUpdate.html">
34
+ * <code>DescribeUpdate</code>
35
+ * </a> API operation. You can update the Kubernetes labels and taints
33
36
  * for a node group and the scaling and version update configuration.</p>
34
37
  * @example
35
38
  * Use a bare-bones client and the command you need to make an API call.
@@ -1415,7 +1415,9 @@ export interface CreateAddonRequest {
1415
1415
  * option. If the self-managed version of the add-on is installed on your cluster
1416
1416
  * Amazon EKS doesn't change the add-on resource properties. Creation
1417
1417
  * of the add-on might fail if conflicts are detected. This option works
1418
- * differently during the update operation. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html">UpdateAddon</a>.</p>
1418
+ * differently during the update operation. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateAddon.html">
1419
+ * <code>UpdateAddon</code>
1420
+ * </a>.</p>
1419
1421
  * </li>
1420
1422
  * </ul>
1421
1423
  * <p>If you don't currently have the self-managed version of the add-on installed on your
@@ -3316,7 +3318,9 @@ export interface NodegroupUpdateConfig {
3316
3318
  /**
3317
3319
  * <p>The configuration for the behavior to follow during a node group version update of this managed
3318
3320
  * node group. You choose between two possible strategies for replacing nodes during an
3319
- * <a href="https://docs.aws.amazon.com/latest/APIReference/API_UpdateNodegroupVersion.html">UpdateNodegroupVersion</a> action.</p>
3321
+ * <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_UpdateNodegroupVersion.html">
3322
+ * <code>UpdateNodegroupVersion</code>
3323
+ * </a> action.</p>
3320
3324
  * <p>An Amazon EKS managed node group updates by replacing nodes with new nodes of newer AMI
3321
3325
  * versions in parallel. The <i>update strategy</i> changes the managed node
3322
3326
  * update behavior of the managed node group for each quantity. The
@@ -4462,6 +4466,19 @@ export declare const ClusterVersionStatus: {
4462
4466
  * @public
4463
4467
  */
4464
4468
  export type ClusterVersionStatus = (typeof ClusterVersionStatus)[keyof typeof ClusterVersionStatus];
4469
+ /**
4470
+ * @public
4471
+ * @enum
4472
+ */
4473
+ export declare const VersionStatus: {
4474
+ readonly EXTENDED_SUPPORT: "EXTENDED_SUPPORT";
4475
+ readonly STANDARD_SUPPORT: "STANDARD_SUPPORT";
4476
+ readonly UNSUPPORTED: "UNSUPPORTED";
4477
+ };
4478
+ /**
4479
+ * @public
4480
+ */
4481
+ export type VersionStatus = (typeof VersionStatus)[keyof typeof VersionStatus];
4465
4482
  /**
4466
4483
  * @public
4467
4484
  */
@@ -4497,10 +4514,21 @@ export interface DescribeClusterVersionsRequest {
4497
4514
  */
4498
4515
  clusterVersions?: string[] | undefined;
4499
4516
  /**
4500
- * <p>Filter versions by their current status.</p>
4517
+ * <important>
4518
+ * <p>This field is deprecated. Use <code>versionStatus</code> instead, as that field
4519
+ * matches for input and output of this action.</p>
4520
+ * </important>
4521
+ * <p>Filter versions by their current status.</p>
4522
+ *
4523
+ * @deprecated
4501
4524
  * @public
4502
4525
  */
4503
4526
  status?: ClusterVersionStatus | undefined;
4527
+ /**
4528
+ * <p>Filter versions by their current status.</p>
4529
+ * @public
4530
+ */
4531
+ versionStatus?: VersionStatus | undefined;
4504
4532
  }
4505
4533
  /**
4506
4534
  * <p>Contains details about a specific EKS cluster version.</p>
@@ -4543,10 +4571,19 @@ export interface ClusterVersionInformation {
4543
4571
  */
4544
4572
  endOfExtendedSupportDate?: Date | undefined;
4545
4573
  /**
4546
- * <p>Current status of this cluster version.</p>
4574
+ * <important>
4575
+ * <p>This field is deprecated. Use <code>versionStatus</code> instead, as that field
4576
+ * matches for input and output of this action.</p>
4577
+ * </important>
4578
+ * <p>Current status of this cluster version.</p>
4547
4579
  * @public
4548
4580
  */
4549
4581
  status?: ClusterVersionStatus | undefined;
4582
+ /**
4583
+ * <p>Current status of this cluster version.</p>
4584
+ * @public
4585
+ */
4586
+ versionStatus?: VersionStatus | undefined;
4550
4587
  /**
4551
4588
  * <p>The patch version of Kubernetes for this cluster version.</p>
4552
4589
  * @public
@@ -5825,9 +5862,9 @@ export interface ListPodIdentityAssociationsRequest {
5825
5862
  }
5826
5863
  /**
5827
5864
  * <p>The summarized description of the association.</p>
5828
- * <p>Each summary is simplified by removing these fields compared to the full <code>
5829
- * <a>PodIdentityAssociation</a>
5830
- * </code>:</p>
5865
+ * <p>Each summary is simplified by removing these fields compared to the full <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_PodIdentityAssociation.html">
5866
+ * <code>PodIdentityAssociation</code>
5867
+ * </a>:</p>
5831
5868
  * <ul>
5832
5869
  * <li>
5833
5870
  * <p>The IAM role: <code>roleArn</code>
@@ -5890,9 +5927,9 @@ export interface ListPodIdentityAssociationsResponse {
5890
5927
  /**
5891
5928
  * <p>The list of summarized descriptions of the associations that are in the cluster and match
5892
5929
  * any filters that you provided.</p>
5893
- * <p>Each summary is simplified by removing these fields compared to the full <code>
5894
- * <a>PodIdentityAssociation</a>
5895
- * </code>:</p>
5930
+ * <p>Each summary is simplified by removing these fields compared to the full <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_PodIdentityAssociation.html">
5931
+ * <code>PodIdentityAssociation</code>
5932
+ * </a>:</p>
5896
5933
  * <ul>
5897
5934
  * <li>
5898
5935
  * <p>The IAM role: <code>roleArn</code>
@@ -1031,6 +1031,12 @@ export declare const ClusterVersionStatus: {
1031
1031
  };
1032
1032
  export type ClusterVersionStatus =
1033
1033
  (typeof ClusterVersionStatus)[keyof typeof ClusterVersionStatus];
1034
+ export declare const VersionStatus: {
1035
+ readonly EXTENDED_SUPPORT: "EXTENDED_SUPPORT";
1036
+ readonly STANDARD_SUPPORT: "STANDARD_SUPPORT";
1037
+ readonly UNSUPPORTED: "UNSUPPORTED";
1038
+ };
1039
+ export type VersionStatus = (typeof VersionStatus)[keyof typeof VersionStatus];
1034
1040
  export interface DescribeClusterVersionsRequest {
1035
1041
  clusterType?: string | undefined;
1036
1042
  maxResults?: number | undefined;
@@ -1039,6 +1045,7 @@ export interface DescribeClusterVersionsRequest {
1039
1045
  includeAll?: boolean | undefined;
1040
1046
  clusterVersions?: string[] | undefined;
1041
1047
  status?: ClusterVersionStatus | undefined;
1048
+ versionStatus?: VersionStatus | undefined;
1042
1049
  }
1043
1050
  export interface ClusterVersionInformation {
1044
1051
  clusterVersion?: string | undefined;
@@ -1049,6 +1056,7 @@ export interface ClusterVersionInformation {
1049
1056
  endOfStandardSupportDate?: Date | undefined;
1050
1057
  endOfExtendedSupportDate?: Date | undefined;
1051
1058
  status?: ClusterVersionStatus | undefined;
1059
+ versionStatus?: VersionStatus | undefined;
1052
1060
  kubernetesPatchVersion?: string | undefined;
1053
1061
  }
1054
1062
  export interface DescribeClusterVersionsResponse {
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.741.0",
4
+ "version": "3.744.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,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.734.0",
24
- "@aws-sdk/credential-provider-node": "3.741.0",
23
+ "@aws-sdk/core": "3.744.0",
24
+ "@aws-sdk/credential-provider-node": "3.744.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.734.0",
28
+ "@aws-sdk/middleware-user-agent": "3.744.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
- "@aws-sdk/util-endpoints": "3.734.0",
31
+ "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.734.0",
33
+ "@aws-sdk/util-user-agent-node": "3.744.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.1",
35
+ "@smithy/core": "^3.1.2",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.2",
41
- "@smithy/middleware-retry": "^4.0.3",
42
- "@smithy/middleware-serde": "^4.0.1",
40
+ "@smithy/middleware-endpoint": "^4.0.3",
41
+ "@smithy/middleware-retry": "^4.0.4",
42
+ "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
45
  "@smithy/node-http-handler": "^4.0.2",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.2",
47
+ "@smithy/smithy-client": "^4.1.3",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.3",
54
- "@smithy/util-defaults-mode-node": "^4.0.3",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.4",
54
+ "@smithy/util-defaults-mode-node": "^4.0.4",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",