@aws-sdk/client-eks 3.33.0 → 3.34.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/CHANGELOG.md +11 -0
- package/dist/cjs/package.json +39 -39
- package/dist/es/EKS.js +1 -13
- package/dist/es/EKS.js.map +1 -1
- package/dist/es/EKSClient.js +1 -18
- package/dist/es/EKSClient.js.map +1 -1
- package/dist/es/commands/AssociateEncryptionConfigCommand.js +2 -30
- package/dist/es/commands/AssociateEncryptionConfigCommand.js.map +1 -1
- package/dist/es/commands/AssociateIdentityProviderConfigCommand.js +2 -34
- package/dist/es/commands/AssociateIdentityProviderConfigCommand.js.map +1 -1
- package/dist/es/commands/CreateAddonCommand.js +2 -32
- package/dist/es/commands/CreateAddonCommand.js.map +1 -1
- package/dist/es/commands/CreateClusterCommand.js +2 -45
- package/dist/es/commands/CreateClusterCommand.js.map +1 -1
- package/dist/es/commands/CreateFargateProfileCommand.js +2 -50
- package/dist/es/commands/CreateFargateProfileCommand.js.map +1 -1
- package/dist/es/commands/CreateNodegroupCommand.js +2 -36
- package/dist/es/commands/CreateNodegroupCommand.js.map +1 -1
- package/dist/es/commands/DeleteAddonCommand.js +2 -29
- package/dist/es/commands/DeleteAddonCommand.js.map +1 -1
- package/dist/es/commands/DeleteClusterCommand.js +2 -34
- package/dist/es/commands/DeleteClusterCommand.js.map +1 -1
- package/dist/es/commands/DeleteFargateProfileCommand.js +2 -34
- package/dist/es/commands/DeleteFargateProfileCommand.js.map +1 -1
- package/dist/es/commands/DeleteNodegroupCommand.js +2 -27
- package/dist/es/commands/DeleteNodegroupCommand.js.map +1 -1
- package/dist/es/commands/DeregisterClusterCommand.js +2 -27
- package/dist/es/commands/DeregisterClusterCommand.js.map +1 -1
- package/dist/es/commands/DescribeAddonCommand.js +2 -27
- package/dist/es/commands/DescribeAddonCommand.js.map +1 -1
- package/dist/es/commands/DescribeAddonVersionsCommand.js +2 -27
- package/dist/es/commands/DescribeAddonVersionsCommand.js.map +1 -1
- package/dist/es/commands/DescribeClusterCommand.js +2 -35
- package/dist/es/commands/DescribeClusterCommand.js.map +1 -1
- package/dist/es/commands/DescribeFargateProfileCommand.js +2 -27
- package/dist/es/commands/DescribeFargateProfileCommand.js.map +1 -1
- package/dist/es/commands/DescribeIdentityProviderConfigCommand.js +2 -27
- package/dist/es/commands/DescribeIdentityProviderConfigCommand.js.map +1 -1
- package/dist/es/commands/DescribeNodegroupCommand.js +2 -27
- package/dist/es/commands/DescribeNodegroupCommand.js.map +1 -1
- package/dist/es/commands/DescribeUpdateCommand.js +2 -31
- package/dist/es/commands/DescribeUpdateCommand.js.map +1 -1
- package/dist/es/commands/DisassociateIdentityProviderConfigCommand.js +2 -30
- package/dist/es/commands/DisassociateIdentityProviderConfigCommand.js.map +1 -1
- package/dist/es/commands/ListAddonsCommand.js +2 -27
- package/dist/es/commands/ListAddonsCommand.js.map +1 -1
- package/dist/es/commands/ListClustersCommand.js +2 -27
- package/dist/es/commands/ListClustersCommand.js.map +1 -1
- package/dist/es/commands/ListFargateProfilesCommand.js +2 -28
- package/dist/es/commands/ListFargateProfilesCommand.js.map +1 -1
- package/dist/es/commands/ListIdentityProviderConfigsCommand.js +2 -27
- package/dist/es/commands/ListIdentityProviderConfigsCommand.js.map +1 -1
- package/dist/es/commands/ListNodegroupsCommand.js +2 -28
- package/dist/es/commands/ListNodegroupsCommand.js.map +1 -1
- package/dist/es/commands/ListTagsForResourceCommand.js +2 -27
- package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/es/commands/ListUpdatesCommand.js +2 -28
- package/dist/es/commands/ListUpdatesCommand.js.map +1 -1
- package/dist/es/commands/RegisterClusterCommand.js +2 -36
- package/dist/es/commands/RegisterClusterCommand.js.map +1 -1
- package/dist/es/commands/TagResourceCommand.js +2 -33
- package/dist/es/commands/TagResourceCommand.js.map +1 -1
- package/dist/es/commands/UntagResourceCommand.js +2 -27
- package/dist/es/commands/UntagResourceCommand.js.map +1 -1
- package/dist/es/commands/UpdateAddonCommand.js +2 -27
- package/dist/es/commands/UpdateAddonCommand.js.map +1 -1
- package/dist/es/commands/UpdateClusterConfigCommand.js +2 -53
- package/dist/es/commands/UpdateClusterConfigCommand.js.map +1 -1
- package/dist/es/commands/UpdateClusterVersionCommand.js +2 -37
- package/dist/es/commands/UpdateClusterVersionCommand.js.map +1 -1
- package/dist/es/commands/UpdateNodegroupConfigCommand.js +2 -31
- package/dist/es/commands/UpdateNodegroupConfigCommand.js.map +1 -1
- package/dist/es/commands/UpdateNodegroupVersionCommand.js +2 -44
- package/dist/es/commands/UpdateNodegroupVersionCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -360
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +39 -39
- package/dist/es/pagination/DescribeAddonVersionsPaginator.js +16 -28
- package/dist/es/pagination/DescribeAddonVersionsPaginator.js.map +1 -1
- package/dist/es/pagination/ListAddonsPaginator.js +16 -28
- package/dist/es/pagination/ListAddonsPaginator.js.map +1 -1
- package/dist/es/pagination/ListClustersPaginator.js +16 -28
- package/dist/es/pagination/ListClustersPaginator.js.map +1 -1
- package/dist/es/pagination/ListFargateProfilesPaginator.js +16 -28
- package/dist/es/pagination/ListFargateProfilesPaginator.js.map +1 -1
- package/dist/es/pagination/ListIdentityProviderConfigsPaginator.js +16 -28
- package/dist/es/pagination/ListIdentityProviderConfigsPaginator.js.map +1 -1
- package/dist/es/pagination/ListNodegroupsPaginator.js +16 -28
- package/dist/es/pagination/ListNodegroupsPaginator.js.map +1 -1
- package/dist/es/pagination/ListUpdatesPaginator.js +16 -28
- package/dist/es/pagination/ListUpdatesPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restJson1.js +982 -987
- package/dist/es/protocols/Aws_restJson1.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/dist/es/waiters/waitForAddonActive.js +10 -19
- package/dist/es/waiters/waitForAddonActive.js.map +1 -1
- package/dist/es/waiters/waitForAddonDeleted.js +9 -18
- package/dist/es/waiters/waitForAddonDeleted.js.map +1 -1
- package/dist/es/waiters/waitForClusterActive.js +10 -19
- package/dist/es/waiters/waitForClusterActive.js.map +1 -1
- package/dist/es/waiters/waitForClusterDeleted.js +11 -20
- package/dist/es/waiters/waitForClusterDeleted.js.map +1 -1
- package/dist/es/waiters/waitForFargateProfileActive.js +9 -18
- package/dist/es/waiters/waitForFargateProfileActive.js.map +1 -1
- package/dist/es/waiters/waitForFargateProfileDeleted.js +9 -18
- package/dist/es/waiters/waitForFargateProfileDeleted.js.map +1 -1
- package/dist/es/waiters/waitForNodegroupActive.js +9 -18
- package/dist/es/waiters/waitForNodegroupActive.js.map +1 -1
- package/dist/es/waiters/waitForNodegroupDeleted.js +9 -18
- package/dist/es/waiters/waitForNodegroupDeleted.js.map +1 -1
- package/package.json +39 -39
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +4 -5
- package/tsconfig.types.json +8 -0
|
@@ -3,44 +3,13 @@ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1TagResourceCommand, serializeAws_restJson1TagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Associates the specified tags to a resource with the specified
|
|
8
|
-
* <code>resourceArn</code>. If existing tags on a resource are not specified in the
|
|
9
|
-
* request parameters, they are not changed. When a resource is deleted, the tags
|
|
10
|
-
* associated with that resource are deleted as well. Tags that you create for Amazon EKS
|
|
11
|
-
* resources do not propagate to any other resources associated with the cluster. For
|
|
12
|
-
* example, if you tag a cluster with this operation, that tag does not automatically
|
|
13
|
-
* propagate to the subnets and nodes associated with the cluster.</p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { EKSClient, TagResourceCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
18
|
-
* // const { EKSClient, TagResourceCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
19
|
-
* const client = new EKSClient(config);
|
|
20
|
-
* const command = new TagResourceCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
29
|
-
var TagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var TagResourceCommand = (function (_super) {
|
|
30
7
|
__extends(TagResourceCommand, _super);
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
8
|
function TagResourceCommand(input) {
|
|
34
|
-
var _this =
|
|
35
|
-
// Start section: command_constructor
|
|
36
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
37
10
|
_this.input = input;
|
|
38
11
|
return _this;
|
|
39
|
-
// End section: command_constructor
|
|
40
12
|
}
|
|
41
|
-
/**
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
44
13
|
TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
45
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
46
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"TagResourceCommand.js","sourceRoot":"","sources":["../../../commands/TagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAqC7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,38 +3,13 @@ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0"
|
|
|
3
3
|
import { deserializeAws_restJson1UntagResourceCommand, serializeAws_restJson1UntagResourceCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Deletes specified tags from a resource.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { EKSClient, UntagResourceCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
12
|
-
* // const { EKSClient, UntagResourceCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
13
|
-
* const client = new EKSClient(config);
|
|
14
|
-
* const command = new UntagResourceCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UntagResourceCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UntagResourceCommand = (function (_super) {
|
|
24
7
|
__extends(UntagResourceCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UntagResourceCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AACjF,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UntagResourceCommand.js","sourceRoot":"","sources":["../../../commands/UntagResourceCommand.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zE,OAAO,0CAA0C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAEO,0CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,4CAA4C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAIH,2BAAC;AAAD,CAAC,AAtDD,CAA0C,QAAQ,GAsDjD"}
|
|
@@ -3,38 +3,13 @@ import { UpdateAddonRequest, UpdateAddonResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateAddonCommand, serializeAws_restJson1UpdateAddonCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an Amazon EKS add-on.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { EKSClient, UpdateAddonCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
12
|
-
* // const { EKSClient, UpdateAddonCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
13
|
-
* const client = new EKSClient(config);
|
|
14
|
-
* const command = new UpdateAddonCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link UpdateAddonCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link UpdateAddonCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var UpdateAddonCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateAddonCommand = (function (_super) {
|
|
24
7
|
__extends(UpdateAddonCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function UpdateAddonCommand(input) {
|
|
28
|
-
var _this =
|
|
29
|
-
// Start section: command_constructor
|
|
30
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
31
10
|
_this.input = input;
|
|
32
11
|
return _this;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
UpdateAddonCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateAddonCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAddonCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateAddonCommand.js","sourceRoot":"","sources":["../../../commands/UpdateAddonCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,0CAA0C,EAC1C,wCAAwC,GACzC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA+B7D;IAAwC,sCAIvC;IAIC,4BAAqB,KAA8B;QAAnD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;IAInD,CAAC;IAKD,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,wCAAwC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,0CAA0C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
|
|
@@ -3,64 +3,13 @@ import { UpdateClusterConfigRequest, UpdateClusterConfigResponse } from "../mode
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateClusterConfigCommand, serializeAws_restJson1UpdateClusterConfigCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an Amazon EKS cluster configuration. Your cluster continues to function during the
|
|
8
|
-
* update. The response output includes an update ID that you can use to track the status
|
|
9
|
-
* of your cluster update with the <a>DescribeUpdate</a> API operation.</p>
|
|
10
|
-
* <p>You can use this API operation to enable or disable exporting the Kubernetes control
|
|
11
|
-
* plane logs for your cluster to CloudWatch Logs. By default, cluster control plane logs aren't
|
|
12
|
-
* exported to CloudWatch Logs. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/control-plane-logs.html">Amazon EKS
|
|
13
|
-
* Cluster Control Plane Logs</a> in the
|
|
14
|
-
* <i>
|
|
15
|
-
* <i>Amazon EKS User Guide</i>
|
|
16
|
-
* </i>.</p>
|
|
17
|
-
* <note>
|
|
18
|
-
* <p>CloudWatch Logs ingestion, archive storage, and data scanning rates apply to exported
|
|
19
|
-
* control plane logs. For more information, see <a href="http://aws.amazon.com/cloudwatch/pricing/">CloudWatch Pricing</a>.</p>
|
|
20
|
-
* </note>
|
|
21
|
-
* <p>You can also use this API operation to enable or disable public and private access to
|
|
22
|
-
* your cluster's Kubernetes API server endpoint. By default, public access is enabled, and
|
|
23
|
-
* private access is disabled. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/cluster-endpoint.html">Amazon EKS cluster
|
|
24
|
-
* endpoint access control</a> in the <i>
|
|
25
|
-
* <i>Amazon EKS User Guide</i>
|
|
26
|
-
* </i>. </p>
|
|
27
|
-
* <important>
|
|
28
|
-
* <p>You can't update the subnets or security group IDs for an existing cluster.</p>
|
|
29
|
-
* </important>
|
|
30
|
-
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
31
|
-
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
32
|
-
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
33
|
-
* <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
|
|
34
|
-
* @example
|
|
35
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
-
* ```javascript
|
|
37
|
-
* import { EKSClient, UpdateClusterConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
38
|
-
* // const { EKSClient, UpdateClusterConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
39
|
-
* const client = new EKSClient(config);
|
|
40
|
-
* const command = new UpdateClusterConfigCommand(input);
|
|
41
|
-
* const response = await client.send(command);
|
|
42
|
-
* ```
|
|
43
|
-
*
|
|
44
|
-
* @see {@link UpdateClusterConfigCommandInput} for command's `input` shape.
|
|
45
|
-
* @see {@link UpdateClusterConfigCommandOutput} for command's `response` shape.
|
|
46
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
47
|
-
*
|
|
48
|
-
*/
|
|
49
|
-
var UpdateClusterConfigCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateClusterConfigCommand = (function (_super) {
|
|
50
7
|
__extends(UpdateClusterConfigCommand, _super);
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
8
|
function UpdateClusterConfigCommand(input) {
|
|
54
|
-
var _this =
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
57
10
|
_this.input = input;
|
|
58
11
|
return _this;
|
|
59
|
-
// End section: command_constructor
|
|
60
12
|
}
|
|
61
|
-
/**
|
|
62
|
-
* @internal
|
|
63
|
-
*/
|
|
64
13
|
UpdateClusterConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
65
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateClusterConfigCommand.js","sourceRoot":"","sources":["../../../commands/UpdateClusterConfigCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateClusterConfigCommand.js","sourceRoot":"","sources":["../../../commands/UpdateClusterConfigCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AAC7F,OAAO,EACL,kDAAkD,EAClD,gDAAgD,GACjD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyD7D;IAAgD,8CAI/C;IAIC,oCAAqB,KAAsC;QAA3D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiC;;IAI3D,CAAC;IAKD,sDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,4BAA4B,CAAC;QACjD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0BAA0B,CAAC,kBAAkB;YACtE,wBAAwB,EAAE,2BAA2B,CAAC,kBAAkB;SACzE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,gDAAgD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,kDAAkD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAtDD,CAAgD,QAAQ,GAsDvD"}
|
|
@@ -3,48 +3,13 @@ import { UpdateClusterVersionRequest, UpdateClusterVersionResponse } from "../mo
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateClusterVersionCommand, serializeAws_restJson1UpdateClusterVersionCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an Amazon EKS cluster to the specified Kubernetes version. Your cluster continues
|
|
8
|
-
* to function during the update. The response output includes an update ID that you can
|
|
9
|
-
* use to track the status of your cluster update with the <a>DescribeUpdate</a>
|
|
10
|
-
* API operation.</p>
|
|
11
|
-
* <p>Cluster updates are asynchronous, and they should finish within a few minutes. During
|
|
12
|
-
* an update, the cluster status moves to <code>UPDATING</code> (this status transition is
|
|
13
|
-
* eventually consistent). When the update is complete (either <code>Failed</code> or
|
|
14
|
-
* <code>Successful</code>), the cluster status moves to <code>Active</code>.</p>
|
|
15
|
-
* <p>If your cluster has managed node groups attached to it, all of your node groups’
|
|
16
|
-
* Kubernetes versions must match the cluster’s Kubernetes version in order to update the
|
|
17
|
-
* cluster to a new Kubernetes version.</p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { EKSClient, UpdateClusterVersionCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
22
|
-
* // const { EKSClient, UpdateClusterVersionCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
23
|
-
* const client = new EKSClient(config);
|
|
24
|
-
* const command = new UpdateClusterVersionCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link UpdateClusterVersionCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link UpdateClusterVersionCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var UpdateClusterVersionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateClusterVersionCommand = (function (_super) {
|
|
34
7
|
__extends(UpdateClusterVersionCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
8
|
function UpdateClusterVersionCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
41
10
|
_this.input = input;
|
|
42
11
|
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
12
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
13
|
UpdateClusterVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateClusterVersionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateClusterVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateClusterVersionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateClusterVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL,mDAAmD,EACnD,iDAAiD,GAClD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAyC7D;IAAiD,+CAIhD;IAIC,qCAAqB,KAAuC;QAA5D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAkC;;IAI5D,CAAC;IAKD,uDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,6BAA6B,CAAC;QAClD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,2BAA2B,CAAC,kBAAkB;YACvE,wBAAwB,EAAE,4BAA4B,CAAC,kBAAkB;SAC1E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,+CAAS,GAAjB,UAAkB,KAAuC,EAAE,OAAuB;QAChF,OAAO,iDAAiD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAEO,iDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,mDAAmD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAtDD,CAAiD,QAAQ,GAsDxD"}
|
|
@@ -3,42 +3,13 @@ import { UpdateNodegroupConfigRequest, UpdateNodegroupConfigResponse } from "../
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateNodegroupConfigCommand, serializeAws_restJson1UpdateNodegroupConfigCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates an Amazon EKS managed node group configuration. Your node group continues to
|
|
8
|
-
* function during the update. The response output includes an update ID that you can use
|
|
9
|
-
* to track the status of your node group update with the <a>DescribeUpdate</a>
|
|
10
|
-
* API operation. Currently you can update the Kubernetes labels for a node group or the
|
|
11
|
-
* scaling configuration.</p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { EKSClient, UpdateNodegroupConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
16
|
-
* // const { EKSClient, UpdateNodegroupConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
17
|
-
* const client = new EKSClient(config);
|
|
18
|
-
* const command = new UpdateNodegroupConfigCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link UpdateNodegroupConfigCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link UpdateNodegroupConfigCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
|
-
var UpdateNodegroupConfigCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateNodegroupConfigCommand = (function (_super) {
|
|
28
7
|
__extends(UpdateNodegroupConfigCommand, _super);
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
8
|
function UpdateNodegroupConfigCommand(input) {
|
|
32
|
-
var _this =
|
|
33
|
-
// Start section: command_constructor
|
|
34
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
35
10
|
_this.input = input;
|
|
36
11
|
return _this;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
UpdateNodegroupConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateNodegroupConfigCommand.js","sourceRoot":"","sources":["../../../commands/UpdateNodegroupConfigCommand.ts"],"names":[],"mappings":";AACA,OAA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AwB,EAAE,6BAA6B,CAAC,kBAAkB;SAC3E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,gDAAS,GAAjB,UAAkB,KAAwC,EAAE,OAAuB;QACjF,OAAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,kDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,mCAAC;AAAD,CAAC,AAtDD,CAAkD,QAAQ,GAsDzD"}
|
|
@@ -3,55 +3,13 @@ import { UpdateNodegroupVersionRequest, UpdateNodegroupVersionResponse } from ".
|
|
|
3
3
|
import { deserializeAws_restJson1UpdateNodegroupVersionCommand, serializeAws_restJson1UpdateNodegroupVersionCommand, } from "../protocols/Aws_restJson1";
|
|
4
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
|
-
|
|
7
|
-
* <p>Updates the Kubernetes version or AMI version of an Amazon EKS managed node group.</p>
|
|
8
|
-
* <p>You can update a node group using a launch template only if the node group was
|
|
9
|
-
* originally deployed with a launch template. If you need to update a custom AMI in a node
|
|
10
|
-
* group that was deployed with a launch template, then update your custom AMI, specify the
|
|
11
|
-
* new ID in a new version of the launch template, and then update the node group to the
|
|
12
|
-
* new version of the launch template.</p>
|
|
13
|
-
* <p>If you update without a launch template, then you can update to the latest available
|
|
14
|
-
* AMI version of a node group's current Kubernetes version by not specifying a Kubernetes
|
|
15
|
-
* version in the request. You can update to the latest AMI version of your cluster's
|
|
16
|
-
* current Kubernetes version by specifying your cluster's Kubernetes version in the
|
|
17
|
-
* request. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/eks-linux-ami-versions.html">Amazon EKS
|
|
18
|
-
* optimized Amazon Linux 2 AMI versions</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
19
|
-
* <p>You cannot roll back a node group to an earlier Kubernetes version or AMI
|
|
20
|
-
* version.</p>
|
|
21
|
-
* <p>When a node in a managed node group is terminated due to a scaling action or update,
|
|
22
|
-
* the pods in that node are drained first. Amazon EKS attempts to drain the nodes gracefully
|
|
23
|
-
* and will fail if it is unable to do so. You can <code>force</code> the update if Amazon EKS
|
|
24
|
-
* is unable to drain the nodes as a result of a pod disruption budget issue.</p>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { EKSClient, UpdateNodegroupVersionCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
29
|
-
* // const { EKSClient, UpdateNodegroupVersionCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
30
|
-
* const client = new EKSClient(config);
|
|
31
|
-
* const command = new UpdateNodegroupVersionCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link UpdateNodegroupVersionCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link UpdateNodegroupVersionCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
var UpdateNodegroupVersionCommand = /** @class */ (function (_super) {
|
|
6
|
+
var UpdateNodegroupVersionCommand = (function (_super) {
|
|
41
7
|
__extends(UpdateNodegroupVersionCommand, _super);
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
8
|
function UpdateNodegroupVersionCommand(input) {
|
|
45
|
-
var _this =
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
48
10
|
_this.input = input;
|
|
49
11
|
return _this;
|
|
50
|
-
// End section: command_constructor
|
|
51
12
|
}
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
13
|
UpdateNodegroupVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
56
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
57
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateNodegroupVersionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateNodegroupVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"UpdateNodegroupVersionCommand.js","sourceRoot":"","sources":["../../../commands/UpdateNodegroupVersionCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACnG,OAAO,EACL,qDAAqD,EACrD,mDAAmD,GACpD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAgD7D;IAAmD,iDAIlD;IAIC,uCAAqB,KAAyC;QAA9D,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAoC;;IAI9D,CAAC;IAKD,yDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,+BAA+B,CAAC;QACpD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,6BAA6B,CAAC,kBAAkB;YACzE,wBAAwB,EAAE,8BAA8B,CAAC,kBAAkB;SAC5E,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,iDAAS,GAAjB,UAAkB,KAAyC,EAAE,OAAuB;QAClF,OAAO,mDAAmD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAEO,mDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,qDAAqD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAIH,oCAAC;AAAD,CAAC,AAtDD,CAAmD,QAAQ,GAsD1D"}
|
package/dist/es/endpoints.js
CHANGED
|
@@ -76,7 +76,7 @@ var partitionHash = {
|
|
|
76
76
|
};
|
|
77
77
|
export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
|
|
78
78
|
return __generator(this, function (_a) {
|
|
79
|
-
return [2
|
|
79
|
+
return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "eks", regionHash: regionHash, partitionHash: partitionHash }))];
|
|
80
80
|
});
|
|
81
81
|
}); };
|
|
82
82
|
//# sourceMappingURL=endpoints.js.map
|
package/dist/es/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","sourceRoot":"","sources":["../../endpoints.ts"],"names":[],"mappings":";AAAA,OAAO,EAA6B,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAGpF,IAAM,UAAU,GAAe;IAC7B,gBAAgB,EAAE;QAChB,QAAQ,EAAE,kCAAkC;QAC5C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,kCAAkC;QAC5C,aAAa,EAAE,WAAW;KAC3B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,iCAAiC;QAC3C,aAAa,EAAE,eAAe;KAC/B;IACD,oBAAoB,EAAE;QACpB,QAAQ,EAAE,iCAAiC;QAC3C,aAAa,EAAE,eAAe;KAC/B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,kCAAkC;QAC5C,aAAa,EAAE,WAAW;KAC3B;IACD,gBAAgB,EAAE;QAChB,QAAQ,EAAE,kCAAkC;QAC5C,aAAa,EAAE,WAAW;KAC3B;CACF,CAAC;AAEF,IAAM,aAAa,GAAkB;IACnC,GAAG,EAAE;QACH,OAAO,EAAE;YACP,YAAY;YACZ,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,gBAAgB;YAChB,gBAAgB;YAChB,cAAc;YACd,cAAc;YACd,YAAY;YACZ,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,gBAAgB;YAChB,YAAY;YACZ,WAAW;YACX,WAAW;YACX,WAAW;YACX,WAAW;YACX,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