@aws-sdk/client-eks 3.30.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 +38 -0
- package/EKS.ts +83 -0
- package/EKSClient.ts +6 -0
- package/commands/DeregisterClusterCommand.ts +94 -0
- package/commands/RegisterClusterCommand.ts +103 -0
- package/dist/cjs/EKS.js +30 -0
- package/dist/cjs/EKS.js.map +1 -1
- package/dist/cjs/EKSClient.js +13 -13
- package/dist/cjs/EKSClient.js.map +1 -1
- package/dist/cjs/commands/AssociateEncryptionConfigCommand.js +3 -3
- package/dist/cjs/commands/AssociateEncryptionConfigCommand.js.map +1 -1
- package/dist/cjs/commands/AssociateIdentityProviderConfigCommand.js +3 -3
- package/dist/cjs/commands/AssociateIdentityProviderConfigCommand.js.map +1 -1
- package/dist/cjs/commands/CreateAddonCommand.js +3 -3
- package/dist/cjs/commands/CreateAddonCommand.js.map +1 -1
- package/dist/cjs/commands/CreateClusterCommand.js +3 -3
- package/dist/cjs/commands/CreateClusterCommand.js.map +1 -1
- package/dist/cjs/commands/CreateFargateProfileCommand.js +3 -3
- package/dist/cjs/commands/CreateFargateProfileCommand.js.map +1 -1
- package/dist/cjs/commands/CreateNodegroupCommand.js +3 -3
- package/dist/cjs/commands/CreateNodegroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteAddonCommand.js +3 -3
- package/dist/cjs/commands/DeleteAddonCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist/cjs/commands/DeleteClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteFargateProfileCommand.js +3 -3
- package/dist/cjs/commands/DeleteFargateProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DeleteNodegroupCommand.js +3 -3
- package/dist/cjs/commands/DeleteNodegroupCommand.js.map +1 -1
- package/dist/cjs/commands/DeregisterClusterCommand.js +61 -0
- package/dist/cjs/commands/DeregisterClusterCommand.js.map +1 -0
- package/dist/cjs/commands/DescribeAddonCommand.js +3 -3
- package/dist/cjs/commands/DescribeAddonCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeAddonVersionsCommand.js +3 -3
- package/dist/cjs/commands/DescribeAddonVersionsCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeClusterCommand.js +3 -3
- package/dist/cjs/commands/DescribeClusterCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeFargateProfileCommand.js +3 -3
- package/dist/cjs/commands/DescribeFargateProfileCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeIdentityProviderConfigCommand.js +3 -3
- package/dist/cjs/commands/DescribeIdentityProviderConfigCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeNodegroupCommand.js +3 -3
- package/dist/cjs/commands/DescribeNodegroupCommand.js.map +1 -1
- package/dist/cjs/commands/DescribeUpdateCommand.js +3 -3
- package/dist/cjs/commands/DescribeUpdateCommand.js.map +1 -1
- package/dist/cjs/commands/DisassociateIdentityProviderConfigCommand.js +3 -3
- package/dist/cjs/commands/DisassociateIdentityProviderConfigCommand.js.map +1 -1
- package/dist/cjs/commands/ListAddonsCommand.js +3 -3
- package/dist/cjs/commands/ListAddonsCommand.js.map +1 -1
- package/dist/cjs/commands/ListClustersCommand.js +3 -3
- package/dist/cjs/commands/ListClustersCommand.js.map +1 -1
- package/dist/cjs/commands/ListFargateProfilesCommand.js +3 -3
- package/dist/cjs/commands/ListFargateProfilesCommand.js.map +1 -1
- package/dist/cjs/commands/ListIdentityProviderConfigsCommand.js +3 -3
- package/dist/cjs/commands/ListIdentityProviderConfigsCommand.js.map +1 -1
- package/dist/cjs/commands/ListNodegroupsCommand.js +3 -3
- package/dist/cjs/commands/ListNodegroupsCommand.js.map +1 -1
- package/dist/cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist/cjs/commands/ListTagsForResourceCommand.js.map +1 -1
- package/dist/cjs/commands/ListUpdatesCommand.js +3 -3
- package/dist/cjs/commands/ListUpdatesCommand.js.map +1 -1
- package/dist/cjs/commands/RegisterClusterCommand.js +70 -0
- package/dist/cjs/commands/RegisterClusterCommand.js.map +1 -0
- package/dist/cjs/commands/TagResourceCommand.js +3 -3
- package/dist/cjs/commands/TagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UntagResourceCommand.js +3 -3
- package/dist/cjs/commands/UntagResourceCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateAddonCommand.js +3 -3
- package/dist/cjs/commands/UpdateAddonCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateClusterConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateClusterConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateClusterVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateClusterVersionCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateNodegroupConfigCommand.js +3 -3
- package/dist/cjs/commands/UpdateNodegroupConfigCommand.js.map +1 -1
- package/dist/cjs/commands/UpdateNodegroupVersionCommand.js +3 -3
- package/dist/cjs/commands/UpdateNodegroupVersionCommand.js.map +1 -1
- package/dist/cjs/endpoints.js +1 -1
- package/dist/cjs/endpoints.js.map +1 -1
- package/dist/cjs/index.js +53 -51
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models/index.js +1 -1
- package/dist/cjs/models/index.js.map +1 -1
- package/dist/cjs/models/models_0.js +69 -3
- package/dist/cjs/models/models_0.js.map +1 -1
- package/dist/cjs/package.json +40 -40
- package/dist/cjs/protocols/Aws_restJson1.js +453 -219
- package/dist/cjs/protocols/Aws_restJson1.js.map +1 -1
- package/dist/cjs/runtimeConfig.browser.js +4 -4
- package/dist/cjs/runtimeConfig.browser.js.map +1 -1
- package/dist/cjs/runtimeConfig.js +8 -8
- package/dist/cjs/runtimeConfig.js.map +1 -1
- package/dist/cjs/runtimeConfig.native.js +1 -1
- package/dist/cjs/runtimeConfig.native.js.map +1 -1
- package/dist/cjs/waiters/waitForAddonActive.js +3 -3
- package/dist/cjs/waiters/waitForAddonActive.js.map +1 -1
- package/dist/cjs/waiters/waitForAddonDeleted.js +3 -3
- package/dist/cjs/waiters/waitForAddonDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForClusterActive.js +3 -3
- package/dist/cjs/waiters/waitForClusterActive.js.map +1 -1
- package/dist/cjs/waiters/waitForClusterDeleted.js +12 -3
- package/dist/cjs/waiters/waitForClusterDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForFargateProfileActive.js +3 -3
- package/dist/cjs/waiters/waitForFargateProfileActive.js.map +1 -1
- package/dist/cjs/waiters/waitForFargateProfileDeleted.js +3 -3
- package/dist/cjs/waiters/waitForFargateProfileDeleted.js.map +1 -1
- package/dist/cjs/waiters/waitForNodegroupActive.js +3 -3
- package/dist/cjs/waiters/waitForNodegroupActive.js.map +1 -1
- package/dist/cjs/waiters/waitForNodegroupDeleted.js +3 -3
- package/dist/cjs/waiters/waitForNodegroupDeleted.js.map +1 -1
- package/dist/es/EKS.js +31 -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 +40 -0
- package/dist/es/commands/DeregisterClusterCommand.js.map +1 -0
- 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 +40 -0
- package/dist/es/commands/RegisterClusterCommand.js.map +1 -0
- 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/index.js +2 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/models_0.js +36 -342
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +40 -40
- 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 +1197 -938
- 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 +20 -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/dist/types/EKS.d.ts +23 -0
- package/dist/types/EKSClient.d.ts +4 -2
- package/dist/types/commands/DeregisterClusterCommand.d.ts +35 -0
- package/dist/types/commands/RegisterClusterCommand.d.ts +44 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/models/models_0.d.ts +129 -3
- package/dist/types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist/types/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/runtimeConfig.d.ts +1 -0
- package/dist/types/runtimeConfig.native.d.ts +1 -0
- package/dist/types/ts3.4/EKS.d.ts +23 -0
- package/dist/types/ts3.4/EKSClient.d.ts +4 -2
- package/dist/types/ts3.4/commands/DeregisterClusterCommand.d.ts +35 -0
- package/dist/types/ts3.4/commands/RegisterClusterCommand.d.ts +44 -0
- package/dist/types/ts3.4/index.d.ts +2 -0
- package/dist/types/ts3.4/models/models_0.d.ts +129 -3
- package/dist/types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist/types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist/types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/index.ts +2 -0
- package/models/models_0.ts +163 -3
- package/package.json +40 -40
- package/protocols/Aws_restJson1.ts +273 -7
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -5
- package/tsconfig.types.json +8 -0
- package/waiters/waitForClusterDeleted.ts +8 -0
|
@@ -3,41 +3,13 @@ import { AssociateEncryptionConfigRequest, AssociateEncryptionConfigResponse } f
|
|
|
3
3
|
import { deserializeAws_restJson1AssociateEncryptionConfigCommand, serializeAws_restJson1AssociateEncryptionConfigCommand, } 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>Associate encryption configuration to an existing cluster.</p>
|
|
8
|
-
* <p>You can use this API to enable encryption on existing clusters which do not have
|
|
9
|
-
* encryption already enabled. This allows you to implement a defense-in-depth security
|
|
10
|
-
* strategy without migrating applications to new Amazon EKS clusters.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { EKSClient, AssociateEncryptionConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
15
|
-
* // const { EKSClient, AssociateEncryptionConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
16
|
-
* const client = new EKSClient(config);
|
|
17
|
-
* const command = new AssociateEncryptionConfigCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link AssociateEncryptionConfigCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link AssociateEncryptionConfigCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
|
-
var AssociateEncryptionConfigCommand = /** @class */ (function (_super) {
|
|
6
|
+
var AssociateEncryptionConfigCommand = (function (_super) {
|
|
27
7
|
__extends(AssociateEncryptionConfigCommand, _super);
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
8
|
function AssociateEncryptionConfigCommand(input) {
|
|
31
|
-
var _this =
|
|
32
|
-
// Start section: command_constructor
|
|
33
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
34
10
|
_this.input = input;
|
|
35
11
|
return _this;
|
|
36
|
-
// End section: command_constructor
|
|
37
12
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
13
|
AssociateEncryptionConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
42
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssociateEncryptionConfigCommand.js","sourceRoot":"","sources":["../../../commands/AssociateEncryptionConfigCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,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":"AssociateEncryptionConfigCommand.js","sourceRoot":"","sources":["../../../commands/AssociateEncryptionConfigCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,gCAAgC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AACzG,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAkC7D;IAAsD,oDAIrD;IAIC,0CAAqB,KAA4C;QAAjE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAuC;;IAIjE,CAAC;IAKD,4DAAiB,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,kCAAkC,CAAC;QACvD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,gCAAgC,CAAC,kBAAkB;YAC5E,wBAAwB,EAAE,iCAAiC,CAAC,kBAAkB;SAC/E,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,oDAAS,GAAjB,UAAkB,KAA4C,EAAE,OAAuB;QACrF,OAAO,sDAAsD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChF,CAAC;IAEO,sDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,wDAAwD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnF,CAAC;IAIH,uCAAC;AAAD,CAAC,AAzDD,CAAsD,QAAQ,GAyD7D"}
|
|
@@ -3,45 +3,13 @@ import { AssociateIdentityProviderConfigRequest, AssociateIdentityProviderConfig
|
|
|
3
3
|
import { deserializeAws_restJson1AssociateIdentityProviderConfigCommand, serializeAws_restJson1AssociateIdentityProviderConfigCommand, } 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>Associate an identity provider configuration to a cluster.</p>
|
|
8
|
-
* <p>If you want to authenticate identities using an identity provider, you can create an
|
|
9
|
-
* identity provider configuration and associate it to your cluster. After configuring
|
|
10
|
-
* authentication to your cluster you can create Kubernetes <code>roles</code> and
|
|
11
|
-
* <code>clusterroles</code> to assign permissions to the roles, and then bind the
|
|
12
|
-
* roles to the identities using Kubernetes <code>rolebindings</code> and
|
|
13
|
-
* <code>clusterrolebindings</code>. For more information see <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/">Using RBAC
|
|
14
|
-
* Authorization</a> in the Kubernetes documentation.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { EKSClient, AssociateIdentityProviderConfigCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
19
|
-
* // const { EKSClient, AssociateIdentityProviderConfigCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
20
|
-
* const client = new EKSClient(config);
|
|
21
|
-
* const command = new AssociateIdentityProviderConfigCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link AssociateIdentityProviderConfigCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link AssociateIdentityProviderConfigCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var AssociateIdentityProviderConfigCommand = /** @class */ (function (_super) {
|
|
6
|
+
var AssociateIdentityProviderConfigCommand = (function (_super) {
|
|
31
7
|
__extends(AssociateIdentityProviderConfigCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function AssociateIdentityProviderConfigCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
AssociateIdentityProviderConfigCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AssociateIdentityProviderConfigCommand.js","sourceRoot":"","sources":["../../../commands/AssociateIdentityProviderConfigCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,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":"AssociateIdentityProviderConfigCommand.js","sourceRoot":"","sources":["../../../commands/AssociateIdentityProviderConfigCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,uCAAuC,EAAE,MAAM,oBAAoB,CAAC;AACrH,OAAO,EACL,8DAA8D,EAC9D,4DAA4D,GAC7D,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAA4D,0DAI3D;IAIC,gDAAqB,KAAkD;QAAvE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6C;;IAIvE,CAAC;IAKD,kEAAiB,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,wCAAwC,CAAC;QAC7D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sCAAsC,CAAC,kBAAkB;YAClF,wBAAwB,EAAE,uCAAuC,CAAC,kBAAkB;SACrF,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,0DAAS,GAAjB,UACE,KAAkD,EAClD,OAAuB;QAEvB,OAAO,4DAA4D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAEO,4DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,8DAA8D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzF,CAAC;IAIH,6CAAC;AAAD,CAAC,AA5DD,CAA4D,QAAQ,GA4DnE"}
|
|
@@ -3,43 +3,13 @@ import { CreateAddonRequest, CreateAddonResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1CreateAddonCommand, serializeAws_restJson1CreateAddonCommand, } 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>Creates an Amazon EKS add-on.</p>
|
|
8
|
-
* <p>Amazon EKS add-ons help to automate the provisioning and lifecycle management of common
|
|
9
|
-
* operational software for Amazon EKS clusters. Amazon EKS add-ons can only be used with Amazon EKS
|
|
10
|
-
* clusters running version 1.18 with platform version <code>eks.3</code> or later because
|
|
11
|
-
* add-ons rely on the Server-side Apply Kubernetes feature, which is only available in
|
|
12
|
-
* Kubernetes 1.18 and later.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { EKSClient, CreateAddonCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
17
|
-
* // const { EKSClient, CreateAddonCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
18
|
-
* const client = new EKSClient(config);
|
|
19
|
-
* const command = new CreateAddonCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link CreateAddonCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link CreateAddonCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var CreateAddonCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateAddonCommand = (function (_super) {
|
|
29
7
|
__extends(CreateAddonCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
8
|
function CreateAddonCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
36
10
|
_this.input = input;
|
|
37
11
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
CreateAddonCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateAddonCommand.js","sourceRoot":"","sources":["../../../commands/CreateAddonCommand.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":"CreateAddonCommand.js","sourceRoot":"","sources":["../../../commands/CreateAddonCommand.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;AAoC7D;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,56 +3,13 @@ import { CreateClusterRequest, CreateClusterResponse } from "../models/models_0"
|
|
|
3
3
|
import { deserializeAws_restJson1CreateClusterCommand, serializeAws_restJson1CreateClusterCommand, } 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>Creates an Amazon EKS control plane. </p>
|
|
8
|
-
* <p>The Amazon EKS control plane consists of control plane instances that run the Kubernetes
|
|
9
|
-
* software, such as <code>etcd</code> and the API server. The control plane runs in an
|
|
10
|
-
* account managed by Amazon Web Services, and the Kubernetes API is exposed via the Amazon EKS API server
|
|
11
|
-
* endpoint. Each Amazon EKS cluster control plane is single-tenant and unique and runs on its
|
|
12
|
-
* own set of Amazon EC2 instances.</p>
|
|
13
|
-
* <p>The cluster control plane is provisioned across multiple Availability Zones and
|
|
14
|
-
* fronted by an Elastic Load Balancing Network Load Balancer. Amazon EKS also provisions elastic network interfaces in your VPC
|
|
15
|
-
* subnets to provide connectivity from the control plane instances to the nodes (for
|
|
16
|
-
* example, to support <code>kubectl exec</code>, <code>logs</code>, and <code>proxy</code>
|
|
17
|
-
* data flows).</p>
|
|
18
|
-
* <p>Amazon EKS nodes run in your Amazon Web Services account and connect to your cluster's control plane via
|
|
19
|
-
* the Kubernetes API server endpoint and a certificate file that is created for your
|
|
20
|
-
* cluster.</p>
|
|
21
|
-
*
|
|
22
|
-
* <p>Cluster creation typically takes several minutes. After you create an Amazon EKS cluster,
|
|
23
|
-
* you must configure your Kubernetes tooling to communicate with the API server and launch
|
|
24
|
-
* nodes into your cluster. For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/managing-auth.html">Managing Cluster
|
|
25
|
-
* 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>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { EKSClient, CreateClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
30
|
-
* // const { EKSClient, CreateClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
31
|
-
* const client = new EKSClient(config);
|
|
32
|
-
* const command = new CreateClusterCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link CreateClusterCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link CreateClusterCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
var CreateClusterCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateClusterCommand = (function (_super) {
|
|
42
7
|
__extends(CreateClusterCommand, _super);
|
|
43
|
-
// Start section: command_properties
|
|
44
|
-
// End section: command_properties
|
|
45
8
|
function CreateClusterCommand(input) {
|
|
46
|
-
var _this =
|
|
47
|
-
// Start section: command_constructor
|
|
48
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
49
10
|
_this.input = input;
|
|
50
11
|
return _this;
|
|
51
|
-
// End section: command_constructor
|
|
52
12
|
}
|
|
53
|
-
/**
|
|
54
|
-
* @internal
|
|
55
|
-
*/
|
|
56
13
|
CreateClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
57
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
58
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateClusterCommand.js","sourceRoot":"","sources":["../../../commands/CreateClusterCommand.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":"CreateClusterCommand.js","sourceRoot":"","sources":["../../../commands/CreateClusterCommand.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;AAiD7D;IAA0C,wCAIzC;IAIC,8BAAqB,KAAgC;QAArD,YAEE,iBAAO,SAER;QAJoB,WAA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ommand, serializeAws_restJson1CreateFargateProfileCommand, } 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>Creates an Fargate profile for your Amazon EKS cluster. You must have at least one Fargate
|
|
8
|
-
* profile in a cluster to be able to run pods on Fargate.</p>
|
|
9
|
-
* <p>The Fargate profile allows an administrator to declare which pods run on Fargate and specify
|
|
10
|
-
* which pods run on which Fargate profile. This declaration is done through the profile’s
|
|
11
|
-
* selectors. Each profile can have up to five selectors that contain a namespace and
|
|
12
|
-
* labels. A namespace is required for every selector. The label field consists of multiple
|
|
13
|
-
* optional key-value pairs. Pods that match the selectors are scheduled on Fargate. If a
|
|
14
|
-
* to-be-scheduled pod matches any of the selectors in the Fargate profile, then that pod is
|
|
15
|
-
* run on Fargate.</p>
|
|
16
|
-
* <p>When you create a Fargate profile, you must specify a pod execution role to use with the
|
|
17
|
-
* pods that are scheduled with the profile. This role is added to the cluster's Kubernetes
|
|
18
|
-
* <a href="https://kubernetes.io/docs/admin/authorization/rbac/">Role Based Access
|
|
19
|
-
* Control</a> (RBAC) for authorization so that the <code>kubelet</code> that is
|
|
20
|
-
* running on the Fargate infrastructure can register with your Amazon EKS cluster so that it can
|
|
21
|
-
* appear in your cluster as a node. The pod execution role also provides IAM permissions
|
|
22
|
-
* to the Fargate infrastructure to allow read access to Amazon ECR image repositories. For more
|
|
23
|
-
* 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>
|
|
24
|
-
* <p>Fargate profiles are immutable. However, you can create a new updated profile to replace
|
|
25
|
-
* an existing profile and then delete the original after the updated profile has finished
|
|
26
|
-
* creating.</p>
|
|
27
|
-
* <p>If any Fargate profiles in a cluster are in the <code>DELETING</code> status, you must
|
|
28
|
-
* wait for that Fargate profile to finish deleting before you can create any other profiles
|
|
29
|
-
* in that cluster.</p>
|
|
30
|
-
* <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>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { EKSClient, CreateFargateProfileCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
35
|
-
* // const { EKSClient, CreateFargateProfileCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
36
|
-
* const client = new EKSClient(config);
|
|
37
|
-
* const command = new CreateFargateProfileCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateFargateProfileCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateFargateProfileCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
var CreateFargateProfileCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateFargateProfileCommand = (function (_super) {
|
|
47
7
|
__extends(CreateFargateProfileCommand, _super);
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
8
|
function CreateFargateProfileCommand(input) {
|
|
51
|
-
var _this =
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
54
10
|
_this.input = input;
|
|
55
11
|
return _this;
|
|
56
|
-
// End section: command_constructor
|
|
57
12
|
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
13
|
CreateFargateProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
62
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateFargateProfileCommand.js","sourceRoot":"","sources":["../../../commands/CreateFargateProfileCommand.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":"CreateFargateProfileCommand.js","sourceRoot":"","sources":["../../../commands/CreateFargateProfileCommand.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;AAsD7D;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,47 +3,13 @@ import { CreateNodegroupRequest, CreateNodegroupResponse } from "../models/model
|
|
|
3
3
|
import { deserializeAws_restJson1CreateNodegroupCommand, serializeAws_restJson1CreateNodegroupCommand, } 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>Creates a managed node group for an Amazon EKS cluster. You can only create a node group
|
|
8
|
-
* for your cluster that is equal to the current Kubernetes version for the cluster. All
|
|
9
|
-
* node groups are created with the latest AMI release version for the respective minor
|
|
10
|
-
* Kubernetes version of the cluster, unless you deploy a custom AMI using a launch
|
|
11
|
-
* template. For more information about using launch templates, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html">Launch
|
|
12
|
-
* template support</a>.</p>
|
|
13
|
-
* <p>An Amazon EKS managed node group is an Amazon EC2 Auto Scaling group and associated Amazon EC2 instances that
|
|
14
|
-
* are managed by Amazon Web Services for an Amazon EKS cluster. Each node group uses a version of the Amazon EKS
|
|
15
|
-
* 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
|
-
* Node Groups</a> in the <i>Amazon EKS User Guide</i>. </p>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { EKSClient, CreateNodegroupCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
21
|
-
* // const { EKSClient, CreateNodegroupCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
22
|
-
* const client = new EKSClient(config);
|
|
23
|
-
* const command = new CreateNodegroupCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link CreateNodegroupCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link CreateNodegroupCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var CreateNodegroupCommand = /** @class */ (function (_super) {
|
|
6
|
+
var CreateNodegroupCommand = (function (_super) {
|
|
33
7
|
__extends(CreateNodegroupCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
8
|
function CreateNodegroupCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
40
10
|
_this.input = input;
|
|
41
11
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
CreateNodegroupCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateNodegroupCommand.js","sourceRoot":"","sources":["../../../commands/CreateNodegroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,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":"CreateNodegroupCommand.js","sourceRoot":"","sources":["../../../commands/CreateNodegroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAA4C,0CAI3C;IAIC,gCAAqB,KAAkC;QAAvD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;;IAIvD,CAAC;IAKD,kDAAiB,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,wBAAwB,CAAC;QAC7C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sBAAsB,CAAC,kBAAkB;YAClE,wBAAwB,EAAE,uBAAuB,CAAC,kBAAkB;SACrE,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,0CAAS,GAAjB,UAAkB,KAAkC,EAAE,OAAuB;QAC3E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,4CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,6BAAC;AAAD,CAAC,AAtDD,CAA4C,QAAQ,GAsDnD"}
|
|
@@ -3,40 +3,13 @@ import { DeleteAddonRequest, DeleteAddonResponse } from "../models/models_0";
|
|
|
3
3
|
import { deserializeAws_restJson1DeleteAddonCommand, serializeAws_restJson1DeleteAddonCommand, } 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>Delete an Amazon EKS add-on.</p>
|
|
8
|
-
* <p>When you remove the add-on, it will also be deleted from the cluster. You can always
|
|
9
|
-
* manually start an add-on on the cluster using the Kubernetes API.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { EKSClient, DeleteAddonCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
14
|
-
* // const { EKSClient, DeleteAddonCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
15
|
-
* const client = new EKSClient(config);
|
|
16
|
-
* const command = new DeleteAddonCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteAddonCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteAddonCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
|
-
var DeleteAddonCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteAddonCommand = (function (_super) {
|
|
26
7
|
__extends(DeleteAddonCommand, _super);
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
8
|
function DeleteAddonCommand(input) {
|
|
30
|
-
var _this =
|
|
31
|
-
// Start section: command_constructor
|
|
32
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
33
10
|
_this.input = input;
|
|
34
11
|
return _this;
|
|
35
|
-
// End section: command_constructor
|
|
36
12
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
13
|
DeleteAddonCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
41
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteAddonCommand.js","sourceRoot":"","sources":["../../../commands/DeleteAddonCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAm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jE,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,45 +3,13 @@ import { DeleteClusterRequest, DeleteClusterResponse } from "../models/models_0"
|
|
|
3
3
|
import { deserializeAws_restJson1DeleteClusterCommand, serializeAws_restJson1DeleteClusterCommand, } 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 the Amazon EKS cluster control plane.</p>
|
|
8
|
-
* <p>If you have active services in your cluster that are associated with a load balancer,
|
|
9
|
-
* you must delete those services before deleting the cluster so that the load balancers
|
|
10
|
-
* are deleted properly. Otherwise, you can have orphaned resources in your VPC that
|
|
11
|
-
* 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
|
|
12
|
-
* Cluster</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
13
|
-
* <p>If you have managed node groups or Fargate profiles attached to the cluster, you must
|
|
14
|
-
* delete them first. For more information, see <a>DeleteNodegroup</a> and <a>DeleteFargateProfile</a>.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { EKSClient, DeleteClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
19
|
-
* // const { EKSClient, DeleteClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
20
|
-
* const client = new EKSClient(config);
|
|
21
|
-
* const command = new DeleteClusterCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link DeleteClusterCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link DeleteClusterCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var DeleteClusterCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteClusterCommand = (function (_super) {
|
|
31
7
|
__extends(DeleteClusterCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function DeleteClusterCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
DeleteClusterCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteClusterCommand.js","sourceRoot":"","sources":["../../../commands/DeleteClusterCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,M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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,wCAAS,GAAjB,UAAkB,KAAgC,EAAE,OAAuB;QACzE,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,45 +3,13 @@ import { DeleteFargateProfileRequest, DeleteFargateProfileResponse } from "../mo
|
|
|
3
3
|
import { deserializeAws_restJson1DeleteFargateProfileCommand, serializeAws_restJson1DeleteFargateProfileCommand, } 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 an Fargate profile.</p>
|
|
8
|
-
* <p>When you delete a Fargate profile, any pods running on Fargate that were created with the
|
|
9
|
-
* profile are deleted. If those pods match another Fargate profile, then they are scheduled
|
|
10
|
-
* on Fargate with that profile. If they no longer match any Fargate profiles, then they are not
|
|
11
|
-
* scheduled on Fargate and they may remain in a pending state.</p>
|
|
12
|
-
* <p>Only one Fargate profile in a cluster can be in the <code>DELETING</code> status at a
|
|
13
|
-
* time. You must wait for a Fargate profile to finish deleting before you can delete any
|
|
14
|
-
* other profiles in that cluster.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { EKSClient, DeleteFargateProfileCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
19
|
-
* // const { EKSClient, DeleteFargateProfileCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
20
|
-
* const client = new EKSClient(config);
|
|
21
|
-
* const command = new DeleteFargateProfileCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link DeleteFargateProfileCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link DeleteFargateProfileCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
|
-
var DeleteFargateProfileCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteFargateProfileCommand = (function (_super) {
|
|
31
7
|
__extends(DeleteFargateProfileCommand, _super);
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
8
|
function DeleteFargateProfileCommand(input) {
|
|
35
|
-
var _this =
|
|
36
|
-
// Start section: command_constructor
|
|
37
|
-
_super.call(this) || this;
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
38
10
|
_this.input = input;
|
|
39
11
|
return _this;
|
|
40
|
-
// End section: command_constructor
|
|
41
12
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
13
|
DeleteFargateProfileCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
46
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
15
|
var stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteFargateProfileCommand.js","sourceRoot":"","sources":["../../../commands/DeleteFargateProfileCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAC;AAC/F,OAAO,EACL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AAlB,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,38 +3,13 @@ import { DeleteNodegroupRequest, DeleteNodegroupResponse } from "../models/model
|
|
|
3
3
|
import { deserializeAws_restJson1DeleteNodegroupCommand, serializeAws_restJson1DeleteNodegroupCommand, } 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 an Amazon EKS node group for a cluster.</p>
|
|
8
|
-
* @example
|
|
9
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
10
|
-
* ```javascript
|
|
11
|
-
* import { EKSClient, DeleteNodegroupCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
12
|
-
* // const { EKSClient, DeleteNodegroupCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
13
|
-
* const client = new EKSClient(config);
|
|
14
|
-
* const command = new DeleteNodegroupCommand(input);
|
|
15
|
-
* const response = await client.send(command);
|
|
16
|
-
* ```
|
|
17
|
-
*
|
|
18
|
-
* @see {@link DeleteNodegroupCommandInput} for command's `input` shape.
|
|
19
|
-
* @see {@link DeleteNodegroupCommandOutput} for command's `response` shape.
|
|
20
|
-
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
21
|
-
*
|
|
22
|
-
*/
|
|
23
|
-
var DeleteNodegroupCommand = /** @class */ (function (_super) {
|
|
6
|
+
var DeleteNodegroupCommand = (function (_super) {
|
|
24
7
|
__extends(DeleteNodegroupCommand, _super);
|
|
25
|
-
// Start section: command_properties
|
|
26
|
-
// End section: command_properties
|
|
27
8
|
function DeleteNodegroupCommand(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
|
DeleteNodegroupCommand.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":"DeleteNodegroupCommand.js","sourceRoot":"","sources":["../../../commands/DeleteNodegroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,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":"DeleteNodegroupCommand.js","sourceRoot":"","sources":["../../../commands/DeleteNodegroupCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,8CAA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