@aws-sdk/client-eks 3.41.0 → 3.46.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.
Files changed (34) hide show
  1. package/CHANGELOG.md +56 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/endpoints.js +17 -0
  4. package/dist-cjs/models/models_0.js +20 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +62 -0
  6. package/dist-cjs/runtimeConfig.js +0 -2
  7. package/dist-es/endpoints.js +17 -0
  8. package/dist-es/models/models_0.js +13 -0
  9. package/dist-es/protocols/Aws_restJson1.js +138 -72
  10. package/dist-es/runtimeConfig.js +0 -2
  11. package/dist-types/EKS.d.ts +121 -107
  12. package/dist-types/EKSClient.d.ts +10 -10
  13. package/dist-types/commands/CreateAddonCommand.d.ts +5 -4
  14. package/dist-types/commands/CreateClusterCommand.d.ts +6 -5
  15. package/dist-types/commands/CreateFargateProfileCommand.d.ts +28 -24
  16. package/dist-types/commands/CreateNodegroupCommand.d.ts +9 -8
  17. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
  18. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
  19. package/dist-types/commands/DeregisterClusterCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
  21. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
  22. package/dist-types/commands/ListClustersCommand.d.ts +2 -1
  23. package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -2
  24. package/dist-types/commands/ListNodegroupsCommand.d.ts +3 -2
  25. package/dist-types/commands/ListUpdatesCommand.d.ts +2 -2
  26. package/dist-types/commands/RegisterClusterCommand.d.ts +9 -5
  27. package/dist-types/commands/TagResourceCommand.d.ts +3 -4
  28. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +12 -11
  29. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +3 -4
  30. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
  31. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +7 -6
  32. package/dist-types/models/models_0.d.ts +337 -211
  33. package/dist-types/ts3.4/models/models_0.d.ts +34 -0
  34. package/package.json +37 -44
@@ -13,8 +13,8 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
13
13
  * are deleted properly. Otherwise, you can have orphaned resources in your VPC that
14
14
  * prevent you from being able to delete the VPC. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/delete-cluster.html">Deleting a
15
15
  * Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
16
- * <p>If you have managed node groups or Fargate profiles attached to the cluster, you must
17
- * delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
16
+ * <p>If you have managed node groups or Fargate profiles attached to the
17
+ * cluster, you must delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
18
18
  * @example
19
19
  * Use a bare-bones client and the command you need to make an API call.
20
20
  * ```javascript
@@ -8,13 +8,14 @@ export interface DeleteFargateProfileCommandOutput extends DeleteFargateProfileR
8
8
  }
9
9
  /**
10
10
  * <p>Deletes an Fargate profile.</p>
11
- * <p>When you delete a Fargate profile, any pods running on Fargate that were created with the
12
- * profile are deleted. If those pods match another Fargate profile, then they are scheduled
13
- * on Fargate with that profile. If they no longer match any Fargate profiles, then they are not
14
- * scheduled on Fargate and they may remain in a pending state.</p>
15
- * <p>Only one Fargate profile in a cluster can be in the <code>DELETING</code> status at a
16
- * time. You must wait for a Fargate profile to finish deleting before you can delete any
17
- * other profiles in that cluster.</p>
11
+ * <p>When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match
12
+ * another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then
13
+ * they are not scheduled on Fargate and they may remain in a pending
14
+ * state.</p>
15
+ * <p>Only one Fargate profile in a cluster can be in the
16
+ * <code>DELETING</code> status at a time. You must wait for a Fargate
17
+ * profile to finish deleting before you can delete any other profiles in that
18
+ * cluster.</p>
18
19
  * @example
19
20
  * Use a bare-bones client and the command you need to make an API call.
20
21
  * ```javascript
@@ -7,7 +7,8 @@ export interface DeregisterClusterCommandInput extends DeregisterClusterRequest
7
7
  export interface DeregisterClusterCommandOutput extends DeregisterClusterResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Deregisters a connected cluster to remove it from the Amazon EKS control plane.</p>
10
+ * <p>Deregisters a connected cluster to remove it from the Amazon EKS control
11
+ * plane.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,8 +7,8 @@ export interface DescribeUpdateCommandInput extends DescribeUpdateRequest {
7
7
  export interface DescribeUpdateCommandOutput extends DescribeUpdateResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Returns descriptive information about an update against your Amazon EKS cluster or
11
- * associated managed node group.</p>
10
+ * <p>Returns descriptive information about an update against your Amazon EKS
11
+ * cluster or associated managed node group.</p>
12
12
  * <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
13
13
  * update fails, the status is <code>Failed</code>, and an error detail explains the reason
14
14
  * for the failure.</p>
@@ -9,8 +9,8 @@ export interface DisassociateIdentityProviderConfigCommandOutput extends Disasso
9
9
  /**
10
10
  * <p>Disassociates an identity provider configuration from a cluster. If you disassociate
11
11
  * an identity provider from your cluster, users included in the provider can no longer
12
- * access the cluster. However, you can still access the cluster with Amazon Web Services IAM
13
- * users.</p>
12
+ * access the cluster. However, you can still access the cluster with Amazon Web Services
13
+ * IAM users.</p>
14
14
  * @example
15
15
  * Use a bare-bones client and the command you need to make an API call.
16
16
  * ```javascript
@@ -7,7 +7,8 @@ export interface ListClustersCommandInput extends ListClustersRequest {
7
7
  export interface ListClustersCommandOutput extends ListClustersResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.</p>
10
+ * <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
11
+ * specified Region.</p>
11
12
  * @example
12
13
  * Use a bare-bones client and the command you need to make an API call.
13
14
  * ```javascript
@@ -7,8 +7,8 @@ export interface ListFargateProfilesCommandInput extends ListFargateProfilesRequ
7
7
  export interface ListFargateProfilesCommandOutput extends ListFargateProfilesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services
11
- * account in the specified Region.</p>
10
+ * <p>Lists the Fargate profiles associated with the specified cluster in
11
+ * your Amazon Web Services account in the specified Region.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -7,8 +7,9 @@ export interface ListNodegroupsCommandInput extends ListNodegroupsRequest {
7
7
  export interface ListNodegroupsCommandOutput extends ListNodegroupsResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the Amazon EKS managed node groups associated with the specified cluster in your
11
- * Amazon Web Services account in the specified Region. Self-managed node groups are not listed.</p>
10
+ * <p>Lists the Amazon EKS managed node groups associated with the specified cluster
11
+ * in your Amazon Web Services account in the specified Region. Self-managed node groups are
12
+ * not listed.</p>
12
13
  * @example
13
14
  * Use a bare-bones client and the command you need to make an API call.
14
15
  * ```javascript
@@ -7,8 +7,8 @@ export interface ListUpdatesCommandInput extends ListUpdatesRequest {
7
7
  export interface ListUpdatesCommandOutput extends ListUpdatesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services
11
- * account, in the specified Region.</p>
10
+ * <p>Lists the updates associated with an Amazon EKS cluster or managed node group
11
+ * in your Amazon Web Services account, in the specified Region.</p>
12
12
  * @example
13
13
  * Use a bare-bones client and the command you need to make an API call.
14
14
  * ```javascript
@@ -8,14 +8,18 @@ export interface RegisterClusterCommandOutput extends RegisterClusterResponse, _
8
8
  }
9
9
  /**
10
10
  * <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
11
- * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
12
- * </p>
11
+ * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
12
+ * view current information about the cluster and its nodes. </p>
13
13
  * <p>Cluster connection requires two steps. First, send a <code>
14
14
  * <a>RegisterClusterRequest</a>
15
- * </code> to add it to the Amazon EKS control plane.</p>
16
- * <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 <code>activationCode</code> must be applied to the Kubernetes cluster through it's native provider to provide visibility.</p>
15
+ * </code> to add it to the Amazon EKS
16
+ * control plane.</p>
17
+ * <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
18
+ * <code>activationCode</code> must be applied to the Kubernetes cluster through it's
19
+ * native provider to provide visibility.</p>
17
20
  *
18
- * <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within a set amount of time,
21
+ * <p>After the Manifest is updated and applied, then the connected cluster is visible to
22
+ * the Amazon EKS control plane. If the Manifest is not applied within three days,
19
23
  * then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
20
24
  * @example
21
25
  * Use a bare-bones client and the command you need to make an API call.
@@ -10,10 +10,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
10
10
  * <p>Associates the specified tags to a resource with the specified
11
11
  * <code>resourceArn</code>. If existing tags on a resource are not specified in the
12
12
  * request parameters, they are not changed. When a resource is deleted, the tags
13
- * associated with that resource are deleted as well. Tags that you create for Amazon EKS
14
- * resources do not propagate to any other resources associated with the cluster. For
15
- * example, if you tag a cluster with this operation, that tag does not automatically
16
- * propagate to the subnets and nodes associated with the cluster.</p>
13
+ * associated with that resource are deleted as well. Tags that you create for Amazon EKS resources do not propagate to any other resources associated with the
14
+ * cluster. For example, if you tag a cluster with this operation, that tag does not
15
+ * automatically propagate to the subnets and nodes associated with the cluster.</p>
17
16
  * @example
18
17
  * Use a bare-bones client and the command you need to make an API call.
19
18
  * ```javascript
@@ -7,24 +7,25 @@ export interface UpdateClusterConfigCommandInput extends UpdateClusterConfigRequ
7
7
  export interface UpdateClusterConfigCommandOutput extends UpdateClusterConfigResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the
11
- * update. The response output includes an update ID that you can use to track the status
12
- * of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
10
+ * <p>Updates an Amazon EKS cluster configuration. Your cluster continues to
11
+ * function during the update. The response output includes an update ID that you can use
12
+ * to track the status of your cluster update with the <a>DescribeUpdate</a> API
13
+ * operation.</p>
13
14
  * <p>You can use this API operation to enable or disable exporting the Kubernetes control
14
- * plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't
15
- * exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
16
- * Cluster Control Plane Logs</a> in the
17
- * <i>
15
+ * plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
16
+ * logs aren't exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS Cluster Control Plane Logs</a> in the
17
+ * <i>
18
18
  * <i>Amazon EKS User Guide</i>
19
19
  * </i>.</p>
20
20
  * <note>
21
- * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
22
- * control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
21
+ * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to
22
+ * exported control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch
23
+ * Pricing</a>.</p>
23
24
  * </note>
24
25
  * <p>You can also use this API operation to enable or disable public and private access to
25
26
  * your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
26
- * private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
27
- * endpoint access control</a> in the <i>
27
+ * private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster endpoint access control</a> in the
28
+ * <i>
28
29
  * <i>Amazon EKS User Guide</i>
29
30
  * </i>. </p>
30
31
  * <important>
@@ -7,10 +7,9 @@ export interface UpdateClusterVersionCommandInput extends UpdateClusterVersionRe
7
7
  export interface UpdateClusterVersionCommandOutput extends UpdateClusterVersionResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues
11
- * to function during the update. The response output includes an update ID that you can
12
- * use to track the status of your cluster update with the <a>DescribeUpdate</a>
13
- * API operation.</p>
10
+ * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
11
+ * cluster continues to function during the update. The response output includes an update
12
+ * ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
14
13
  * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
15
14
  * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
16
15
  * eventually consistent). When the update is complete (either <code>Failed</code> or
@@ -7,11 +7,10 @@ export interface UpdateNodegroupConfigCommandInput extends UpdateNodegroupConfig
7
7
  export interface UpdateNodegroupConfigCommandOutput extends UpdateNodegroupConfigResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates an Amazon EKS managed node group configuration. Your node group continues to
11
- * function during the update. The response output includes an update ID that you can use
12
- * to track the status of your node group update with the <a>DescribeUpdate</a>
13
- * API operation. Currently you can update the Kubernetes labels for a node group or the
14
- * scaling configuration.</p>
10
+ * <p>Updates an Amazon EKS managed node group configuration. Your node group
11
+ * continues to function during the update. The response output includes an update ID that
12
+ * you can use to track the status of your node group update with the <a>DescribeUpdate</a> API operation. Currently you can update the Kubernetes
13
+ * labels for a node group or the scaling configuration.</p>
15
14
  * @example
16
15
  * Use a bare-bones client and the command you need to make an API call.
17
16
  * ```javascript
@@ -7,7 +7,8 @@ export interface UpdateNodegroupVersionCommandInput extends UpdateNodegroupVersi
7
7
  export interface UpdateNodegroupVersionCommandOutput extends UpdateNodegroupVersionResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node group.</p>
10
+ * <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node
11
+ * group.</p>
11
12
  * <p>You can update a node group using a launch template only if the node group was
12
13
  * originally deployed with a launch template. If you need to update a custom AMI in a node
13
14
  * group that was deployed with a launch template, then update your custom AMI, specify the
@@ -17,14 +18,14 @@ export interface UpdateNodegroupVersionCommandOutput extends UpdateNodegroupVers
17
18
  * AMI version of a node group's current Kubernetes version by not specifying a Kubernetes
18
19
  * version in the request. You can update to the latest AMI version of your cluster's
19
20
  * current Kubernetes version by specifying your cluster's Kubernetes version in the
20
- * request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
21
- * optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
21
+ * request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
22
22
  * <p>You cannot roll back a node group to an earlier Kubernetes version or AMI
23
23
  * version.</p>
24
24
  * <p>When a node in a managed node group is terminated due to a scaling action or update,
25
- * the pods in that node are drained first. Amazon EKS attempts to drain the nodes gracefully
26
- * and will fail if it is unable to do so. You can <code>force</code> the update if Amazon EKS
27
- * is unable to drain the nodes as a result of a pod disruption budget issue.</p>
25
+ * the pods in that node are drained first. Amazon EKS attempts to drain the nodes
26
+ * gracefully and will fail if it is unable to do so. You can <code>force</code> the update
27
+ * if Amazon EKS is unable to drain the nodes as a result of a pod disruption
28
+ * budget issue.</p>
28
29
  * @example
29
30
  * Use a bare-bones client and the command you need to make an API call.
30
31
  * ```javascript