@aws-sdk/client-eks 3.43.0 → 3.47.1

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 (42) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/endpoints.js +1 -24
  4. package/dist-cjs/models/models_0.js +8 -81
  5. package/dist-cjs/protocols/Aws_restJson1.js +3 -0
  6. package/dist-cjs/runtimeConfig.browser.js +7 -2
  7. package/dist-cjs/runtimeConfig.js +9 -3
  8. package/dist-es/endpoints.js +1 -24
  9. package/dist-es/models/models_0.js +5 -52
  10. package/dist-es/protocols/Aws_restJson1.js +3 -1
  11. package/dist-es/runtimeConfig.browser.js +12 -3
  12. package/dist-es/runtimeConfig.js +13 -6
  13. package/dist-types/EKS.d.ts +112 -99
  14. package/dist-types/EKSClient.d.ts +15 -11
  15. package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateFargateProfileCommand.d.ts +28 -24
  17. package/dist-types/commands/CreateNodegroupCommand.d.ts +9 -8
  18. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
  19. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
  20. package/dist-types/commands/DeregisterClusterCommand.d.ts +2 -1
  21. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
  22. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
  23. package/dist-types/commands/ListClustersCommand.d.ts +2 -1
  24. package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -2
  25. package/dist-types/commands/ListNodegroupsCommand.d.ts +3 -2
  26. package/dist-types/commands/ListUpdatesCommand.d.ts +2 -2
  27. package/dist-types/commands/RegisterClusterCommand.d.ts +9 -5
  28. package/dist-types/commands/TagResourceCommand.d.ts +3 -4
  29. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +12 -11
  30. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +3 -4
  31. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
  32. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +7 -6
  33. package/dist-types/models/models_0.d.ts +252 -265
  34. package/dist-types/runtimeConfig.browser.d.ts +3 -2
  35. package/dist-types/runtimeConfig.d.ts +4 -3
  36. package/dist-types/runtimeConfig.native.d.ts +1 -0
  37. package/dist-types/ts3.4/EKSClient.d.ts +3 -1
  38. package/dist-types/ts3.4/models/models_0.d.ts +10 -52
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
  42. package/package.json +40 -47
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -35,16 +35,16 @@ import { UpdateNodegroupConfigCommandInput, UpdateNodegroupConfigCommandOutput }
35
35
  import { UpdateNodegroupVersionCommandInput, UpdateNodegroupVersionCommandOutput } from "./commands/UpdateNodegroupVersionCommand";
36
36
  import { EKSClient } from "./EKSClient";
37
37
  /**
38
- * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on
39
- * Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane.
40
- * Kubernetes is an open-source system for automating the deployment, scaling, and
41
- * management of containerized applications. </p>
42
- * <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use
43
- * all the existing plugins and tooling from the Kubernetes community. Applications running
44
- * on Amazon EKS are fully compatible with applications running on any standard Kubernetes
45
- * environment, whether running in on-premises data centers or public clouds. This means
46
- * that you can easily migrate any standard Kubernetes application to Amazon EKS without any
47
- * code modification required.</p>
38
+ * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
39
+ * for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
40
+ * your own Kubernetes control plane. Kubernetes is an open-source system for automating
41
+ * the deployment, scaling, and management of containerized applications. </p>
42
+ * <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
43
+ * you can use all the existing plugins and tooling from the Kubernetes community.
44
+ * Applications running on Amazon EKS are fully compatible with applications
45
+ * running on any standard Kubernetes environment, whether running in on-premises data
46
+ * centers or public clouds. This means that you can easily migrate any standard Kubernetes
47
+ * application to Amazon EKS without any code modification required.</p>
48
48
  */
49
49
  export declare class EKS extends EKSClient {
50
50
  /**
@@ -100,50 +100,56 @@ export declare class EKS extends EKSClient {
100
100
  * <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
101
101
  * you must configure your Kubernetes tooling to communicate with the API server and launch
102
102
  * nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
103
- * Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
103
+ * Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the
104
+ * <i>Amazon EKS User Guide</i>.</p>
104
105
  */
105
106
  createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
106
107
  createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
107
108
  createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
108
109
  /**
109
- * <p>Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate
110
- * profile in a cluster to be able to run pods on Fargate.</p>
111
- * <p>The Fargate profile allows an administrator to declare which pods run on Fargate and specify
112
- * which pods run on which Fargate profile. This declaration is done through the profile’s
113
- * selectors. Each profile can have up to five selectors that contain a namespace and
114
- * labels. A namespace is required for every selector. The label field consists of multiple
115
- * optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a
116
- * to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is
117
- * run on Fargate.</p>
118
- * <p>When you create a Fargate profile, you must specify a pod execution role to use with the
119
- * pods that are scheduled with the profile. This role is added to the cluster's Kubernetes
120
- * <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access
121
- * Control</a> (RBAC) for authorization so that the <code>kubelet</code> that is
122
- * running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can
123
- * appear in your cluster as a node. The pod execution role also provides IAM permissions
124
- * to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more
125
- * information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
126
- * <p>Fargate profiles are immutable. However, you can create a new updated profile to replace
127
- * an existing profile and then delete the original after the updated profile has finished
128
- * creating.</p>
129
- * <p>If any Fargate profiles in a cluster are in the <code>DELETING</code> status, you must
130
- * wait for that Fargate profile to finish deleting before you can create any other profiles
131
- * in that cluster.</p>
132
- * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the <i>Amazon EKS User Guide</i>.</p>
110
+ * <p>Creates an Fargate profile for your Amazon EKS cluster. You
111
+ * must have at least one Fargate profile in a cluster to be able to run
112
+ * pods on Fargate.</p>
113
+ * <p>The Fargate profile allows an administrator to declare which pods run
114
+ * on Fargate and specify which pods run on which Fargate
115
+ * profile. This declaration is done through the profile’s selectors. Each profile can have
116
+ * up to five selectors that contain a namespace and labels. A namespace is required for
117
+ * every selector. The label field consists of multiple optional key-value pairs. Pods that
118
+ * match the selectors are scheduled on Fargate. If a to-be-scheduled pod
119
+ * matches any of the selectors in the Fargate profile, then that pod is run
120
+ * on Fargate.</p>
121
+ * <p>When you create a Fargate profile, you must specify a pod execution
122
+ * role to use with the pods that are scheduled with the profile. This role is added to the
123
+ * cluster's Kubernetes <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access Control</a> (RBAC) for authorization so that the
124
+ * <code>kubelet</code> that is running on the Fargate infrastructure
125
+ * can register with your Amazon EKS cluster so that it can appear in your cluster
126
+ * as a node. The pod execution role also provides IAM permissions to the
127
+ * Fargate infrastructure to allow read access to Amazon ECR
128
+ * image repositories. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod
129
+ * Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
130
+ * <p>Fargate profiles are immutable. However, you can create a new updated
131
+ * profile to replace an existing profile and then delete the original after the updated
132
+ * profile has finished creating.</p>
133
+ * <p>If any Fargate profiles in a cluster are in the <code>DELETING</code>
134
+ * status, you must wait for that Fargate profile to finish deleting before
135
+ * you can create any other profiles in that cluster.</p>
136
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the
137
+ * <i>Amazon EKS User Guide</i>.</p>
133
138
  */
134
139
  createFargateProfile(args: CreateFargateProfileCommandInput, options?: __HttpHandlerOptions): Promise<CreateFargateProfileCommandOutput>;
135
140
  createFargateProfile(args: CreateFargateProfileCommandInput, cb: (err: any, data?: CreateFargateProfileCommandOutput) => void): void;
136
141
  createFargateProfile(args: CreateFargateProfileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFargateProfileCommandOutput) => void): void;
137
142
  /**
138
- * <p>Creates a managed node group for an Amazon EKS cluster. You can only create a node group
139
- * for your cluster that is equal to the current Kubernetes version for the cluster. All
140
- * node groups are created with the latest AMI release version for the respective minor
141
- * Kubernetes version of the cluster, unless you deploy a custom AMI using a launch
142
- * template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
143
+ * <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
144
+ * node group for your cluster that is equal to the current Kubernetes version for the
145
+ * cluster. All node groups are created with the latest AMI release version for the
146
+ * respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using
147
+ * a launch template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
143
148
  * template support</a>.</p>
144
- * <p>An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that
145
- * are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS
146
- * optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
149
+ * <p>An Amazon EKS managed node group is an Amazon EC2
150
+ * Auto Scaling group and associated Amazon EC2 instances that are managed by
151
+ * Amazon Web Services for an Amazon EKS cluster. Each node group uses a version
152
+ * of the Amazon EKS optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
147
153
  * Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
148
154
  */
149
155
  createNodegroup(args: CreateNodegroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateNodegroupCommandOutput>;
@@ -164,21 +170,22 @@ export declare class EKS extends EKSClient {
164
170
  * are deleted properly. Otherwise, you can have orphaned resources in your VPC that
165
171
  * 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
166
172
  * Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
167
- * <p>If you have managed node groups or Fargate profiles attached to the cluster, you must
168
- * delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
173
+ * <p>If you have managed node groups or Fargate profiles attached to the
174
+ * cluster, you must delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
169
175
  */
170
176
  deleteCluster(args: DeleteClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteClusterCommandOutput>;
171
177
  deleteCluster(args: DeleteClusterCommandInput, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
172
178
  deleteCluster(args: DeleteClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteClusterCommandOutput) => void): void;
173
179
  /**
174
180
  * <p>Deletes an Fargate profile.</p>
175
- * <p>When you delete a Fargate profile, any pods running on Fargate that were created with the
176
- * profile are deleted. If those pods match another Fargate profile, then they are scheduled
177
- * on Fargate with that profile. If they no longer match any Fargate profiles, then they are not
178
- * scheduled on Fargate and they may remain in a pending state.</p>
179
- * <p>Only one Fargate profile in a cluster can be in the <code>DELETING</code> status at a
180
- * time. You must wait for a Fargate profile to finish deleting before you can delete any
181
- * other profiles in that cluster.</p>
181
+ * <p>When you delete a Fargate profile, any pods running on Fargate that were created with the profile are deleted. If those pods match
182
+ * another Fargate profile, then they are scheduled on Fargate with that profile. If they no longer match any Fargate profiles, then
183
+ * they are not scheduled on Fargate and they may remain in a pending
184
+ * state.</p>
185
+ * <p>Only one Fargate profile in a cluster can be in the
186
+ * <code>DELETING</code> status at a time. You must wait for a Fargate
187
+ * profile to finish deleting before you can delete any other profiles in that
188
+ * cluster.</p>
182
189
  */
183
190
  deleteFargateProfile(args: DeleteFargateProfileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFargateProfileCommandOutput>;
184
191
  deleteFargateProfile(args: DeleteFargateProfileCommandInput, cb: (err: any, data?: DeleteFargateProfileCommandOutput) => void): void;
@@ -190,7 +197,8 @@ export declare class EKS extends EKSClient {
190
197
  deleteNodegroup(args: DeleteNodegroupCommandInput, cb: (err: any, data?: DeleteNodegroupCommandOutput) => void): void;
191
198
  deleteNodegroup(args: DeleteNodegroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNodegroupCommandOutput) => void): void;
192
199
  /**
193
- * <p>Deregisters a connected cluster to remove it from the Amazon EKS control plane.</p>
200
+ * <p>Deregisters a connected cluster to remove it from the Amazon EKS control
201
+ * plane.</p>
194
202
  */
195
203
  deregisterCluster(args: DeregisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterClusterCommandOutput>;
196
204
  deregisterCluster(args: DeregisterClusterCommandInput, cb: (err: any, data?: DeregisterClusterCommandOutput) => void): void;
@@ -240,8 +248,8 @@ export declare class EKS extends EKSClient {
240
248
  describeNodegroup(args: DescribeNodegroupCommandInput, cb: (err: any, data?: DescribeNodegroupCommandOutput) => void): void;
241
249
  describeNodegroup(args: DescribeNodegroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeNodegroupCommandOutput) => void): void;
242
250
  /**
243
- * <p>Returns descriptive information about an update against your Amazon EKS cluster or
244
- * associated managed node group.</p>
251
+ * <p>Returns descriptive information about an update against your Amazon EKS
252
+ * cluster or associated managed node group.</p>
245
253
  * <p>When the status of the update is <code>Succeeded</code>, the update is complete. If an
246
254
  * update fails, the status is <code>Failed</code>, and an error detail explains the reason
247
255
  * for the failure.</p>
@@ -252,8 +260,8 @@ export declare class EKS extends EKSClient {
252
260
  /**
253
261
  * <p>Disassociates an identity provider configuration from a cluster. If you disassociate
254
262
  * an identity provider from your cluster, users included in the provider can no longer
255
- * access the cluster. However, you can still access the cluster with Amazon Web Services IAM
256
- * users.</p>
263
+ * access the cluster. However, you can still access the cluster with Amazon Web Services
264
+ * IAM users.</p>
257
265
  */
258
266
  disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateIdentityProviderConfigCommandOutput>;
259
267
  disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, cb: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void): void;
@@ -265,14 +273,15 @@ export declare class EKS extends EKSClient {
265
273
  listAddons(args: ListAddonsCommandInput, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
266
274
  listAddons(args: ListAddonsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
267
275
  /**
268
- * <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the specified Region.</p>
276
+ * <p>Lists the Amazon EKS clusters in your Amazon Web Services account in the
277
+ * specified Region.</p>
269
278
  */
270
279
  listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
271
280
  listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
272
281
  listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
273
282
  /**
274
- * <p>Lists the Fargate profiles associated with the specified cluster in your Amazon Web Services
275
- * account in the specified Region.</p>
283
+ * <p>Lists the Fargate profiles associated with the specified cluster in
284
+ * your Amazon Web Services account in the specified Region.</p>
276
285
  */
277
286
  listFargateProfiles(args: ListFargateProfilesCommandInput, options?: __HttpHandlerOptions): Promise<ListFargateProfilesCommandOutput>;
278
287
  listFargateProfiles(args: ListFargateProfilesCommandInput, cb: (err: any, data?: ListFargateProfilesCommandOutput) => void): void;
@@ -284,8 +293,9 @@ export declare class EKS extends EKSClient {
284
293
  listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
285
294
  listIdentityProviderConfigs(args: ListIdentityProviderConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIdentityProviderConfigsCommandOutput) => void): void;
286
295
  /**
287
- * <p>Lists the Amazon EKS managed node groups associated with the specified cluster in your
288
- * Amazon Web Services account in the specified Region. Self-managed node groups are not listed.</p>
296
+ * <p>Lists the Amazon EKS managed node groups associated with the specified cluster
297
+ * in your Amazon Web Services account in the specified Region. Self-managed node groups are
298
+ * not listed.</p>
289
299
  */
290
300
  listNodegroups(args: ListNodegroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListNodegroupsCommandOutput>;
291
301
  listNodegroups(args: ListNodegroupsCommandInput, cb: (err: any, data?: ListNodegroupsCommandOutput) => void): void;
@@ -297,22 +307,26 @@ export declare class EKS extends EKSClient {
297
307
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
298
308
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
299
309
  /**
300
- * <p>Lists the updates associated with an Amazon EKS cluster or managed node group in your Amazon Web Services
301
- * account, in the specified Region.</p>
310
+ * <p>Lists the updates associated with an Amazon EKS cluster or managed node group
311
+ * in your Amazon Web Services account, in the specified Region.</p>
302
312
  */
303
313
  listUpdates(args: ListUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListUpdatesCommandOutput>;
304
314
  listUpdates(args: ListUpdatesCommandInput, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
305
315
  listUpdates(args: ListUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
306
316
  /**
307
317
  * <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
308
- * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
309
- * </p>
318
+ * <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to
319
+ * view current information about the cluster and its nodes. </p>
310
320
  * <p>Cluster connection requires two steps. First, send a <code>
311
321
  * <a>RegisterClusterRequest</a>
312
- * </code> to add it to the Amazon EKS control plane.</p>
313
- * <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>
322
+ * </code> to add it to the Amazon EKS
323
+ * control plane.</p>
324
+ * <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
325
+ * <code>activationCode</code> must be applied to the Kubernetes cluster through it's
326
+ * native provider to provide visibility.</p>
314
327
  *
315
- * <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 three days,
328
+ * <p>After the Manifest is updated and applied, then the connected cluster is visible to
329
+ * the Amazon EKS control plane. If the Manifest is not applied within three days,
316
330
  * then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
317
331
  */
318
332
  registerCluster(args: RegisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<RegisterClusterCommandOutput>;
@@ -322,10 +336,9 @@ export declare class EKS extends EKSClient {
322
336
  * <p>Associates the specified tags to a resource with the specified
323
337
  * <code>resourceArn</code>. If existing tags on a resource are not specified in the
324
338
  * request parameters, they are not changed. When a resource is deleted, the tags
325
- * associated with that resource are deleted as well. Tags that you create for Amazon EKS
326
- * resources do not propagate to any other resources associated with the cluster. For
327
- * example, if you tag a cluster with this operation, that tag does not automatically
328
- * propagate to the subnets and nodes associated with the cluster.</p>
339
+ * 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
340
+ * cluster. For example, if you tag a cluster with this operation, that tag does not
341
+ * automatically propagate to the subnets and nodes associated with the cluster.</p>
329
342
  */
330
343
  tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
331
344
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
@@ -343,24 +356,25 @@ export declare class EKS extends EKSClient {
343
356
  updateAddon(args: UpdateAddonCommandInput, cb: (err: any, data?: UpdateAddonCommandOutput) => void): void;
344
357
  updateAddon(args: UpdateAddonCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAddonCommandOutput) => void): void;
345
358
  /**
346
- * <p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the
347
- * update. The response output includes an update ID that you can use to track the status
348
- * of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
359
+ * <p>Updates an Amazon EKS cluster configuration. Your cluster continues to
360
+ * function during the update. The response output includes an update ID that you can use
361
+ * to track the status of your cluster update with the <a>DescribeUpdate</a> API
362
+ * operation.</p>
349
363
  * <p>You can use this API operation to enable or disable exporting the Kubernetes control
350
- * plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't
351
- * exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
352
- * Cluster Control Plane Logs</a> in the
353
- * <i>
364
+ * plane logs for your cluster to CloudWatch Logs. By default, cluster control plane
365
+ * 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
366
+ * <i>
354
367
  * <i>Amazon EKS User Guide</i>
355
368
  * </i>.</p>
356
369
  * <note>
357
- * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
358
- * control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
370
+ * <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to
371
+ * exported control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch
372
+ * Pricing</a>.</p>
359
373
  * </note>
360
374
  * <p>You can also use this API operation to enable or disable public and private access to
361
375
  * your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
362
- * private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
363
- * endpoint access control</a> in the <i>
376
+ * 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
377
+ * <i>
364
378
  * <i>Amazon EKS User Guide</i>
365
379
  * </i>. </p>
366
380
  * <important>
@@ -375,10 +389,9 @@ export declare class EKS extends EKSClient {
375
389
  updateClusterConfig(args: UpdateClusterConfigCommandInput, cb: (err: any, data?: UpdateClusterConfigCommandOutput) => void): void;
376
390
  updateClusterConfig(args: UpdateClusterConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterConfigCommandOutput) => void): void;
377
391
  /**
378
- * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues
379
- * to function during the update. The response output includes an update ID that you can
380
- * use to track the status of your cluster update with the <a>DescribeUpdate</a>
381
- * API operation.</p>
392
+ * <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your
393
+ * cluster continues to function during the update. The response output includes an update
394
+ * ID that you can use to track the status of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
382
395
  * <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
383
396
  * an update, the cluster status moves to <code>UPDATING</code> (this status transition is
384
397
  * eventually consistent). When the update is complete (either <code>Failed</code> or
@@ -391,17 +404,17 @@ export declare class EKS extends EKSClient {
391
404
  updateClusterVersion(args: UpdateClusterVersionCommandInput, cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void): void;
392
405
  updateClusterVersion(args: UpdateClusterVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateClusterVersionCommandOutput) => void): void;
393
406
  /**
394
- * <p>Updates an Amazon EKS managed node group configuration. Your node group continues to
395
- * function during the update. The response output includes an update ID that you can use
396
- * to track the status of your node group update with the <a>DescribeUpdate</a>
397
- * API operation. Currently you can update the Kubernetes labels for a node group or the
398
- * scaling configuration.</p>
407
+ * <p>Updates an Amazon EKS managed node group configuration. Your node group
408
+ * continues to function during the update. The response output includes an update ID that
409
+ * 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
410
+ * labels for a node group or the scaling configuration.</p>
399
411
  */
400
412
  updateNodegroupConfig(args: UpdateNodegroupConfigCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNodegroupConfigCommandOutput>;
401
413
  updateNodegroupConfig(args: UpdateNodegroupConfigCommandInput, cb: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void): void;
402
414
  updateNodegroupConfig(args: UpdateNodegroupConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateNodegroupConfigCommandOutput) => void): void;
403
415
  /**
404
- * <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node group.</p>
416
+ * <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node
417
+ * group.</p>
405
418
  * <p>You can update a node group using a launch template only if the node group was
406
419
  * originally deployed with a launch template. If you need to update a custom AMI in a node
407
420
  * group that was deployed with a launch template, then update your custom AMI, specify the
@@ -411,14 +424,14 @@ export declare class EKS extends EKSClient {
411
424
  * AMI version of a node group's current Kubernetes version by not specifying a Kubernetes
412
425
  * version in the request. You can update to the latest AMI version of your cluster's
413
426
  * current Kubernetes version by specifying your cluster's Kubernetes version in the
414
- * request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
415
- * optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
427
+ * 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>
416
428
  * <p>You cannot roll back a node group to an earlier Kubernetes version or AMI
417
429
  * version.</p>
418
430
  * <p>When a node in a managed node group is terminated due to a scaling action or update,
419
- * the pods in that node are drained first. Amazon EKS attempts to drain the nodes gracefully
420
- * and will fail if it is unable to do so. You can <code>force</code> the update if Amazon EKS
421
- * is unable to drain the nodes as a result of a pod disruption budget issue.</p>
431
+ * the pods in that node are drained first. Amazon EKS attempts to drain the nodes
432
+ * gracefully and will fail if it is unable to do so. You can <code>force</code> the update
433
+ * if Amazon EKS is unable to drain the nodes as a result of a pod disruption
434
+ * budget issue.</p>
422
435
  */
423
436
  updateNodegroupVersion(args: UpdateNodegroupVersionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateNodegroupVersionCommandOutput>;
424
437
  updateNodegroupVersion(args: UpdateNodegroupVersionCommandInput, cb: (err: any, data?: UpdateNodegroupVersionCommandOutput) => void): void;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
10
10
  import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
@@ -142,6 +142,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
142
142
  * @internal
143
143
  */
144
144
  defaultUserAgentProvider?: Provider<__UserAgent>;
145
+ /**
146
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
147
+ */
148
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
145
149
  }
146
150
  declare type EKSClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
147
151
  /**
@@ -156,16 +160,16 @@ declare type EKSClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpH
156
160
  export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {
157
161
  }
158
162
  /**
159
- * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on
160
- * Amazon Web Services without needing to stand up or maintain your own Kubernetes control plane.
161
- * Kubernetes is an open-source system for automating the deployment, scaling, and
162
- * management of containerized applications. </p>
163
- * <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you can use
164
- * all the existing plugins and tooling from the Kubernetes community. Applications running
165
- * on Amazon EKS are fully compatible with applications running on any standard Kubernetes
166
- * environment, whether running in on-premises data centers or public clouds. This means
167
- * that you can easily migrate any standard Kubernetes application to Amazon EKS without any
168
- * code modification required.</p>
163
+ * <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
164
+ * for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
165
+ * your own Kubernetes control plane. Kubernetes is an open-source system for automating
166
+ * the deployment, scaling, and management of containerized applications. </p>
167
+ * <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
168
+ * you can use all the existing plugins and tooling from the Kubernetes community.
169
+ * Applications running on Amazon EKS are fully compatible with applications
170
+ * running on any standard Kubernetes environment, whether running in on-premises data
171
+ * centers or public clouds. This means that you can easily migrate any standard Kubernetes
172
+ * application to Amazon EKS without any code modification required.</p>
169
173
  */
170
174
  export declare class EKSClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, EKSClientResolvedConfig> {
171
175
  /**
@@ -25,7 +25,8 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
25
25
  * <p>In most cases, it takes several minutes to create a cluster. After you create an Amazon EKS cluster,
26
26
  * you must configure your Kubernetes tooling to communicate with the API server and launch
27
27
  * nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
28
- * Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the <i>Amazon EKS User Guide</i>.</p>
28
+ * Authentication</a> and <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-workers.html">Launching Amazon EKS nodes</a> in the
29
+ * <i>Amazon EKS User Guide</i>.</p>
29
30
  * @example
30
31
  * Use a bare-bones client and the command you need to make an API call.
31
32
  * ```javascript
@@ -7,30 +7,34 @@ export interface CreateFargateProfileCommandInput extends CreateFargateProfileRe
7
7
  export interface CreateFargateProfileCommandOutput extends CreateFargateProfileResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate
11
- * profile in a cluster to be able to run pods on Fargate.</p>
12
- * <p>The Fargate profile allows an administrator to declare which pods run on Fargate and specify
13
- * which pods run on which Fargate profile. This declaration is done through the profile’s
14
- * selectors. Each profile can have up to five selectors that contain a namespace and
15
- * labels. A namespace is required for every selector. The label field consists of multiple
16
- * optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a
17
- * to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is
18
- * run on Fargate.</p>
19
- * <p>When you create a Fargate profile, you must specify a pod execution role to use with the
20
- * pods that are scheduled with the profile. This role is added to the cluster's Kubernetes
21
- * <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access
22
- * Control</a> (RBAC) for authorization so that the <code>kubelet</code> that is
23
- * running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can
24
- * appear in your cluster as a node. The pod execution role also provides IAM permissions
25
- * to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more
26
- * information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
27
- * <p>Fargate profiles are immutable. However, you can create a new updated profile to replace
28
- * an existing profile and then delete the original after the updated profile has finished
29
- * creating.</p>
30
- * <p>If any Fargate profiles in a cluster are in the <code>DELETING</code> status, you must
31
- * wait for that Fargate profile to finish deleting before you can create any other profiles
32
- * in that cluster.</p>
33
- * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the <i>Amazon EKS User Guide</i>.</p>
10
+ * <p>Creates an Fargate profile for your Amazon EKS cluster. You
11
+ * must have at least one Fargate profile in a cluster to be able to run
12
+ * pods on Fargate.</p>
13
+ * <p>The Fargate profile allows an administrator to declare which pods run
14
+ * on Fargate and specify which pods run on which Fargate
15
+ * profile. This declaration is done through the profile’s selectors. Each profile can have
16
+ * up to five selectors that contain a namespace and labels. A namespace is required for
17
+ * every selector. The label field consists of multiple optional key-value pairs. Pods that
18
+ * match the selectors are scheduled on Fargate. If a to-be-scheduled pod
19
+ * matches any of the selectors in the Fargate profile, then that pod is run
20
+ * on Fargate.</p>
21
+ * <p>When you create a Fargate profile, you must specify a pod execution
22
+ * role to use with the pods that are scheduled with the profile. This role is added to the
23
+ * cluster's Kubernetes <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access Control</a> (RBAC) for authorization so that the
24
+ * <code>kubelet</code> that is running on the Fargate infrastructure
25
+ * can register with your Amazon EKS cluster so that it can appear in your cluster
26
+ * as a node. The pod execution role also provides IAM permissions to the
27
+ * Fargate infrastructure to allow read access to Amazon ECR
28
+ * image repositories. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/pod-execution-role.html">Pod
29
+ * Execution Role</a> in the <i>Amazon EKS User Guide</i>.</p>
30
+ * <p>Fargate profiles are immutable. However, you can create a new updated
31
+ * profile to replace an existing profile and then delete the original after the updated
32
+ * profile has finished creating.</p>
33
+ * <p>If any Fargate profiles in a cluster are in the <code>DELETING</code>
34
+ * status, you must wait for that Fargate profile to finish deleting before
35
+ * you can create any other profiles in that cluster.</p>
36
+ * <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/fargate-profile.html">Fargate Profile</a> in the
37
+ * <i>Amazon EKS User Guide</i>.</p>
34
38
  * @example
35
39
  * Use a bare-bones client and the command you need to make an API call.
36
40
  * ```javascript
@@ -7,15 +7,16 @@ export interface CreateNodegroupCommandInput extends CreateNodegroupRequest {
7
7
  export interface CreateNodegroupCommandOutput extends CreateNodegroupResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>Creates a managed node group for an Amazon EKS cluster. You can only create a node group
11
- * for your cluster that is equal to the current Kubernetes version for the cluster. All
12
- * node groups are created with the latest AMI release version for the respective minor
13
- * Kubernetes version of the cluster, unless you deploy a custom AMI using a launch
14
- * template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
10
+ * <p>Creates a managed node group for an Amazon EKS cluster. You can only create a
11
+ * node group for your cluster that is equal to the current Kubernetes version for the
12
+ * cluster. All node groups are created with the latest AMI release version for the
13
+ * respective minor Kubernetes version of the cluster, unless you deploy a custom AMI using
14
+ * a launch template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
15
15
  * template support</a>.</p>
16
- * <p>An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that
17
- * are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS
18
- * optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
16
+ * <p>An Amazon EKS managed node group is an Amazon EC2
17
+ * Auto Scaling group and associated Amazon EC2 instances that are managed by
18
+ * Amazon Web Services for an Amazon EKS cluster. Each node group uses a version
19
+ * of the Amazon EKS optimized Amazon Linux 2 AMI. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html">Managed
19
20
  * Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
20
21
  * @example
21
22
  * Use a bare-bones client and the command you need to make an API call.
@@ -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