@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
|
@@ -9,6 +9,7 @@ import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/De
|
|
|
9
9
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
10
10
|
import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } from "./commands/DeleteFargateProfileCommand";
|
|
11
11
|
import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
|
|
12
|
+
import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
|
|
12
13
|
import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
|
|
13
14
|
import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
|
|
14
15
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
@@ -24,6 +25,7 @@ import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCom
|
|
|
24
25
|
import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
|
|
25
26
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
26
27
|
import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/ListUpdatesCommand";
|
|
28
|
+
import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
|
|
27
29
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
28
30
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
29
31
|
import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "./commands/UpdateAddonCommand";
|
|
@@ -186,6 +188,12 @@ export declare class EKS extends EKSClient {
|
|
|
186
188
|
deleteNodegroup(args: DeleteNodegroupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteNodegroupCommandOutput>;
|
|
187
189
|
deleteNodegroup(args: DeleteNodegroupCommandInput, cb: (err: any, data?: DeleteNodegroupCommandOutput) => void): void;
|
|
188
190
|
deleteNodegroup(args: DeleteNodegroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteNodegroupCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* <p>Deregisters a connected cluster to remove it from the Amazon EKS control plane.</p>
|
|
193
|
+
*/
|
|
194
|
+
deregisterCluster(args: DeregisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterClusterCommandOutput>;
|
|
195
|
+
deregisterCluster(args: DeregisterClusterCommandInput, cb: (err: any, data?: DeregisterClusterCommandOutput) => void): void;
|
|
196
|
+
deregisterCluster(args: DeregisterClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterClusterCommandOutput) => void): void;
|
|
189
197
|
/**
|
|
190
198
|
* <p>Describes an Amazon EKS add-on.</p>
|
|
191
199
|
*/
|
|
@@ -294,6 +302,21 @@ export declare class EKS extends EKSClient {
|
|
|
294
302
|
listUpdates(args: ListUpdatesCommandInput, options?: __HttpHandlerOptions): Promise<ListUpdatesCommandOutput>;
|
|
295
303
|
listUpdates(args: ListUpdatesCommandInput, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
|
|
296
304
|
listUpdates(args: ListUpdatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUpdatesCommandOutput) => void): void;
|
|
305
|
+
/**
|
|
306
|
+
* <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
|
|
307
|
+
* <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
|
|
308
|
+
* </p>
|
|
309
|
+
* <p>Cluster connection requires two steps. First, send a <code>
|
|
310
|
+
* <a>RegisterClusterRequest</a>
|
|
311
|
+
* </code> to add it to the Amazon EKS control plane.</p>
|
|
312
|
+
* <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and <code>activationCode</code> must be applied to the Kubernetes cluster through it's native provider to provide visibility.</p>
|
|
313
|
+
*
|
|
314
|
+
* <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within a set amount of time,
|
|
315
|
+
* then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
|
|
316
|
+
*/
|
|
317
|
+
registerCluster(args: RegisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<RegisterClusterCommandOutput>;
|
|
318
|
+
registerCluster(args: RegisterClusterCommandInput, cb: (err: any, data?: RegisterClusterCommandOutput) => void): void;
|
|
319
|
+
registerCluster(args: RegisterClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterClusterCommandOutput) => void): void;
|
|
297
320
|
/**
|
|
298
321
|
* <p>Associates the specified tags to a resource with the specified
|
|
299
322
|
* <code>resourceArn</code>. If existing tags on a resource are not specified in the
|
|
@@ -8,6 +8,7 @@ import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/De
|
|
|
8
8
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
9
9
|
import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } from "./commands/DeleteFargateProfileCommand";
|
|
10
10
|
import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
|
|
11
|
+
import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
|
|
11
12
|
import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
|
|
12
13
|
import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
|
|
13
14
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
@@ -23,6 +24,7 @@ import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCom
|
|
|
23
24
|
import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "./commands/ListNodegroupsCommand";
|
|
24
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
25
26
|
import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/ListUpdatesCommand";
|
|
27
|
+
import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
|
|
26
28
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
27
29
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
28
30
|
import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "./commands/UpdateAddonCommand";
|
|
@@ -38,8 +40,8 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
38
40
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
39
41
|
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
40
42
|
import { Provider, RegionInfoProvider, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
41
|
-
export declare type ServiceInputTypes = AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DescribeAddonCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribeUpdateCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAddonsCommandInput | ListClustersCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput;
|
|
42
|
-
export declare type ServiceOutputTypes = AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DescribeAddonCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribeUpdateCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAddonsCommandOutput | ListClustersCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput;
|
|
43
|
+
export declare type ServiceInputTypes = AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeregisterClusterCommandInput | DescribeAddonCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribeUpdateCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAddonsCommandInput | ListClustersCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput;
|
|
44
|
+
export declare type ServiceOutputTypes = AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeregisterClusterCommandOutput | DescribeAddonCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribeUpdateCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAddonsCommandOutput | ListClustersCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput;
|
|
43
45
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
44
46
|
/**
|
|
45
47
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
2
|
+
import { DeregisterClusterRequest, DeregisterClusterResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export interface DeregisterClusterCommandInput extends DeregisterClusterRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DeregisterClusterCommandOutput extends DeregisterClusterResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Deregisters a connected cluster to remove it from the Amazon EKS control plane.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { EKSClient, DeregisterClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
15
|
+
* // const { EKSClient, DeregisterClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
16
|
+
* const client = new EKSClient(config);
|
|
17
|
+
* const command = new DeregisterClusterCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DeregisterClusterCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DeregisterClusterCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DeregisterClusterCommand extends $Command<DeregisterClusterCommandInput, DeregisterClusterCommandOutput, EKSClientResolvedConfig> {
|
|
27
|
+
readonly input: DeregisterClusterCommandInput;
|
|
28
|
+
constructor(input: DeregisterClusterCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeregisterClusterCommandInput, DeregisterClusterCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
2
|
+
import { RegisterClusterRequest, RegisterClusterResponse } from "../models/models_0";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { Handler, MiddlewareStack, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer } from "@aws-sdk/types";
|
|
5
|
+
export interface RegisterClusterCommandInput extends RegisterClusterRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface RegisterClusterCommandOutput extends RegisterClusterResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Connects a Kubernetes cluster to the Amazon EKS control plane. </p>
|
|
11
|
+
* <p>Any Kubernetes cluster can be connected to the Amazon EKS control plane to view current information about the cluster and its nodes.
|
|
12
|
+
* </p>
|
|
13
|
+
* <p>Cluster connection requires two steps. First, send a <code>
|
|
14
|
+
* <a>RegisterClusterRequest</a>
|
|
15
|
+
* </code> to add it to the Amazon EKS control plane.</p>
|
|
16
|
+
* <p>Second, a <a href="https://amazon-eks.s3.us-west-2.amazonaws.com/eks-connector/manifests/eks-connector/latest/eks-connector.yaml">Manifest</a> containing the <code>activationID</code> and <code>activationCode</code> must be applied to the Kubernetes cluster through it's native provider to provide visibility.</p>
|
|
17
|
+
*
|
|
18
|
+
* <p>After the Manifest is updated and applied, then the connected cluster is visible to the Amazon EKS control plane. If the Manifest is not applied within a set amount of time,
|
|
19
|
+
* then the connected cluster will no longer be visible and must be deregistered. See <a>DeregisterCluster</a>.</p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { EKSClient, RegisterClusterCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
24
|
+
* // const { EKSClient, RegisterClusterCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
25
|
+
* const client = new EKSClient(config);
|
|
26
|
+
* const command = new RegisterClusterCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link RegisterClusterCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link RegisterClusterCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link EKSClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class RegisterClusterCommand extends $Command<RegisterClusterCommandInput, RegisterClusterCommandOutput, EKSClientResolvedConfig> {
|
|
36
|
+
readonly input: RegisterClusterCommandInput;
|
|
37
|
+
constructor(input: RegisterClusterCommandInput);
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<RegisterClusterCommandInput, RegisterClusterCommandOutput>;
|
|
42
|
+
private serialize;
|
|
43
|
+
private deserialize;
|
|
44
|
+
}
|
|
@@ -10,6 +10,7 @@ export * from "./commands/DeleteAddonCommand";
|
|
|
10
10
|
export * from "./commands/DeleteClusterCommand";
|
|
11
11
|
export * from "./commands/DeleteFargateProfileCommand";
|
|
12
12
|
export * from "./commands/DeleteNodegroupCommand";
|
|
13
|
+
export * from "./commands/DeregisterClusterCommand";
|
|
13
14
|
export * from "./commands/DescribeAddonCommand";
|
|
14
15
|
export * from "./waiters/waitForAddonActive";
|
|
15
16
|
export * from "./waiters/waitForAddonDeleted";
|
|
@@ -40,6 +41,7 @@ export * from "./pagination/ListNodegroupsPaginator";
|
|
|
40
41
|
export * from "./commands/ListTagsForResourceCommand";
|
|
41
42
|
export * from "./commands/ListUpdatesCommand";
|
|
42
43
|
export * from "./pagination/ListUpdatesPaginator";
|
|
44
|
+
export * from "./commands/RegisterClusterCommand";
|
|
43
45
|
export * from "./commands/TagResourceCommand";
|
|
44
46
|
export * from "./commands/UntagResourceCommand";
|
|
45
47
|
export * from "./commands/UpdateAddonCommand";
|
|
@@ -1008,6 +1008,38 @@ export declare namespace Certificate {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
const filterSensitiveLog: (obj: Certificate) => any;
|
|
1010
1010
|
}
|
|
1011
|
+
/**
|
|
1012
|
+
* <p>The full description of your connected cluster.</p>
|
|
1013
|
+
*/
|
|
1014
|
+
export interface ConnectorConfigResponse {
|
|
1015
|
+
/**
|
|
1016
|
+
* <p>A unique ID associated with the cluster for registration purposes.</p>
|
|
1017
|
+
*/
|
|
1018
|
+
activationId?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* <p>A unique code associated with the cluster for registration purposes.</p>
|
|
1021
|
+
*/
|
|
1022
|
+
activationCode?: string;
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>The expiration time of the connected cluster. The cluster's YAML file must be applied through the native
|
|
1025
|
+
* provider.</p>
|
|
1026
|
+
*/
|
|
1027
|
+
activationExpiry?: Date;
|
|
1028
|
+
/**
|
|
1029
|
+
* <p>The cluster's cloud service provider.</p>
|
|
1030
|
+
*/
|
|
1031
|
+
provider?: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* <p>The Amazon Resource Name (ARN) of the role that is used by the EKS connector to communicate with AWS services from the connected Kubernetes cluster.</p>
|
|
1034
|
+
*/
|
|
1035
|
+
roleArn?: string;
|
|
1036
|
+
}
|
|
1037
|
+
export declare namespace ConnectorConfigResponse {
|
|
1038
|
+
/**
|
|
1039
|
+
* @internal
|
|
1040
|
+
*/
|
|
1041
|
+
const filterSensitiveLog: (obj: ConnectorConfigResponse) => any;
|
|
1042
|
+
}
|
|
1011
1043
|
/**
|
|
1012
1044
|
* <p>An object representing the <a href="https://openid.net/connect/">OpenID
|
|
1013
1045
|
* Connect</a> (OIDC) identity provider information for the cluster.</p>
|
|
@@ -1117,7 +1149,7 @@ export declare namespace VpcConfigResponse {
|
|
|
1117
1149
|
*/
|
|
1118
1150
|
const filterSensitiveLog: (obj: VpcConfigResponse) => any;
|
|
1119
1151
|
}
|
|
1120
|
-
export declare type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "UPDATING";
|
|
1152
|
+
export declare type ClusterStatus = "ACTIVE" | "CREATING" | "DELETING" | "FAILED" | "PENDING" | "UPDATING";
|
|
1121
1153
|
/**
|
|
1122
1154
|
* <p>An object representing an Amazon EKS cluster.</p>
|
|
1123
1155
|
*/
|
|
@@ -1190,7 +1222,7 @@ export interface Cluster {
|
|
|
1190
1222
|
* <p>The metadata that you apply to the cluster to assist with categorization and
|
|
1191
1223
|
* organization. Each tag consists of a key and an optional value, both of which you
|
|
1192
1224
|
* define. Cluster tags do not propagate to any other resources associated with the
|
|
1193
|
-
* cluster
|
|
1225
|
+
* cluster.</p>
|
|
1194
1226
|
*/
|
|
1195
1227
|
tags?: {
|
|
1196
1228
|
[key: string]: string;
|
|
@@ -1199,6 +1231,10 @@ export interface Cluster {
|
|
|
1199
1231
|
* <p>The encryption configuration for the cluster.</p>
|
|
1200
1232
|
*/
|
|
1201
1233
|
encryptionConfig?: EncryptionConfig[];
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>The configuration used to connect to a cluster for registration.</p>
|
|
1236
|
+
*/
|
|
1237
|
+
connectorConfig?: ConnectorConfigResponse;
|
|
1202
1238
|
}
|
|
1203
1239
|
export declare namespace Cluster {
|
|
1204
1240
|
/**
|
|
@@ -2142,6 +2178,30 @@ export declare namespace DeleteNodegroupResponse {
|
|
|
2142
2178
|
*/
|
|
2143
2179
|
const filterSensitiveLog: (obj: DeleteNodegroupResponse) => any;
|
|
2144
2180
|
}
|
|
2181
|
+
export interface DeregisterClusterRequest {
|
|
2182
|
+
/**
|
|
2183
|
+
* <p>The name of the connected cluster to deregister.</p>
|
|
2184
|
+
*/
|
|
2185
|
+
name: string | undefined;
|
|
2186
|
+
}
|
|
2187
|
+
export declare namespace DeregisterClusterRequest {
|
|
2188
|
+
/**
|
|
2189
|
+
* @internal
|
|
2190
|
+
*/
|
|
2191
|
+
const filterSensitiveLog: (obj: DeregisterClusterRequest) => any;
|
|
2192
|
+
}
|
|
2193
|
+
export interface DeregisterClusterResponse {
|
|
2194
|
+
/**
|
|
2195
|
+
* <p>An object representing an Amazon EKS cluster.</p>
|
|
2196
|
+
*/
|
|
2197
|
+
cluster?: Cluster;
|
|
2198
|
+
}
|
|
2199
|
+
export declare namespace DeregisterClusterResponse {
|
|
2200
|
+
/**
|
|
2201
|
+
* @internal
|
|
2202
|
+
*/
|
|
2203
|
+
const filterSensitiveLog: (obj: DeregisterClusterResponse) => any;
|
|
2204
|
+
}
|
|
2145
2205
|
export interface DescribeAddonRequest {
|
|
2146
2206
|
/**
|
|
2147
2207
|
* <p>The name of the cluster.</p>
|
|
@@ -2396,7 +2456,7 @@ export declare namespace OidcIdentityProviderConfig {
|
|
|
2396
2456
|
const filterSensitiveLog: (obj: OidcIdentityProviderConfig) => any;
|
|
2397
2457
|
}
|
|
2398
2458
|
/**
|
|
2399
|
-
* <p>
|
|
2459
|
+
* <p>The full description of your identity configuration.</p>
|
|
2400
2460
|
*/
|
|
2401
2461
|
export interface IdentityProviderConfigResponse {
|
|
2402
2462
|
/**
|
|
@@ -2604,6 +2664,10 @@ export interface ListClustersRequest {
|
|
|
2604
2664
|
* </note>
|
|
2605
2665
|
*/
|
|
2606
2666
|
nextToken?: string;
|
|
2667
|
+
/**
|
|
2668
|
+
* <p>Indicates whether connected clusters are included in the returned list. Default value is 'ALL'.</p>
|
|
2669
|
+
*/
|
|
2670
|
+
include?: string[];
|
|
2607
2671
|
}
|
|
2608
2672
|
export declare namespace ListClustersRequest {
|
|
2609
2673
|
/**
|
|
@@ -2898,6 +2962,68 @@ export declare namespace ListUpdatesResponse {
|
|
|
2898
2962
|
*/
|
|
2899
2963
|
const filterSensitiveLog: (obj: ListUpdatesResponse) => any;
|
|
2900
2964
|
}
|
|
2965
|
+
export declare enum ConnectorConfigProvider {
|
|
2966
|
+
AKS = "AKS",
|
|
2967
|
+
ANTHOS = "ANTHOS",
|
|
2968
|
+
EC2 = "EC2",
|
|
2969
|
+
EKS_ANYWHERE = "EKS_ANYWHERE",
|
|
2970
|
+
GKE = "GKE",
|
|
2971
|
+
OPENSHIFT = "OPENSHIFT",
|
|
2972
|
+
OTHER = "OTHER",
|
|
2973
|
+
RANCHER = "RANCHER",
|
|
2974
|
+
TANZU = "TANZU"
|
|
2975
|
+
}
|
|
2976
|
+
/**
|
|
2977
|
+
* <p>The configuration sent to a cluster for configuration.</p>
|
|
2978
|
+
*/
|
|
2979
|
+
export interface ConnectorConfigRequest {
|
|
2980
|
+
/**
|
|
2981
|
+
* <p>The Amazon Resource Name (ARN) of the role that is authorized to request the connector configuration.</p>
|
|
2982
|
+
*/
|
|
2983
|
+
roleArn: string | undefined;
|
|
2984
|
+
/**
|
|
2985
|
+
* <p>The cloud provider for the target cluster to connect.</p>
|
|
2986
|
+
*/
|
|
2987
|
+
provider: ConnectorConfigProvider | string | undefined;
|
|
2988
|
+
}
|
|
2989
|
+
export declare namespace ConnectorConfigRequest {
|
|
2990
|
+
/**
|
|
2991
|
+
* @internal
|
|
2992
|
+
*/
|
|
2993
|
+
const filterSensitiveLog: (obj: ConnectorConfigRequest) => any;
|
|
2994
|
+
}
|
|
2995
|
+
export interface RegisterClusterRequest {
|
|
2996
|
+
/**
|
|
2997
|
+
* <p>Define a unique name for this cluster within your AWS account.</p>
|
|
2998
|
+
*/
|
|
2999
|
+
name: string | undefined;
|
|
3000
|
+
/**
|
|
3001
|
+
* <p>The configuration settings required to connect the Kubernetes cluster to the Amazon EKS control plane.</p>
|
|
3002
|
+
*/
|
|
3003
|
+
connectorConfig: ConnectorConfigRequest | undefined;
|
|
3004
|
+
/**
|
|
3005
|
+
* <p>Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.</p>
|
|
3006
|
+
*/
|
|
3007
|
+
clientRequestToken?: string;
|
|
3008
|
+
}
|
|
3009
|
+
export declare namespace RegisterClusterRequest {
|
|
3010
|
+
/**
|
|
3011
|
+
* @internal
|
|
3012
|
+
*/
|
|
3013
|
+
const filterSensitiveLog: (obj: RegisterClusterRequest) => any;
|
|
3014
|
+
}
|
|
3015
|
+
export interface RegisterClusterResponse {
|
|
3016
|
+
/**
|
|
3017
|
+
* <p>An object representing an Amazon EKS cluster.</p>
|
|
3018
|
+
*/
|
|
3019
|
+
cluster?: Cluster;
|
|
3020
|
+
}
|
|
3021
|
+
export declare namespace RegisterClusterResponse {
|
|
3022
|
+
/**
|
|
3023
|
+
* @internal
|
|
3024
|
+
*/
|
|
3025
|
+
const filterSensitiveLog: (obj: RegisterClusterResponse) => any;
|
|
3026
|
+
}
|
|
2901
3027
|
export interface TagResourceRequest {
|
|
2902
3028
|
/**
|
|
2903
3029
|
* <p>The Amazon Resource Name (ARN) of the resource to which to add tags. Currently, the supported resources
|
|
@@ -8,6 +8,7 @@ import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "../commands/D
|
|
|
8
8
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "../commands/DeleteClusterCommand";
|
|
9
9
|
import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } from "../commands/DeleteFargateProfileCommand";
|
|
10
10
|
import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "../commands/DeleteNodegroupCommand";
|
|
11
|
+
import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "../commands/DeregisterClusterCommand";
|
|
11
12
|
import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "../commands/DescribeAddonCommand";
|
|
12
13
|
import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "../commands/DescribeAddonVersionsCommand";
|
|
13
14
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "../commands/DescribeClusterCommand";
|
|
@@ -23,6 +24,7 @@ import { ListIdentityProviderConfigsCommandInput, ListIdentityProviderConfigsCom
|
|
|
23
24
|
import { ListNodegroupsCommandInput, ListNodegroupsCommandOutput } from "../commands/ListNodegroupsCommand";
|
|
24
25
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
25
26
|
import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "../commands/ListUpdatesCommand";
|
|
27
|
+
import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "../commands/RegisterClusterCommand";
|
|
26
28
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
27
29
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
28
30
|
import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "../commands/UpdateAddonCommand";
|
|
@@ -42,6 +44,7 @@ export declare const serializeAws_restJson1DeleteAddonCommand: (input: DeleteAdd
|
|
|
42
44
|
export declare const serializeAws_restJson1DeleteClusterCommand: (input: DeleteClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
45
|
export declare const serializeAws_restJson1DeleteFargateProfileCommand: (input: DeleteFargateProfileCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
44
46
|
export declare const serializeAws_restJson1DeleteNodegroupCommand: (input: DeleteNodegroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
+
export declare const serializeAws_restJson1DeregisterClusterCommand: (input: DeregisterClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
45
48
|
export declare const serializeAws_restJson1DescribeAddonCommand: (input: DescribeAddonCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
46
49
|
export declare const serializeAws_restJson1DescribeAddonVersionsCommand: (input: DescribeAddonVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
50
|
export declare const serializeAws_restJson1DescribeClusterCommand: (input: DescribeClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -57,6 +60,7 @@ export declare const serializeAws_restJson1ListIdentityProviderConfigsCommand: (
|
|
|
57
60
|
export declare const serializeAws_restJson1ListNodegroupsCommand: (input: ListNodegroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
58
61
|
export declare const serializeAws_restJson1ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
62
|
export declare const serializeAws_restJson1ListUpdatesCommand: (input: ListUpdatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
export declare const serializeAws_restJson1RegisterClusterCommand: (input: RegisterClusterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
60
64
|
export declare const serializeAws_restJson1TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
61
65
|
export declare const serializeAws_restJson1UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
62
66
|
export declare const serializeAws_restJson1UpdateAddonCommand: (input: UpdateAddonCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -74,6 +78,7 @@ export declare const deserializeAws_restJson1DeleteAddonCommand: (output: __Http
|
|
|
74
78
|
export declare const deserializeAws_restJson1DeleteClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteClusterCommandOutput>;
|
|
75
79
|
export declare const deserializeAws_restJson1DeleteFargateProfileCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteFargateProfileCommandOutput>;
|
|
76
80
|
export declare const deserializeAws_restJson1DeleteNodegroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteNodegroupCommandOutput>;
|
|
81
|
+
export declare const deserializeAws_restJson1DeregisterClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeregisterClusterCommandOutput>;
|
|
77
82
|
export declare const deserializeAws_restJson1DescribeAddonCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonCommandOutput>;
|
|
78
83
|
export declare const deserializeAws_restJson1DescribeAddonVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeAddonVersionsCommandOutput>;
|
|
79
84
|
export declare const deserializeAws_restJson1DescribeClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeClusterCommandOutput>;
|
|
@@ -89,6 +94,7 @@ export declare const deserializeAws_restJson1ListIdentityProviderConfigsCommand:
|
|
|
89
94
|
export declare const deserializeAws_restJson1ListNodegroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListNodegroupsCommandOutput>;
|
|
90
95
|
export declare const deserializeAws_restJson1ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
91
96
|
export declare const deserializeAws_restJson1ListUpdatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListUpdatesCommandOutput>;
|
|
97
|
+
export declare const deserializeAws_restJson1RegisterClusterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RegisterClusterCommandOutput>;
|
|
92
98
|
export declare const deserializeAws_restJson1TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
93
99
|
export declare const deserializeAws_restJson1UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
94
100
|
export declare const deserializeAws_restJson1UpdateAddonCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateAddonCommandOutput>;
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -32,5 +32,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
32
32
|
signingEscapePath?: boolean | undefined;
|
|
33
33
|
systemClockOffset?: number | undefined;
|
|
34
34
|
signingRegion?: string | undefined;
|
|
35
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
35
36
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
36
37
|
};
|
|
@@ -31,5 +31,6 @@ export declare const getRuntimeConfig: (config: EKSClientConfig) => {
|
|
|
31
31
|
signingEscapePath?: boolean | undefined;
|
|
32
32
|
systemClockOffset?: number | undefined;
|
|
33
33
|
signingRegion?: string | undefined;
|
|
34
|
+
signerConstructor?: (new (options: import("@aws-sdk/signature-v4").SignatureV4Init & import("@aws-sdk/signature-v4").SignatureV4CryptoInit) => import("@aws-sdk/types").RequestSigner) | undefined;
|
|
34
35
|
customUserAgent?: string | import("@aws-sdk/types").UserAgent | undefined;
|
|
35
36
|
};
|
package/index.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from "./commands/DeleteAddonCommand";
|
|
|
10
10
|
export * from "./commands/DeleteClusterCommand";
|
|
11
11
|
export * from "./commands/DeleteFargateProfileCommand";
|
|
12
12
|
export * from "./commands/DeleteNodegroupCommand";
|
|
13
|
+
export * from "./commands/DeregisterClusterCommand";
|
|
13
14
|
export * from "./commands/DescribeAddonCommand";
|
|
14
15
|
export * from "./waiters/waitForAddonActive";
|
|
15
16
|
export * from "./waiters/waitForAddonDeleted";
|
|
@@ -40,6 +41,7 @@ export * from "./pagination/ListNodegroupsPaginator";
|
|
|
40
41
|
export * from "./commands/ListTagsForResourceCommand";
|
|
41
42
|
export * from "./commands/ListUpdatesCommand";
|
|
42
43
|
export * from "./pagination/ListUpdatesPaginator";
|
|
44
|
+
export * from "./commands/RegisterClusterCommand";
|
|
43
45
|
export * from "./commands/TagResourceCommand";
|
|
44
46
|
export * from "./commands/UntagResourceCommand";
|
|
45
47
|
export * from "./commands/UpdateAddonCommand";
|