@aws-sdk/client-eks 3.1113.0 → 3.1114.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/README.md +35 -0
- package/dist-cjs/index.js +381 -123
- package/dist-es/EKS.js +14 -0
- package/dist-es/commands/ActivateCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/CreateCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/DeleteCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/DescribeCertificateAuthorityCommand.js +4 -0
- package/dist-es/commands/ListCertificateAuthoritiesCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/enums.js +76 -52
- package/dist-es/models/errors.js +29 -29
- package/dist-es/pagination/ListCertificateAuthoritiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +166 -36
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForCertificateAuthorityUpdateComplete.js +49 -0
- package/dist-types/EKS.d.ts +48 -0
- package/dist-types/EKSClient.d.ts +7 -2
- package/dist-types/commands/ActivateCertificateAuthorityCommand.d.ts +139 -0
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/CancelUpdateCommand.d.ts +2 -2
- package/dist-types/commands/CreateCertificateAuthorityCommand.d.ts +149 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +4 -0
- package/dist-types/commands/DeleteCertificateAuthorityCommand.d.ts +134 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +4 -0
- package/dist-types/commands/DeregisterClusterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeCertificateAuthorityCommand.d.ts +104 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +4 -0
- package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +2 -2
- package/dist-types/commands/ListCertificateAuthoritiesCommand.d.ts +102 -0
- package/dist-types/commands/RegisterClusterCommand.d.ts +4 -0
- package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCapabilityCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +2 -2
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/enums.d.ts +120 -64
- package/dist-types/models/errors.d.ts +37 -37
- package/dist-types/models/models_0.d.ts +569 -186
- package/dist-types/pagination/ListCertificateAuthoritiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/EKS.d.ts +98 -0
- package/dist-types/ts3.4/EKSClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/ActivateCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeCertificateAuthorityCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListCertificateAuthoritiesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/enums.d.ts +90 -58
- package/dist-types/ts3.4/models/errors.d.ts +14 -14
- package/dist-types/ts3.4/models/models_0.d.ts +103 -22
- package/dist-types/ts3.4/pagination/ListCertificateAuthoritiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForCertificateAuthorityUpdateComplete.d.ts +15 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForCertificateAuthorityUpdateComplete.d.ts +15 -0
- package/package.json +1 -1
package/dist-types/EKS.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type WaiterResult } from "@smithy/core/client";
|
|
2
2
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types";
|
|
3
|
+
import { type ActivateCertificateAuthorityCommandInput, type ActivateCertificateAuthorityCommandOutput } from "./commands/ActivateCertificateAuthorityCommand";
|
|
3
4
|
import { type AssociateAccessPolicyCommandInput, type AssociateAccessPolicyCommandOutput } from "./commands/AssociateAccessPolicyCommand";
|
|
4
5
|
import { type AssociateEncryptionConfigCommandInput, type AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
5
6
|
import { type AssociateIdentityProviderConfigCommandInput, type AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
@@ -7,6 +8,7 @@ import { type CancelUpdateCommandInput, type CancelUpdateCommandOutput } from ".
|
|
|
7
8
|
import { type CreateAccessEntryCommandInput, type CreateAccessEntryCommandOutput } from "./commands/CreateAccessEntryCommand";
|
|
8
9
|
import { type CreateAddonCommandInput, type CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
|
|
9
10
|
import { type CreateCapabilityCommandInput, type CreateCapabilityCommandOutput } from "./commands/CreateCapabilityCommand";
|
|
11
|
+
import { type CreateCertificateAuthorityCommandInput, type CreateCertificateAuthorityCommandOutput } from "./commands/CreateCertificateAuthorityCommand";
|
|
10
12
|
import { type CreateClusterCommandInput, type CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
11
13
|
import { type CreateEksAnywhereSubscriptionCommandInput, type CreateEksAnywhereSubscriptionCommandOutput } from "./commands/CreateEksAnywhereSubscriptionCommand";
|
|
12
14
|
import { type CreateFargateProfileCommandInput, type CreateFargateProfileCommandOutput } from "./commands/CreateFargateProfileCommand";
|
|
@@ -15,6 +17,7 @@ import { type CreatePodIdentityAssociationCommandInput, type CreatePodIdentityAs
|
|
|
15
17
|
import { type DeleteAccessEntryCommandInput, type DeleteAccessEntryCommandOutput } from "./commands/DeleteAccessEntryCommand";
|
|
16
18
|
import { type DeleteAddonCommandInput, type DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
|
|
17
19
|
import { type DeleteCapabilityCommandInput, type DeleteCapabilityCommandOutput } from "./commands/DeleteCapabilityCommand";
|
|
20
|
+
import { type DeleteCertificateAuthorityCommandInput, type DeleteCertificateAuthorityCommandOutput } from "./commands/DeleteCertificateAuthorityCommand";
|
|
18
21
|
import { type DeleteClusterCommandInput, type DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
19
22
|
import { type DeleteEksAnywhereSubscriptionCommandInput, type DeleteEksAnywhereSubscriptionCommandOutput } from "./commands/DeleteEksAnywhereSubscriptionCommand";
|
|
20
23
|
import { type DeleteFargateProfileCommandInput, type DeleteFargateProfileCommandOutput } from "./commands/DeleteFargateProfileCommand";
|
|
@@ -26,6 +29,7 @@ import { type DescribeAddonCommandInput, type DescribeAddonCommandOutput } from
|
|
|
26
29
|
import { type DescribeAddonConfigurationCommandInput, type DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
|
|
27
30
|
import { type DescribeAddonVersionsCommandInput, type DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
|
|
28
31
|
import { type DescribeCapabilityCommandInput, type DescribeCapabilityCommandOutput } from "./commands/DescribeCapabilityCommand";
|
|
32
|
+
import { type DescribeCertificateAuthorityCommandInput, type DescribeCertificateAuthorityCommandOutput } from "./commands/DescribeCertificateAuthorityCommand";
|
|
29
33
|
import { type DescribeClusterCommandInput, type DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
30
34
|
import { type DescribeClusterVersionsCommandInput, type DescribeClusterVersionsCommandOutput } from "./commands/DescribeClusterVersionsCommand";
|
|
31
35
|
import { type DescribeEksAnywhereSubscriptionCommandInput, type DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
|
|
@@ -43,6 +47,7 @@ import { type ListAccessPoliciesCommandInput, type ListAccessPoliciesCommandOutp
|
|
|
43
47
|
import { type ListAddonsCommandInput, type ListAddonsCommandOutput } from "./commands/ListAddonsCommand";
|
|
44
48
|
import { type ListAssociatedAccessPoliciesCommandInput, type ListAssociatedAccessPoliciesCommandOutput } from "./commands/ListAssociatedAccessPoliciesCommand";
|
|
45
49
|
import { type ListCapabilitiesCommandInput, type ListCapabilitiesCommandOutput } from "./commands/ListCapabilitiesCommand";
|
|
50
|
+
import { type ListCertificateAuthoritiesCommandInput, type ListCertificateAuthoritiesCommandOutput } from "./commands/ListCertificateAuthoritiesCommand";
|
|
46
51
|
import { type ListClustersCommandInput, type ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
47
52
|
import { type ListEksAnywhereSubscriptionsCommandInput, type ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
48
53
|
import { type ListFargateProfilesCommandInput, type ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
|
|
@@ -68,6 +73,12 @@ import { type UpdatePodIdentityAssociationCommandInput, type UpdatePodIdentityAs
|
|
|
68
73
|
import { EKSClient } from "./EKSClient";
|
|
69
74
|
import type { ResourceNotFoundException } from "./models/errors";
|
|
70
75
|
export interface EKS {
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link ActivateCertificateAuthorityCommand}
|
|
78
|
+
*/
|
|
79
|
+
activateCertificateAuthority(args: ActivateCertificateAuthorityCommandInput, options?: __HttpHandlerOptions): Promise<ActivateCertificateAuthorityCommandOutput>;
|
|
80
|
+
activateCertificateAuthority(args: ActivateCertificateAuthorityCommandInput, cb: (err: any, data?: ActivateCertificateAuthorityCommandOutput) => void): void;
|
|
81
|
+
activateCertificateAuthority(args: ActivateCertificateAuthorityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ActivateCertificateAuthorityCommandOutput) => void): void;
|
|
71
82
|
/**
|
|
72
83
|
* @see {@link AssociateAccessPolicyCommand}
|
|
73
84
|
*/
|
|
@@ -110,6 +121,12 @@ export interface EKS {
|
|
|
110
121
|
createCapability(args: CreateCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<CreateCapabilityCommandOutput>;
|
|
111
122
|
createCapability(args: CreateCapabilityCommandInput, cb: (err: any, data?: CreateCapabilityCommandOutput) => void): void;
|
|
112
123
|
createCapability(args: CreateCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCapabilityCommandOutput) => void): void;
|
|
124
|
+
/**
|
|
125
|
+
* @see {@link CreateCertificateAuthorityCommand}
|
|
126
|
+
*/
|
|
127
|
+
createCertificateAuthority(args: CreateCertificateAuthorityCommandInput, options?: __HttpHandlerOptions): Promise<CreateCertificateAuthorityCommandOutput>;
|
|
128
|
+
createCertificateAuthority(args: CreateCertificateAuthorityCommandInput, cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void): void;
|
|
129
|
+
createCertificateAuthority(args: CreateCertificateAuthorityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCertificateAuthorityCommandOutput) => void): void;
|
|
113
130
|
/**
|
|
114
131
|
* @see {@link CreateClusterCommand}
|
|
115
132
|
*/
|
|
@@ -158,6 +175,12 @@ export interface EKS {
|
|
|
158
175
|
deleteCapability(args: DeleteCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCapabilityCommandOutput>;
|
|
159
176
|
deleteCapability(args: DeleteCapabilityCommandInput, cb: (err: any, data?: DeleteCapabilityCommandOutput) => void): void;
|
|
160
177
|
deleteCapability(args: DeleteCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCapabilityCommandOutput) => void): void;
|
|
178
|
+
/**
|
|
179
|
+
* @see {@link DeleteCertificateAuthorityCommand}
|
|
180
|
+
*/
|
|
181
|
+
deleteCertificateAuthority(args: DeleteCertificateAuthorityCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCertificateAuthorityCommandOutput>;
|
|
182
|
+
deleteCertificateAuthority(args: DeleteCertificateAuthorityCommandInput, cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void): void;
|
|
183
|
+
deleteCertificateAuthority(args: DeleteCertificateAuthorityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCertificateAuthorityCommandOutput) => void): void;
|
|
161
184
|
/**
|
|
162
185
|
* @see {@link DeleteClusterCommand}
|
|
163
186
|
*/
|
|
@@ -225,6 +248,12 @@ export interface EKS {
|
|
|
225
248
|
describeCapability(args: DescribeCapabilityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCapabilityCommandOutput>;
|
|
226
249
|
describeCapability(args: DescribeCapabilityCommandInput, cb: (err: any, data?: DescribeCapabilityCommandOutput) => void): void;
|
|
227
250
|
describeCapability(args: DescribeCapabilityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCapabilityCommandOutput) => void): void;
|
|
251
|
+
/**
|
|
252
|
+
* @see {@link DescribeCertificateAuthorityCommand}
|
|
253
|
+
*/
|
|
254
|
+
describeCertificateAuthority(args: DescribeCertificateAuthorityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCertificateAuthorityCommandOutput>;
|
|
255
|
+
describeCertificateAuthority(args: DescribeCertificateAuthorityCommandInput, cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void): void;
|
|
256
|
+
describeCertificateAuthority(args: DescribeCertificateAuthorityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCertificateAuthorityCommandOutput) => void): void;
|
|
228
257
|
/**
|
|
229
258
|
* @see {@link DescribeClusterCommand}
|
|
230
259
|
*/
|
|
@@ -329,6 +358,12 @@ export interface EKS {
|
|
|
329
358
|
listCapabilities(args: ListCapabilitiesCommandInput, options?: __HttpHandlerOptions): Promise<ListCapabilitiesCommandOutput>;
|
|
330
359
|
listCapabilities(args: ListCapabilitiesCommandInput, cb: (err: any, data?: ListCapabilitiesCommandOutput) => void): void;
|
|
331
360
|
listCapabilities(args: ListCapabilitiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCapabilitiesCommandOutput) => void): void;
|
|
361
|
+
/**
|
|
362
|
+
* @see {@link ListCertificateAuthoritiesCommand}
|
|
363
|
+
*/
|
|
364
|
+
listCertificateAuthorities(args: ListCertificateAuthoritiesCommandInput, options?: __HttpHandlerOptions): Promise<ListCertificateAuthoritiesCommandOutput>;
|
|
365
|
+
listCertificateAuthorities(args: ListCertificateAuthoritiesCommandInput, cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void): void;
|
|
366
|
+
listCertificateAuthorities(args: ListCertificateAuthoritiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCertificateAuthoritiesCommandOutput) => void): void;
|
|
332
367
|
/**
|
|
333
368
|
* @see {@link ListClustersCommand}
|
|
334
369
|
*/
|
|
@@ -512,6 +547,13 @@ export interface EKS {
|
|
|
512
547
|
* @returns AsyncIterable of {@link ListCapabilitiesCommandOutput}.
|
|
513
548
|
*/
|
|
514
549
|
paginateListCapabilities(args: ListCapabilitiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCapabilitiesCommandOutput>;
|
|
550
|
+
/**
|
|
551
|
+
* @see {@link ListCertificateAuthoritiesCommand}
|
|
552
|
+
* @param args - command input.
|
|
553
|
+
* @param paginationConfig - optional pagination config.
|
|
554
|
+
* @returns AsyncIterable of {@link ListCertificateAuthoritiesCommandOutput}.
|
|
555
|
+
*/
|
|
556
|
+
paginateListCertificateAuthorities(args: ListCertificateAuthoritiesCommandInput, paginationConfig?: Omit<PaginationConfiguration, "client">): Paginator<ListCertificateAuthoritiesCommandOutput>;
|
|
515
557
|
/**
|
|
516
558
|
* @see {@link ListClustersCommand}
|
|
517
559
|
* @param args - command input.
|
|
@@ -616,6 +658,12 @@ export interface EKS {
|
|
|
616
658
|
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
617
659
|
*/
|
|
618
660
|
waitUntilNodegroupDeleted(args: DescribeNodegroupCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<ResourceNotFoundException>>;
|
|
661
|
+
/**
|
|
662
|
+
* @see {@link DescribeUpdateCommand}
|
|
663
|
+
* @param args - command input.
|
|
664
|
+
* @param waiterConfig - `maxWaitTime` in seconds or waiter config object.
|
|
665
|
+
*/
|
|
666
|
+
waitUntilCertificateAuthorityUpdateComplete(args: DescribeUpdateCommandInput, waiterConfig: number | Omit<WaiterConfiguration<EKS>, "client">): Promise<WaiterResult<DescribeUpdateCommandOutput>>;
|
|
619
667
|
}
|
|
620
668
|
/**
|
|
621
669
|
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy for you to run Kubernetes on
|
|
@@ -6,6 +6,7 @@ import { type HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/cor
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/core/retry";
|
|
7
7
|
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, 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 "@smithy/types";
|
|
8
8
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
9
|
+
import type { ActivateCertificateAuthorityCommandInput, ActivateCertificateAuthorityCommandOutput } from "./commands/ActivateCertificateAuthorityCommand";
|
|
9
10
|
import type { AssociateAccessPolicyCommandInput, AssociateAccessPolicyCommandOutput } from "./commands/AssociateAccessPolicyCommand";
|
|
10
11
|
import type { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
11
12
|
import type { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
@@ -13,6 +14,7 @@ import type { CancelUpdateCommandInput, CancelUpdateCommandOutput } from "./comm
|
|
|
13
14
|
import type { CreateAccessEntryCommandInput, CreateAccessEntryCommandOutput } from "./commands/CreateAccessEntryCommand";
|
|
14
15
|
import type { CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
|
|
15
16
|
import type { CreateCapabilityCommandInput, CreateCapabilityCommandOutput } from "./commands/CreateCapabilityCommand";
|
|
17
|
+
import type { CreateCertificateAuthorityCommandInput, CreateCertificateAuthorityCommandOutput } from "./commands/CreateCertificateAuthorityCommand";
|
|
16
18
|
import type { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
17
19
|
import type { CreateEksAnywhereSubscriptionCommandInput, CreateEksAnywhereSubscriptionCommandOutput } from "./commands/CreateEksAnywhereSubscriptionCommand";
|
|
18
20
|
import type { CreateFargateProfileCommandInput, CreateFargateProfileCommandOutput } from "./commands/CreateFargateProfileCommand";
|
|
@@ -21,6 +23,7 @@ import type { CreatePodIdentityAssociationCommandInput, CreatePodIdentityAssocia
|
|
|
21
23
|
import type { DeleteAccessEntryCommandInput, DeleteAccessEntryCommandOutput } from "./commands/DeleteAccessEntryCommand";
|
|
22
24
|
import type { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
|
|
23
25
|
import type { DeleteCapabilityCommandInput, DeleteCapabilityCommandOutput } from "./commands/DeleteCapabilityCommand";
|
|
26
|
+
import type { DeleteCertificateAuthorityCommandInput, DeleteCertificateAuthorityCommandOutput } from "./commands/DeleteCertificateAuthorityCommand";
|
|
24
27
|
import type { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
25
28
|
import type { DeleteEksAnywhereSubscriptionCommandInput, DeleteEksAnywhereSubscriptionCommandOutput } from "./commands/DeleteEksAnywhereSubscriptionCommand";
|
|
26
29
|
import type { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } from "./commands/DeleteFargateProfileCommand";
|
|
@@ -32,6 +35,7 @@ import type { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./co
|
|
|
32
35
|
import type { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
|
|
33
36
|
import type { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
|
|
34
37
|
import type { DescribeCapabilityCommandInput, DescribeCapabilityCommandOutput } from "./commands/DescribeCapabilityCommand";
|
|
38
|
+
import type { DescribeCertificateAuthorityCommandInput, DescribeCertificateAuthorityCommandOutput } from "./commands/DescribeCertificateAuthorityCommand";
|
|
35
39
|
import type { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
36
40
|
import type { DescribeClusterVersionsCommandInput, DescribeClusterVersionsCommandOutput } from "./commands/DescribeClusterVersionsCommand";
|
|
37
41
|
import type { DescribeEksAnywhereSubscriptionCommandInput, DescribeEksAnywhereSubscriptionCommandOutput } from "./commands/DescribeEksAnywhereSubscriptionCommand";
|
|
@@ -49,6 +53,7 @@ import type { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput }
|
|
|
49
53
|
import type { ListAddonsCommandInput, ListAddonsCommandOutput } from "./commands/ListAddonsCommand";
|
|
50
54
|
import type { ListAssociatedAccessPoliciesCommandInput, ListAssociatedAccessPoliciesCommandOutput } from "./commands/ListAssociatedAccessPoliciesCommand";
|
|
51
55
|
import type { ListCapabilitiesCommandInput, ListCapabilitiesCommandOutput } from "./commands/ListCapabilitiesCommand";
|
|
56
|
+
import type { ListCertificateAuthoritiesCommandInput, ListCertificateAuthoritiesCommandOutput } from "./commands/ListCertificateAuthoritiesCommand";
|
|
52
57
|
import type { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
53
58
|
import type { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
54
59
|
import type { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
|
|
@@ -77,11 +82,11 @@ export { __Client };
|
|
|
77
82
|
/**
|
|
78
83
|
* @public
|
|
79
84
|
*/
|
|
80
|
-
export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CancelUpdateCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateCapabilityCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteCapabilityCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeCapabilityCommandInput | DescribeClusterCommandInput | DescribeClusterVersionsCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeInsightsRefreshCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListCapabilitiesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | StartInsightsRefreshCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateCapabilityCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
|
|
85
|
+
export type ServiceInputTypes = ActivateCertificateAuthorityCommandInput | AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CancelUpdateCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateCapabilityCommandInput | CreateCertificateAuthorityCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteCapabilityCommandInput | DeleteCertificateAuthorityCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeCapabilityCommandInput | DescribeCertificateAuthorityCommandInput | DescribeClusterCommandInput | DescribeClusterVersionsCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeInsightCommandInput | DescribeInsightsRefreshCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListCapabilitiesCommandInput | ListCertificateAuthoritiesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListInsightsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | StartInsightsRefreshCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateCapabilityCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
|
|
81
86
|
/**
|
|
82
87
|
* @public
|
|
83
88
|
*/
|
|
84
|
-
export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CancelUpdateCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateCapabilityCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteCapabilityCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeCapabilityCommandOutput | DescribeClusterCommandOutput | DescribeClusterVersionsCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeInsightsRefreshCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListCapabilitiesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | StartInsightsRefreshCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateCapabilityCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
|
|
89
|
+
export type ServiceOutputTypes = ActivateCertificateAuthorityCommandOutput | AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CancelUpdateCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateCapabilityCommandOutput | CreateCertificateAuthorityCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteCapabilityCommandOutput | DeleteCertificateAuthorityCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeCapabilityCommandOutput | DescribeCertificateAuthorityCommandOutput | DescribeClusterCommandOutput | DescribeClusterVersionsCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeInsightCommandOutput | DescribeInsightsRefreshCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListCapabilitiesCommandOutput | ListCertificateAuthoritiesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListInsightsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | StartInsightsRefreshCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateCapabilityCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
|
|
85
90
|
/**
|
|
86
91
|
* @public
|
|
87
92
|
*/
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ActivateCertificateAuthorityRequest, ActivateCertificateAuthorityResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ActivateCertificateAuthorityCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ActivateCertificateAuthorityCommandInput extends ActivateCertificateAuthorityRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ActivateCertificateAuthorityCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ActivateCertificateAuthorityCommandOutput extends ActivateCertificateAuthorityResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ActivateCertificateAuthorityCommand_base: {
|
|
22
|
+
new (input: ActivateCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<ActivateCertificateAuthorityCommandInput, ActivateCertificateAuthorityCommandOutput, import("..").EKSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ActivateCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<ActivateCertificateAuthorityCommandInput, ActivateCertificateAuthorityCommandOutput, import("..").EKSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Activates a successor certificate authority (CA) as the signing certificate authority
|
|
28
|
+
* for your cluster, completing a CA rotation.</p>
|
|
29
|
+
* <p>When you activate a successor CA, Amazon EKS promotes it to be the cluster's signer (its
|
|
30
|
+
* <code>signingStatus</code> becomes <code>IN_USE</code>) and the outgoing CA is
|
|
31
|
+
* retired (<code>NOT_USED</code>). The outgoing CA remains in the cluster's trust bundle but
|
|
32
|
+
* no longer signs certificates. The successor CA you activate must already be present on
|
|
33
|
+
* the cluster and fully distributed (its <code>distributionStatus</code> must be
|
|
34
|
+
* <code>COMPLETE</code>). This is an asynchronous operation that returns an
|
|
35
|
+
* <code>update</code> object you can track with <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_DescribeUpdate.html">
|
|
36
|
+
* <code>DescribeUpdate</code>
|
|
37
|
+
* </a>.</p>
|
|
38
|
+
* <p>Before you activate the successor CA, make sure the worker nodes you manage and your
|
|
39
|
+
* external clients have been updated to trust it, so they maintain connectivity to the API
|
|
40
|
+
* server after activation. For a limited period after activation, CA rollback is available
|
|
41
|
+
* to revert to the outgoing CA if needed. If you don't activate the successor CA yourself,
|
|
42
|
+
* Amazon EKS activates it automatically as the expiration deadline approaches. For more
|
|
43
|
+
* information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/certificate-authority-rotation.html">Rotate the Amazon EKS
|
|
44
|
+
* cluster certificate authority</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
45
|
+
* @example
|
|
46
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
47
|
+
* ```javascript
|
|
48
|
+
* import { EKSClient, ActivateCertificateAuthorityCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
49
|
+
* // const { EKSClient, ActivateCertificateAuthorityCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
50
|
+
* // import type { EKSClientConfig } from "@aws-sdk/client-eks";
|
|
51
|
+
* const config = {}; // type is EKSClientConfig
|
|
52
|
+
* const client = new EKSClient(config);
|
|
53
|
+
* const input = { // ActivateCertificateAuthorityRequest
|
|
54
|
+
* clusterName: "STRING_VALUE", // required
|
|
55
|
+
* certificateAuthorityId: "STRING_VALUE", // required
|
|
56
|
+
* clientRequestToken: "STRING_VALUE",
|
|
57
|
+
* };
|
|
58
|
+
* const command = new ActivateCertificateAuthorityCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // ActivateCertificateAuthorityResponse
|
|
61
|
+
* // update: { // Update
|
|
62
|
+
* // id: "STRING_VALUE",
|
|
63
|
+
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
64
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate" || "CertificateAuthorityUpdate",
|
|
65
|
+
* // params: [ // UpdateParams
|
|
66
|
+
* // { // UpdateParam
|
|
67
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig" || "ActiveCertificateAuthority" || "TrustedCertificateAuthorities" || "CertificateAuthorityId" || "SigningStatus",
|
|
68
|
+
* // value: "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // ],
|
|
71
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
72
|
+
* // errors: [ // ErrorDetails
|
|
73
|
+
* // { // ErrorDetail
|
|
74
|
+
* // errorCode: "SubnetNotFound" || "SecurityGroupNotFound" || "EniLimitReached" || "IpNotAvailable" || "AccessDenied" || "OperationNotPermitted" || "VpcIdNotFound" || "Unknown" || "NodeCreationFailure" || "PodEvictionFailure" || "InsufficientFreeAddresses" || "ClusterUnreachable" || "InsufficientNumberOfReplicas" || "ConfigurationConflict" || "AdmissionRequestDenied" || "UnsupportedAddonModification" || "K8sResourceNotFound",
|
|
75
|
+
* // errorMessage: "STRING_VALUE",
|
|
76
|
+
* // resourceIds: [ // StringList
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // cancellation: { // Cancellation
|
|
82
|
+
* // status: "InProgress" || "Failed" || "Successful",
|
|
83
|
+
* // reason: "STRING_VALUE",
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // certificateAuthority: { // CertificateAuthoritySummary
|
|
87
|
+
* // id: "STRING_VALUE",
|
|
88
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
89
|
+
* // createdBy: "EKS" || "CUSTOMER",
|
|
90
|
+
* // activatedAt: new Date("TIMESTAMP"),
|
|
91
|
+
* // activatedBy: "EKS" || "CUSTOMER",
|
|
92
|
+
* // signingStatus: "NOT_USED" || "ACTIVATING" || "IN_USE",
|
|
93
|
+
* // distributionStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "DELETING",
|
|
94
|
+
* // },
|
|
95
|
+
* // };
|
|
96
|
+
*
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* @param ActivateCertificateAuthorityCommandInput - {@link ActivateCertificateAuthorityCommandInput}
|
|
100
|
+
* @returns {@link ActivateCertificateAuthorityCommandOutput}
|
|
101
|
+
* @see {@link ActivateCertificateAuthorityCommandInput} for command's `input` shape.
|
|
102
|
+
* @see {@link ActivateCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
103
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
106
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
107
|
+
* request.</p>
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
110
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
111
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
112
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
|
|
113
|
+
* specific.</p>
|
|
114
|
+
*
|
|
115
|
+
* @throws {@link ServerException} (server fault)
|
|
116
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
119
|
+
* <p>The service is unavailable. Back off and retry the operation.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link EKSServiceException}
|
|
122
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
123
|
+
*
|
|
124
|
+
*
|
|
125
|
+
* @public
|
|
126
|
+
*/
|
|
127
|
+
export declare class ActivateCertificateAuthorityCommand extends ActivateCertificateAuthorityCommand_base {
|
|
128
|
+
/** @internal type navigation helper, not in runtime. */
|
|
129
|
+
protected static __types: {
|
|
130
|
+
api: {
|
|
131
|
+
input: ActivateCertificateAuthorityRequest;
|
|
132
|
+
output: ActivateCertificateAuthorityResponse;
|
|
133
|
+
};
|
|
134
|
+
sdk: {
|
|
135
|
+
input: ActivateCertificateAuthorityCommandInput;
|
|
136
|
+
output: ActivateCertificateAuthorityCommandOutput;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
}
|
|
@@ -56,10 +56,10 @@ declare const AssociateEncryptionConfigCommand_base: {
|
|
|
56
56
|
* // update: { // Update
|
|
57
57
|
* // id: "STRING_VALUE",
|
|
58
58
|
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
59
|
-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate",
|
|
59
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate" || "CertificateAuthorityUpdate",
|
|
60
60
|
* // params: [ // UpdateParams
|
|
61
61
|
* // { // UpdateParam
|
|
62
|
-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig",
|
|
62
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig" || "ActiveCertificateAuthority" || "TrustedCertificateAuthorities" || "CertificateAuthorityId" || "SigningStatus",
|
|
63
63
|
* // value: "STRING_VALUE",
|
|
64
64
|
* // },
|
|
65
65
|
* // ],
|
|
@@ -65,10 +65,10 @@ declare const AssociateIdentityProviderConfigCommand_base: {
|
|
|
65
65
|
* // update: { // Update
|
|
66
66
|
* // id: "STRING_VALUE",
|
|
67
67
|
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
68
|
-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate",
|
|
68
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate" || "CertificateAuthorityUpdate",
|
|
69
69
|
* // params: [ // UpdateParams
|
|
70
70
|
* // { // UpdateParam
|
|
71
|
-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig",
|
|
71
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig" || "ActiveCertificateAuthority" || "TrustedCertificateAuthorities" || "CertificateAuthorityId" || "SigningStatus",
|
|
72
72
|
* // value: "STRING_VALUE",
|
|
73
73
|
* // },
|
|
74
74
|
* // ],
|
|
@@ -50,10 +50,10 @@ declare const CancelUpdateCommand_base: {
|
|
|
50
50
|
* // update: { // Update
|
|
51
51
|
* // id: "STRING_VALUE",
|
|
52
52
|
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
53
|
-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate",
|
|
53
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate" || "CertificateAuthorityUpdate",
|
|
54
54
|
* // params: [ // UpdateParams
|
|
55
55
|
* // { // UpdateParam
|
|
56
|
-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig",
|
|
56
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig" || "ActiveCertificateAuthority" || "TrustedCertificateAuthorities" || "CertificateAuthorityId" || "SigningStatus",
|
|
57
57
|
* // value: "STRING_VALUE",
|
|
58
58
|
* // },
|
|
59
59
|
* // ],
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateCertificateAuthorityRequest, CreateCertificateAuthorityResponse } from "../models/models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateCertificateAuthorityCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateCertificateAuthorityCommandInput extends CreateCertificateAuthorityRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateCertificateAuthorityCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateCertificateAuthorityCommandOutput extends CreateCertificateAuthorityResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateCertificateAuthorityCommand_base: {
|
|
22
|
+
new (input: CreateCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<CreateCertificateAuthorityCommandInput, CreateCertificateAuthorityCommandOutput, import("..").EKSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateCertificateAuthorityCommandInput): import("@smithy/core/client").CommandImpl<CreateCertificateAuthorityCommandInput, CreateCertificateAuthorityCommandOutput, import("..").EKSClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Appends a successor certificate authority (CA) to your cluster, beginning the CA
|
|
28
|
+
* rotation process.</p>
|
|
29
|
+
* <p>A cluster certificate authority is the root of trust for your cluster's control plane.
|
|
30
|
+
* It signs the certificates that secure communication between the Kubernetes API server and its
|
|
31
|
+
* clients, and its public certificate is distributed to your cluster's trust bundle so that
|
|
32
|
+
* worker nodes and clients can verify the API server's identity. Each cluster can have at
|
|
33
|
+
* most two certificate authorities at a time: the outgoing CA that's currently signing (its
|
|
34
|
+
* <code>signingStatus</code> is <code>IN_USE</code>) and one successor CA
|
|
35
|
+
* (<code>signingStatus</code> of <code>NOT_USED</code>) that you can later activate to
|
|
36
|
+
* complete the rotation.</p>
|
|
37
|
+
* <p>Appending a successor CA adds its public certificate to the cluster's trust bundle so
|
|
38
|
+
* that the cluster trusts both CAs simultaneously (the dual trust period), but it doesn't
|
|
39
|
+
* begin signing certificates. Amazon EKS then distributes the successor CA to the Amazon Web Services managed
|
|
40
|
+
* components in your cluster; you can track this through the CA's
|
|
41
|
+
* <code>distributionStatus</code>. The successor CA can't be activated until its
|
|
42
|
+
* <code>distributionStatus</code> is <code>COMPLETE</code>. To activate it as the
|
|
43
|
+
* cluster's signer, use <a href="https://docs.aws.amazon.com/eks/latest/APIReference/API_ActivateCertificateAuthority.html">
|
|
44
|
+
* <code>ActivateCertificateAuthority</code>
|
|
45
|
+
* </a>. This is an asynchronous operation
|
|
46
|
+
* that returns an <code>update</code> object. If you don't append a successor CA yourself,
|
|
47
|
+
* Amazon EKS appends one automatically before the outgoing CA approaches expiration.</p>
|
|
48
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/certificate-authority-rotation.html">Rotate the Amazon EKS
|
|
49
|
+
* cluster certificate authority</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
50
|
+
* @example
|
|
51
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
52
|
+
* ```javascript
|
|
53
|
+
* import { EKSClient, CreateCertificateAuthorityCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
54
|
+
* // const { EKSClient, CreateCertificateAuthorityCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
55
|
+
* // import type { EKSClientConfig } from "@aws-sdk/client-eks";
|
|
56
|
+
* const config = {}; // type is EKSClientConfig
|
|
57
|
+
* const client = new EKSClient(config);
|
|
58
|
+
* const input = { // CreateCertificateAuthorityRequest
|
|
59
|
+
* clusterName: "STRING_VALUE", // required
|
|
60
|
+
* clientRequestToken: "STRING_VALUE",
|
|
61
|
+
* };
|
|
62
|
+
* const command = new CreateCertificateAuthorityCommand(input);
|
|
63
|
+
* const response = await client.send(command);
|
|
64
|
+
* // { // CreateCertificateAuthorityResponse
|
|
65
|
+
* // update: { // Update
|
|
66
|
+
* // id: "STRING_VALUE",
|
|
67
|
+
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
68
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate" || "UpgradePolicyUpdate" || "ZonalShiftConfigUpdate" || "AutoModeUpdate" || "RemoteNetworkConfigUpdate" || "DeletionProtectionUpdate" || "CapabilityUpdate" || "ControlPlaneScalingConfigUpdate" || "VendedLogsUpdate" || "ControlPlaneEgressUpdate" || "VersionRollback" || "ControlPlaneComponentConfigUpdate" || "CertificateAuthorityUpdate",
|
|
69
|
+
* // params: [ // UpdateParams
|
|
70
|
+
* // { // UpdateParam
|
|
71
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "NodeRepairEnabled" || "UpdateStrategy" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode" || "PodIdentityAssociations" || "UpgradePolicy" || "ZonalShiftConfig" || "ComputeConfig" || "StorageConfig" || "KubernetesNetworkConfig" || "RemoteNetworkConfig" || "DeletionProtection" || "NodeRepairConfig" || "RoleArn" || "RoleMappingsToAddOrUpdate" || "RoleMappingsToRemove" || "NetworkAccess" || "VendedLogs" || "UpdatedTier" || "PreviousTier" || "WarmPoolEnabled" || "WarmPoolMaxGroupPreparedCapacity" || "WarmPoolMinSize" || "WarmPoolState" || "WarmPoolReuseOnScaleIn" || "ControlPlaneEgressMode" || "KubeApiServerConfig" || "KubeSchedulerConfig" || "KubeControllerManagerConfig" || "ActiveCertificateAuthority" || "TrustedCertificateAuthorities" || "CertificateAuthorityId" || "SigningStatus",
|
|
72
|
+
* // value: "STRING_VALUE",
|
|
73
|
+
* // },
|
|
74
|
+
* // ],
|
|
75
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
76
|
+
* // errors: [ // ErrorDetails
|
|
77
|
+
* // { // ErrorDetail
|
|
78
|
+
* // errorCode: "SubnetNotFound" || "SecurityGroupNotFound" || "EniLimitReached" || "IpNotAvailable" || "AccessDenied" || "OperationNotPermitted" || "VpcIdNotFound" || "Unknown" || "NodeCreationFailure" || "PodEvictionFailure" || "InsufficientFreeAddresses" || "ClusterUnreachable" || "InsufficientNumberOfReplicas" || "ConfigurationConflict" || "AdmissionRequestDenied" || "UnsupportedAddonModification" || "K8sResourceNotFound",
|
|
79
|
+
* // errorMessage: "STRING_VALUE",
|
|
80
|
+
* // resourceIds: [ // StringList
|
|
81
|
+
* // "STRING_VALUE",
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
85
|
+
* // cancellation: { // Cancellation
|
|
86
|
+
* // status: "InProgress" || "Failed" || "Successful",
|
|
87
|
+
* // reason: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // },
|
|
90
|
+
* // certificateAuthority: { // CertificateAuthoritySummary
|
|
91
|
+
* // id: "STRING_VALUE",
|
|
92
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
93
|
+
* // createdBy: "EKS" || "CUSTOMER",
|
|
94
|
+
* // activatedAt: new Date("TIMESTAMP"),
|
|
95
|
+
* // activatedBy: "EKS" || "CUSTOMER",
|
|
96
|
+
* // signingStatus: "NOT_USED" || "ACTIVATING" || "IN_USE",
|
|
97
|
+
* // distributionStatus: "IN_PROGRESS" || "COMPLETE" || "FAILED" || "DELETING",
|
|
98
|
+
* // },
|
|
99
|
+
* // };
|
|
100
|
+
*
|
|
101
|
+
* ```
|
|
102
|
+
*
|
|
103
|
+
* @param CreateCertificateAuthorityCommandInput - {@link CreateCertificateAuthorityCommandInput}
|
|
104
|
+
* @returns {@link CreateCertificateAuthorityCommandOutput}
|
|
105
|
+
* @see {@link CreateCertificateAuthorityCommandInput} for command's `input` shape.
|
|
106
|
+
* @see {@link CreateCertificateAuthorityCommandOutput} for command's `response` shape.
|
|
107
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
108
|
+
*
|
|
109
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
110
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
111
|
+
* request.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
114
|
+
* <p>The specified resource is in use.</p>
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
117
|
+
* <p>You have encountered a service limit on the specified resource.</p>
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
120
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
121
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
122
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region
|
|
123
|
+
* specific.</p>
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link ServerException} (server fault)
|
|
126
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ServiceUnavailableException} (server fault)
|
|
129
|
+
* <p>The service is unavailable. Back off and retry the operation.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link EKSServiceException}
|
|
132
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
133
|
+
*
|
|
134
|
+
*
|
|
135
|
+
* @public
|
|
136
|
+
*/
|
|
137
|
+
export declare class CreateCertificateAuthorityCommand extends CreateCertificateAuthorityCommand_base {
|
|
138
|
+
/** @internal type navigation helper, not in runtime. */
|
|
139
|
+
protected static __types: {
|
|
140
|
+
api: {
|
|
141
|
+
input: CreateCertificateAuthorityRequest;
|
|
142
|
+
output: CreateCertificateAuthorityResponse;
|
|
143
|
+
};
|
|
144
|
+
sdk: {
|
|
145
|
+
input: CreateCertificateAuthorityCommandInput;
|
|
146
|
+
output: CreateCertificateAuthorityCommandOutput;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
}
|
|
@@ -249,6 +249,10 @@ declare const CreateClusterCommand_base: {
|
|
|
249
249
|
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED" || "UPDATING" || "PENDING",
|
|
250
250
|
* // certificateAuthority: { // Certificate
|
|
251
251
|
* // data: "STRING_VALUE",
|
|
252
|
+
* // active: { // ActiveCertificateAuthority
|
|
253
|
+
* // id: "STRING_VALUE",
|
|
254
|
+
* // activatedBy: "EKS" || "CUSTOMER",
|
|
255
|
+
* // },
|
|
252
256
|
* // },
|
|
253
257
|
* // clientRequestToken: "STRING_VALUE",
|
|
254
258
|
* // platformVersion: "STRING_VALUE",
|