@aws-sdk/client-eks 3.474.0 → 3.477.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 +75 -3
- package/dist-cjs/EKS.js +18 -0
- package/dist-cjs/commands/AssociateAccessPolicyCommand.js +51 -0
- package/dist-cjs/commands/CreateAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/DeleteAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/DescribeAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +51 -0
- package/dist-cjs/commands/ListAccessEntriesCommand.js +51 -0
- package/dist-cjs/commands/ListAccessPoliciesCommand.js +51 -0
- package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +51 -0
- package/dist-cjs/commands/UpdateAccessEntryCommand.js +51 -0
- package/dist-cjs/commands/index.js +9 -0
- package/dist-cjs/models/models_0.js +87 -76
- package/dist-cjs/pagination/ListAccessEntriesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAccessPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/ListAssociatedAccessPoliciesPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +3 -0
- package/dist-cjs/protocols/Aws_restJson1.js +828 -554
- package/dist-es/EKS.js +18 -0
- package/dist-es/commands/AssociateAccessPolicyCommand.js +47 -0
- package/dist-es/commands/CreateAccessEntryCommand.js +47 -0
- package/dist-es/commands/DeleteAccessEntryCommand.js +47 -0
- package/dist-es/commands/DescribeAccessEntryCommand.js +47 -0
- package/dist-es/commands/DisassociateAccessPolicyCommand.js +47 -0
- package/dist-es/commands/ListAccessEntriesCommand.js +47 -0
- package/dist-es/commands/ListAccessPoliciesCommand.js +47 -0
- package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +47 -0
- package/dist-es/commands/UpdateAccessEntryCommand.js +47 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +81 -70
- package/dist-es/pagination/ListAccessEntriesPaginator.js +25 -0
- package/dist-es/pagination/ListAccessPoliciesPaginator.js +25 -0
- package/dist-es/pagination/ListAssociatedAccessPoliciesPaginator.js +25 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +803 -548
- package/dist-types/EKS.d.ts +66 -3
- package/dist-types/EKSClient.d.ts +14 -5
- package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +111 -0
- package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +8 -9
- package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +9 -10
- package/dist-types/commands/CreateAccessEntryCommand.d.ts +131 -0
- package/dist-types/commands/CreateAddonCommand.d.ts +2 -3
- package/dist-types/commands/CreateClusterCommand.d.ts +9 -1
- package/dist-types/commands/CreateFargateProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateNodegroupCommand.d.ts +8 -5
- package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +3 -4
- package/dist-types/commands/DeleteAccessEntryCommand.d.ts +87 -0
- package/dist-types/commands/DeleteAddonCommand.d.ts +5 -6
- package/dist-types/commands/DeleteClusterCommand.d.ts +10 -6
- package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/DeleteFargateProfileCommand.d.ts +8 -7
- package/dist-types/commands/DeleteNodegroupCommand.d.ts +3 -4
- package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +2 -3
- package/dist-types/commands/DeregisterClusterCommand.d.ts +8 -3
- package/dist-types/commands/DescribeAccessEntryCommand.d.ts +100 -0
- package/dist-types/commands/DescribeAddonCommand.d.ts +2 -3
- package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +2 -3
- package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -6
- package/dist-types/commands/DescribeClusterCommand.d.ts +10 -6
- package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/DescribeFargateProfileCommand.d.ts +3 -4
- package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +3 -4
- package/dist-types/commands/DescribeNodegroupCommand.d.ts +3 -4
- package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +2 -3
- package/dist-types/commands/DescribeUpdateCommand.d.ts +5 -7
- package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +85 -0
- package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +8 -9
- package/dist-types/commands/ListAccessEntriesCommand.d.ts +95 -0
- package/dist-types/commands/ListAccessPoliciesCommand.d.ts +83 -0
- package/dist-types/commands/ListAddonsCommand.d.ts +2 -3
- package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +103 -0
- package/dist-types/commands/ListClustersCommand.d.ts +1 -1
- package/dist-types/commands/ListFargateProfilesCommand.d.ts +3 -4
- package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +3 -4
- package/dist-types/commands/ListNodegroupsCommand.d.ts +4 -6
- package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +2 -3
- package/dist-types/commands/ListUpdatesCommand.d.ts +3 -5
- package/dist-types/commands/RegisterClusterCommand.d.ts +8 -3
- package/dist-types/commands/TagResourceCommand.d.ts +6 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessEntryCommand.d.ts +109 -0
- package/dist-types/commands/UpdateAddonCommand.d.ts +4 -5
- package/dist-types/commands/UpdateClusterConfigCommand.d.ts +9 -8
- package/dist-types/commands/UpdateClusterVersionCommand.d.ts +4 -5
- package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +2 -3
- package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -5
- package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +8 -9
- package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +3 -4
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/index.d.ts +3 -3
- package/dist-types/models/models_0.d.ts +1256 -556
- package/dist-types/pagination/ListAccessEntriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAccessPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/EKS.d.ts +153 -0
- package/dist-types/ts3.4/EKSClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +189 -54
- package/dist-types/ts3.4/pagination/ListAccessEntriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAccessPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAssociatedAccessPoliciesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +5 -4
package/dist-types/EKS.d.ts
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { AssociateAccessPolicyCommandInput, AssociateAccessPolicyCommandOutput } from "./commands/AssociateAccessPolicyCommand";
|
|
2
3
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
3
4
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
5
|
+
import { CreateAccessEntryCommandInput, CreateAccessEntryCommandOutput } from "./commands/CreateAccessEntryCommand";
|
|
4
6
|
import { CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
|
|
5
7
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
6
8
|
import { CreateEksAnywhereSubscriptionCommandInput, CreateEksAnywhereSubscriptionCommandOutput } from "./commands/CreateEksAnywhereSubscriptionCommand";
|
|
7
9
|
import { CreateFargateProfileCommandInput, CreateFargateProfileCommandOutput } from "./commands/CreateFargateProfileCommand";
|
|
8
10
|
import { CreateNodegroupCommandInput, CreateNodegroupCommandOutput } from "./commands/CreateNodegroupCommand";
|
|
9
11
|
import { CreatePodIdentityAssociationCommandInput, CreatePodIdentityAssociationCommandOutput } from "./commands/CreatePodIdentityAssociationCommand";
|
|
12
|
+
import { DeleteAccessEntryCommandInput, DeleteAccessEntryCommandOutput } from "./commands/DeleteAccessEntryCommand";
|
|
10
13
|
import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
|
|
11
14
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
12
15
|
import { DeleteEksAnywhereSubscriptionCommandInput, DeleteEksAnywhereSubscriptionCommandOutput } from "./commands/DeleteEksAnywhereSubscriptionCommand";
|
|
@@ -14,6 +17,7 @@ import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } f
|
|
|
14
17
|
import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
|
|
15
18
|
import { DeletePodIdentityAssociationCommandInput, DeletePodIdentityAssociationCommandOutput } from "./commands/DeletePodIdentityAssociationCommand";
|
|
16
19
|
import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
|
|
20
|
+
import { DescribeAccessEntryCommandInput, DescribeAccessEntryCommandOutput } from "./commands/DescribeAccessEntryCommand";
|
|
17
21
|
import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
|
|
18
22
|
import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
|
|
19
23
|
import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
|
|
@@ -24,8 +28,12 @@ import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderCon
|
|
|
24
28
|
import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
|
|
25
29
|
import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
|
|
26
30
|
import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
|
|
31
|
+
import { DisassociateAccessPolicyCommandInput, DisassociateAccessPolicyCommandOutput } from "./commands/DisassociateAccessPolicyCommand";
|
|
27
32
|
import { DisassociateIdentityProviderConfigCommandInput, DisassociateIdentityProviderConfigCommandOutput } from "./commands/DisassociateIdentityProviderConfigCommand";
|
|
33
|
+
import { ListAccessEntriesCommandInput, ListAccessEntriesCommandOutput } from "./commands/ListAccessEntriesCommand";
|
|
34
|
+
import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
|
|
28
35
|
import { ListAddonsCommandInput, ListAddonsCommandOutput } from "./commands/ListAddonsCommand";
|
|
36
|
+
import { ListAssociatedAccessPoliciesCommandInput, ListAssociatedAccessPoliciesCommandOutput } from "./commands/ListAssociatedAccessPoliciesCommand";
|
|
29
37
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
30
38
|
import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
31
39
|
import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
|
|
@@ -37,6 +45,7 @@ import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/Li
|
|
|
37
45
|
import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
|
|
38
46
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
39
47
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
48
|
+
import { UpdateAccessEntryCommandInput, UpdateAccessEntryCommandOutput } from "./commands/UpdateAccessEntryCommand";
|
|
40
49
|
import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "./commands/UpdateAddonCommand";
|
|
41
50
|
import { UpdateClusterConfigCommandInput, UpdateClusterConfigCommandOutput } from "./commands/UpdateClusterConfigCommand";
|
|
42
51
|
import { UpdateClusterVersionCommandInput, UpdateClusterVersionCommandOutput } from "./commands/UpdateClusterVersionCommand";
|
|
@@ -46,6 +55,12 @@ import { UpdateNodegroupVersionCommandInput, UpdateNodegroupVersionCommandOutput
|
|
|
46
55
|
import { UpdatePodIdentityAssociationCommandInput, UpdatePodIdentityAssociationCommandOutput } from "./commands/UpdatePodIdentityAssociationCommand";
|
|
47
56
|
import { EKSClient } from "./EKSClient";
|
|
48
57
|
export interface EKS {
|
|
58
|
+
/**
|
|
59
|
+
* @see {@link AssociateAccessPolicyCommand}
|
|
60
|
+
*/
|
|
61
|
+
associateAccessPolicy(args: AssociateAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<AssociateAccessPolicyCommandOutput>;
|
|
62
|
+
associateAccessPolicy(args: AssociateAccessPolicyCommandInput, cb: (err: any, data?: AssociateAccessPolicyCommandOutput) => void): void;
|
|
63
|
+
associateAccessPolicy(args: AssociateAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateAccessPolicyCommandOutput) => void): void;
|
|
49
64
|
/**
|
|
50
65
|
* @see {@link AssociateEncryptionConfigCommand}
|
|
51
66
|
*/
|
|
@@ -58,6 +73,12 @@ export interface EKS {
|
|
|
58
73
|
associateIdentityProviderConfig(args: AssociateIdentityProviderConfigCommandInput, options?: __HttpHandlerOptions): Promise<AssociateIdentityProviderConfigCommandOutput>;
|
|
59
74
|
associateIdentityProviderConfig(args: AssociateIdentityProviderConfigCommandInput, cb: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void): void;
|
|
60
75
|
associateIdentityProviderConfig(args: AssociateIdentityProviderConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateIdentityProviderConfigCommandOutput) => void): void;
|
|
76
|
+
/**
|
|
77
|
+
* @see {@link CreateAccessEntryCommand}
|
|
78
|
+
*/
|
|
79
|
+
createAccessEntry(args: CreateAccessEntryCommandInput, options?: __HttpHandlerOptions): Promise<CreateAccessEntryCommandOutput>;
|
|
80
|
+
createAccessEntry(args: CreateAccessEntryCommandInput, cb: (err: any, data?: CreateAccessEntryCommandOutput) => void): void;
|
|
81
|
+
createAccessEntry(args: CreateAccessEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAccessEntryCommandOutput) => void): void;
|
|
61
82
|
/**
|
|
62
83
|
* @see {@link CreateAddonCommand}
|
|
63
84
|
*/
|
|
@@ -94,6 +115,12 @@ export interface EKS {
|
|
|
94
115
|
createPodIdentityAssociation(args: CreatePodIdentityAssociationCommandInput, options?: __HttpHandlerOptions): Promise<CreatePodIdentityAssociationCommandOutput>;
|
|
95
116
|
createPodIdentityAssociation(args: CreatePodIdentityAssociationCommandInput, cb: (err: any, data?: CreatePodIdentityAssociationCommandOutput) => void): void;
|
|
96
117
|
createPodIdentityAssociation(args: CreatePodIdentityAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePodIdentityAssociationCommandOutput) => void): void;
|
|
118
|
+
/**
|
|
119
|
+
* @see {@link DeleteAccessEntryCommand}
|
|
120
|
+
*/
|
|
121
|
+
deleteAccessEntry(args: DeleteAccessEntryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteAccessEntryCommandOutput>;
|
|
122
|
+
deleteAccessEntry(args: DeleteAccessEntryCommandInput, cb: (err: any, data?: DeleteAccessEntryCommandOutput) => void): void;
|
|
123
|
+
deleteAccessEntry(args: DeleteAccessEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAccessEntryCommandOutput) => void): void;
|
|
97
124
|
/**
|
|
98
125
|
* @see {@link DeleteAddonCommand}
|
|
99
126
|
*/
|
|
@@ -136,6 +163,12 @@ export interface EKS {
|
|
|
136
163
|
deregisterCluster(args: DeregisterClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeregisterClusterCommandOutput>;
|
|
137
164
|
deregisterCluster(args: DeregisterClusterCommandInput, cb: (err: any, data?: DeregisterClusterCommandOutput) => void): void;
|
|
138
165
|
deregisterCluster(args: DeregisterClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterClusterCommandOutput) => void): void;
|
|
166
|
+
/**
|
|
167
|
+
* @see {@link DescribeAccessEntryCommand}
|
|
168
|
+
*/
|
|
169
|
+
describeAccessEntry(args: DescribeAccessEntryCommandInput, options?: __HttpHandlerOptions): Promise<DescribeAccessEntryCommandOutput>;
|
|
170
|
+
describeAccessEntry(args: DescribeAccessEntryCommandInput, cb: (err: any, data?: DescribeAccessEntryCommandOutput) => void): void;
|
|
171
|
+
describeAccessEntry(args: DescribeAccessEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAccessEntryCommandOutput) => void): void;
|
|
139
172
|
/**
|
|
140
173
|
* @see {@link DescribeAddonCommand}
|
|
141
174
|
*/
|
|
@@ -196,18 +229,42 @@ export interface EKS {
|
|
|
196
229
|
describeUpdate(args: DescribeUpdateCommandInput, options?: __HttpHandlerOptions): Promise<DescribeUpdateCommandOutput>;
|
|
197
230
|
describeUpdate(args: DescribeUpdateCommandInput, cb: (err: any, data?: DescribeUpdateCommandOutput) => void): void;
|
|
198
231
|
describeUpdate(args: DescribeUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeUpdateCommandOutput) => void): void;
|
|
232
|
+
/**
|
|
233
|
+
* @see {@link DisassociateAccessPolicyCommand}
|
|
234
|
+
*/
|
|
235
|
+
disassociateAccessPolicy(args: DisassociateAccessPolicyCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateAccessPolicyCommandOutput>;
|
|
236
|
+
disassociateAccessPolicy(args: DisassociateAccessPolicyCommandInput, cb: (err: any, data?: DisassociateAccessPolicyCommandOutput) => void): void;
|
|
237
|
+
disassociateAccessPolicy(args: DisassociateAccessPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateAccessPolicyCommandOutput) => void): void;
|
|
199
238
|
/**
|
|
200
239
|
* @see {@link DisassociateIdentityProviderConfigCommand}
|
|
201
240
|
*/
|
|
202
241
|
disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateIdentityProviderConfigCommandOutput>;
|
|
203
242
|
disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, cb: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void): void;
|
|
204
243
|
disassociateIdentityProviderConfig(args: DisassociateIdentityProviderConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateIdentityProviderConfigCommandOutput) => void): void;
|
|
244
|
+
/**
|
|
245
|
+
* @see {@link ListAccessEntriesCommand}
|
|
246
|
+
*/
|
|
247
|
+
listAccessEntries(args: ListAccessEntriesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessEntriesCommandOutput>;
|
|
248
|
+
listAccessEntries(args: ListAccessEntriesCommandInput, cb: (err: any, data?: ListAccessEntriesCommandOutput) => void): void;
|
|
249
|
+
listAccessEntries(args: ListAccessEntriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessEntriesCommandOutput) => void): void;
|
|
250
|
+
/**
|
|
251
|
+
* @see {@link ListAccessPoliciesCommand}
|
|
252
|
+
*/
|
|
253
|
+
listAccessPolicies(args: ListAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAccessPoliciesCommandOutput>;
|
|
254
|
+
listAccessPolicies(args: ListAccessPoliciesCommandInput, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
|
|
255
|
+
listAccessPolicies(args: ListAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAccessPoliciesCommandOutput) => void): void;
|
|
205
256
|
/**
|
|
206
257
|
* @see {@link ListAddonsCommand}
|
|
207
258
|
*/
|
|
208
259
|
listAddons(args: ListAddonsCommandInput, options?: __HttpHandlerOptions): Promise<ListAddonsCommandOutput>;
|
|
209
260
|
listAddons(args: ListAddonsCommandInput, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
|
|
210
261
|
listAddons(args: ListAddonsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAddonsCommandOutput) => void): void;
|
|
262
|
+
/**
|
|
263
|
+
* @see {@link ListAssociatedAccessPoliciesCommand}
|
|
264
|
+
*/
|
|
265
|
+
listAssociatedAccessPolicies(args: ListAssociatedAccessPoliciesCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedAccessPoliciesCommandOutput>;
|
|
266
|
+
listAssociatedAccessPolicies(args: ListAssociatedAccessPoliciesCommandInput, cb: (err: any, data?: ListAssociatedAccessPoliciesCommandOutput) => void): void;
|
|
267
|
+
listAssociatedAccessPolicies(args: ListAssociatedAccessPoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedAccessPoliciesCommandOutput) => void): void;
|
|
211
268
|
/**
|
|
212
269
|
* @see {@link ListClustersCommand}
|
|
213
270
|
*/
|
|
@@ -274,6 +331,12 @@ export interface EKS {
|
|
|
274
331
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
275
332
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
276
333
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
334
|
+
/**
|
|
335
|
+
* @see {@link UpdateAccessEntryCommand}
|
|
336
|
+
*/
|
|
337
|
+
updateAccessEntry(args: UpdateAccessEntryCommandInput, options?: __HttpHandlerOptions): Promise<UpdateAccessEntryCommandOutput>;
|
|
338
|
+
updateAccessEntry(args: UpdateAccessEntryCommandInput, cb: (err: any, data?: UpdateAccessEntryCommandOutput) => void): void;
|
|
339
|
+
updateAccessEntry(args: UpdateAccessEntryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAccessEntryCommandOutput) => void): void;
|
|
277
340
|
/**
|
|
278
341
|
* @see {@link UpdateAddonCommand}
|
|
279
342
|
*/
|
|
@@ -320,9 +383,9 @@ export interface EKS {
|
|
|
320
383
|
/**
|
|
321
384
|
* @public
|
|
322
385
|
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
|
|
323
|
-
* for you to run Kubernetes on Amazon Web Services without needing to
|
|
324
|
-
*
|
|
325
|
-
* scaling, and management of containerized applications
|
|
386
|
+
* for you to run Kubernetes on Amazon Web Services without needing to setup or maintain your own
|
|
387
|
+
* Kubernetes control plane. Kubernetes is an open-source system for automating the deployment,
|
|
388
|
+
* scaling, and management of containerized applications.</p>
|
|
326
389
|
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you
|
|
327
390
|
* can use all the existing plugins and tooling from the Kubernetes community. Applications
|
|
328
391
|
* running on Amazon EKS are fully compatible with applications running on any
|
|
@@ -8,14 +8,17 @@ import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"
|
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@smithy/protocol-http";
|
|
9
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
10
10
|
import { 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, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
11
|
+
import { AssociateAccessPolicyCommandInput, AssociateAccessPolicyCommandOutput } from "./commands/AssociateAccessPolicyCommand";
|
|
11
12
|
import { AssociateEncryptionConfigCommandInput, AssociateEncryptionConfigCommandOutput } from "./commands/AssociateEncryptionConfigCommand";
|
|
12
13
|
import { AssociateIdentityProviderConfigCommandInput, AssociateIdentityProviderConfigCommandOutput } from "./commands/AssociateIdentityProviderConfigCommand";
|
|
14
|
+
import { CreateAccessEntryCommandInput, CreateAccessEntryCommandOutput } from "./commands/CreateAccessEntryCommand";
|
|
13
15
|
import { CreateAddonCommandInput, CreateAddonCommandOutput } from "./commands/CreateAddonCommand";
|
|
14
16
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
15
17
|
import { CreateEksAnywhereSubscriptionCommandInput, CreateEksAnywhereSubscriptionCommandOutput } from "./commands/CreateEksAnywhereSubscriptionCommand";
|
|
16
18
|
import { CreateFargateProfileCommandInput, CreateFargateProfileCommandOutput } from "./commands/CreateFargateProfileCommand";
|
|
17
19
|
import { CreateNodegroupCommandInput, CreateNodegroupCommandOutput } from "./commands/CreateNodegroupCommand";
|
|
18
20
|
import { CreatePodIdentityAssociationCommandInput, CreatePodIdentityAssociationCommandOutput } from "./commands/CreatePodIdentityAssociationCommand";
|
|
21
|
+
import { DeleteAccessEntryCommandInput, DeleteAccessEntryCommandOutput } from "./commands/DeleteAccessEntryCommand";
|
|
19
22
|
import { DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
|
|
20
23
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
21
24
|
import { DeleteEksAnywhereSubscriptionCommandInput, DeleteEksAnywhereSubscriptionCommandOutput } from "./commands/DeleteEksAnywhereSubscriptionCommand";
|
|
@@ -23,6 +26,7 @@ import { DeleteFargateProfileCommandInput, DeleteFargateProfileCommandOutput } f
|
|
|
23
26
|
import { DeleteNodegroupCommandInput, DeleteNodegroupCommandOutput } from "./commands/DeleteNodegroupCommand";
|
|
24
27
|
import { DeletePodIdentityAssociationCommandInput, DeletePodIdentityAssociationCommandOutput } from "./commands/DeletePodIdentityAssociationCommand";
|
|
25
28
|
import { DeregisterClusterCommandInput, DeregisterClusterCommandOutput } from "./commands/DeregisterClusterCommand";
|
|
29
|
+
import { DescribeAccessEntryCommandInput, DescribeAccessEntryCommandOutput } from "./commands/DescribeAccessEntryCommand";
|
|
26
30
|
import { DescribeAddonCommandInput, DescribeAddonCommandOutput } from "./commands/DescribeAddonCommand";
|
|
27
31
|
import { DescribeAddonConfigurationCommandInput, DescribeAddonConfigurationCommandOutput } from "./commands/DescribeAddonConfigurationCommand";
|
|
28
32
|
import { DescribeAddonVersionsCommandInput, DescribeAddonVersionsCommandOutput } from "./commands/DescribeAddonVersionsCommand";
|
|
@@ -33,8 +37,12 @@ import { DescribeIdentityProviderConfigCommandInput, DescribeIdentityProviderCon
|
|
|
33
37
|
import { DescribeNodegroupCommandInput, DescribeNodegroupCommandOutput } from "./commands/DescribeNodegroupCommand";
|
|
34
38
|
import { DescribePodIdentityAssociationCommandInput, DescribePodIdentityAssociationCommandOutput } from "./commands/DescribePodIdentityAssociationCommand";
|
|
35
39
|
import { DescribeUpdateCommandInput, DescribeUpdateCommandOutput } from "./commands/DescribeUpdateCommand";
|
|
40
|
+
import { DisassociateAccessPolicyCommandInput, DisassociateAccessPolicyCommandOutput } from "./commands/DisassociateAccessPolicyCommand";
|
|
36
41
|
import { DisassociateIdentityProviderConfigCommandInput, DisassociateIdentityProviderConfigCommandOutput } from "./commands/DisassociateIdentityProviderConfigCommand";
|
|
42
|
+
import { ListAccessEntriesCommandInput, ListAccessEntriesCommandOutput } from "./commands/ListAccessEntriesCommand";
|
|
43
|
+
import { ListAccessPoliciesCommandInput, ListAccessPoliciesCommandOutput } from "./commands/ListAccessPoliciesCommand";
|
|
37
44
|
import { ListAddonsCommandInput, ListAddonsCommandOutput } from "./commands/ListAddonsCommand";
|
|
45
|
+
import { ListAssociatedAccessPoliciesCommandInput, ListAssociatedAccessPoliciesCommandOutput } from "./commands/ListAssociatedAccessPoliciesCommand";
|
|
38
46
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
39
47
|
import { ListEksAnywhereSubscriptionsCommandInput, ListEksAnywhereSubscriptionsCommandOutput } from "./commands/ListEksAnywhereSubscriptionsCommand";
|
|
40
48
|
import { ListFargateProfilesCommandInput, ListFargateProfilesCommandOutput } from "./commands/ListFargateProfilesCommand";
|
|
@@ -46,6 +54,7 @@ import { ListUpdatesCommandInput, ListUpdatesCommandOutput } from "./commands/Li
|
|
|
46
54
|
import { RegisterClusterCommandInput, RegisterClusterCommandOutput } from "./commands/RegisterClusterCommand";
|
|
47
55
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
48
56
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
57
|
+
import { UpdateAccessEntryCommandInput, UpdateAccessEntryCommandOutput } from "./commands/UpdateAccessEntryCommand";
|
|
49
58
|
import { UpdateAddonCommandInput, UpdateAddonCommandOutput } from "./commands/UpdateAddonCommand";
|
|
50
59
|
import { UpdateClusterConfigCommandInput, UpdateClusterConfigCommandOutput } from "./commands/UpdateClusterConfigCommand";
|
|
51
60
|
import { UpdateClusterVersionCommandInput, UpdateClusterVersionCommandOutput } from "./commands/UpdateClusterVersionCommand";
|
|
@@ -59,11 +68,11 @@ export { __Client };
|
|
|
59
68
|
/**
|
|
60
69
|
* @public
|
|
61
70
|
*/
|
|
62
|
-
export type ServiceInputTypes = AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAddonsCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
|
|
71
|
+
export type ServiceInputTypes = AssociateAccessPolicyCommandInput | AssociateEncryptionConfigCommandInput | AssociateIdentityProviderConfigCommandInput | CreateAccessEntryCommandInput | CreateAddonCommandInput | CreateClusterCommandInput | CreateEksAnywhereSubscriptionCommandInput | CreateFargateProfileCommandInput | CreateNodegroupCommandInput | CreatePodIdentityAssociationCommandInput | DeleteAccessEntryCommandInput | DeleteAddonCommandInput | DeleteClusterCommandInput | DeleteEksAnywhereSubscriptionCommandInput | DeleteFargateProfileCommandInput | DeleteNodegroupCommandInput | DeletePodIdentityAssociationCommandInput | DeregisterClusterCommandInput | DescribeAccessEntryCommandInput | DescribeAddonCommandInput | DescribeAddonConfigurationCommandInput | DescribeAddonVersionsCommandInput | DescribeClusterCommandInput | DescribeEksAnywhereSubscriptionCommandInput | DescribeFargateProfileCommandInput | DescribeIdentityProviderConfigCommandInput | DescribeNodegroupCommandInput | DescribePodIdentityAssociationCommandInput | DescribeUpdateCommandInput | DisassociateAccessPolicyCommandInput | DisassociateIdentityProviderConfigCommandInput | ListAccessEntriesCommandInput | ListAccessPoliciesCommandInput | ListAddonsCommandInput | ListAssociatedAccessPoliciesCommandInput | ListClustersCommandInput | ListEksAnywhereSubscriptionsCommandInput | ListFargateProfilesCommandInput | ListIdentityProviderConfigsCommandInput | ListNodegroupsCommandInput | ListPodIdentityAssociationsCommandInput | ListTagsForResourceCommandInput | ListUpdatesCommandInput | RegisterClusterCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAccessEntryCommandInput | UpdateAddonCommandInput | UpdateClusterConfigCommandInput | UpdateClusterVersionCommandInput | UpdateEksAnywhereSubscriptionCommandInput | UpdateNodegroupConfigCommandInput | UpdateNodegroupVersionCommandInput | UpdatePodIdentityAssociationCommandInput;
|
|
63
72
|
/**
|
|
64
73
|
* @public
|
|
65
74
|
*/
|
|
66
|
-
export type ServiceOutputTypes = AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAddonsCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
|
|
75
|
+
export type ServiceOutputTypes = AssociateAccessPolicyCommandOutput | AssociateEncryptionConfigCommandOutput | AssociateIdentityProviderConfigCommandOutput | CreateAccessEntryCommandOutput | CreateAddonCommandOutput | CreateClusterCommandOutput | CreateEksAnywhereSubscriptionCommandOutput | CreateFargateProfileCommandOutput | CreateNodegroupCommandOutput | CreatePodIdentityAssociationCommandOutput | DeleteAccessEntryCommandOutput | DeleteAddonCommandOutput | DeleteClusterCommandOutput | DeleteEksAnywhereSubscriptionCommandOutput | DeleteFargateProfileCommandOutput | DeleteNodegroupCommandOutput | DeletePodIdentityAssociationCommandOutput | DeregisterClusterCommandOutput | DescribeAccessEntryCommandOutput | DescribeAddonCommandOutput | DescribeAddonConfigurationCommandOutput | DescribeAddonVersionsCommandOutput | DescribeClusterCommandOutput | DescribeEksAnywhereSubscriptionCommandOutput | DescribeFargateProfileCommandOutput | DescribeIdentityProviderConfigCommandOutput | DescribeNodegroupCommandOutput | DescribePodIdentityAssociationCommandOutput | DescribeUpdateCommandOutput | DisassociateAccessPolicyCommandOutput | DisassociateIdentityProviderConfigCommandOutput | ListAccessEntriesCommandOutput | ListAccessPoliciesCommandOutput | ListAddonsCommandOutput | ListAssociatedAccessPoliciesCommandOutput | ListClustersCommandOutput | ListEksAnywhereSubscriptionsCommandOutput | ListFargateProfilesCommandOutput | ListIdentityProviderConfigsCommandOutput | ListNodegroupsCommandOutput | ListPodIdentityAssociationsCommandOutput | ListTagsForResourceCommandOutput | ListUpdatesCommandOutput | RegisterClusterCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAccessEntryCommandOutput | UpdateAddonCommandOutput | UpdateClusterConfigCommandOutput | UpdateClusterVersionCommandOutput | UpdateEksAnywhereSubscriptionCommandOutput | UpdateNodegroupConfigCommandOutput | UpdateNodegroupVersionCommandOutput | UpdatePodIdentityAssociationCommandOutput;
|
|
67
76
|
/**
|
|
68
77
|
* @public
|
|
69
78
|
*/
|
|
@@ -198,9 +207,9 @@ export interface EKSClientResolvedConfig extends EKSClientResolvedConfigType {
|
|
|
198
207
|
/**
|
|
199
208
|
* @public
|
|
200
209
|
* <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
|
|
201
|
-
* for you to run Kubernetes on Amazon Web Services without needing to
|
|
202
|
-
*
|
|
203
|
-
* scaling, and management of containerized applications
|
|
210
|
+
* for you to run Kubernetes on Amazon Web Services without needing to setup or maintain your own
|
|
211
|
+
* Kubernetes control plane. Kubernetes is an open-source system for automating the deployment,
|
|
212
|
+
* scaling, and management of containerized applications.</p>
|
|
204
213
|
* <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you
|
|
205
214
|
* can use all the existing plugins and tooling from the Kubernetes community. Applications
|
|
206
215
|
* running on Amazon EKS are fully compatible with applications running on any
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
5
|
+
import { AssociateAccessPolicyRequest, AssociateAccessPolicyResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AssociateAccessPolicyCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AssociateAccessPolicyCommandInput extends AssociateAccessPolicyRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AssociateAccessPolicyCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AssociateAccessPolicyCommandOutput extends AssociateAccessPolicyResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Associates an access policy and its scope to an access entry. For more information
|
|
27
|
+
* about associating access policies, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/access-policies.html">Associating and disassociating
|
|
28
|
+
* access policies to and from access entries</a> in the <i>Amazon EKS User Guide</i>.</p>
|
|
29
|
+
* @example
|
|
30
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
31
|
+
* ```javascript
|
|
32
|
+
* import { EKSClient, AssociateAccessPolicyCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
33
|
+
* // const { EKSClient, AssociateAccessPolicyCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
34
|
+
* const client = new EKSClient(config);
|
|
35
|
+
* const input = { // AssociateAccessPolicyRequest
|
|
36
|
+
* clusterName: "STRING_VALUE", // required
|
|
37
|
+
* principalArn: "STRING_VALUE", // required
|
|
38
|
+
* policyArn: "STRING_VALUE", // required
|
|
39
|
+
* accessScope: { // AccessScope
|
|
40
|
+
* type: "cluster" || "namespace",
|
|
41
|
+
* namespaces: [ // StringList
|
|
42
|
+
* "STRING_VALUE",
|
|
43
|
+
* ],
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new AssociateAccessPolicyCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // AssociateAccessPolicyResponse
|
|
49
|
+
* // clusterName: "STRING_VALUE",
|
|
50
|
+
* // principalArn: "STRING_VALUE",
|
|
51
|
+
* // associatedAccessPolicy: { // AssociatedAccessPolicy
|
|
52
|
+
* // policyArn: "STRING_VALUE",
|
|
53
|
+
* // accessScope: { // AccessScope
|
|
54
|
+
* // type: "cluster" || "namespace",
|
|
55
|
+
* // namespaces: [ // StringList
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // associatedAt: new Date("TIMESTAMP"),
|
|
60
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
61
|
+
* // },
|
|
62
|
+
* // };
|
|
63
|
+
*
|
|
64
|
+
* ```
|
|
65
|
+
*
|
|
66
|
+
* @param AssociateAccessPolicyCommandInput - {@link AssociateAccessPolicyCommandInput}
|
|
67
|
+
* @returns {@link AssociateAccessPolicyCommandOutput}
|
|
68
|
+
* @see {@link AssociateAccessPolicyCommandInput} for command's `input` shape.
|
|
69
|
+
* @see {@link AssociateAccessPolicyCommandOutput} for command's `response` shape.
|
|
70
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
73
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
74
|
+
* request.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
77
|
+
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
78
|
+
* and the associated operations.</p>
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
81
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
82
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
83
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link ServerException} (server fault)
|
|
86
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link EKSServiceException}
|
|
89
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
90
|
+
*
|
|
91
|
+
*/
|
|
92
|
+
export declare class AssociateAccessPolicyCommand extends $Command<AssociateAccessPolicyCommandInput, AssociateAccessPolicyCommandOutput, EKSClientResolvedConfig> {
|
|
93
|
+
readonly input: AssociateAccessPolicyCommandInput;
|
|
94
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
95
|
+
/**
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
constructor(input: AssociateAccessPolicyCommandInput);
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<AssociateAccessPolicyCommandInput, AssociateAccessPolicyCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
private serialize;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
private deserialize;
|
|
111
|
+
}
|
|
@@ -23,10 +23,10 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* <p>
|
|
28
|
-
* encryption
|
|
29
|
-
*
|
|
26
|
+
* <p>Associates an encryption configuration to an existing cluster.</p>
|
|
27
|
+
* <p>Use this API to enable encryption on existing clusters that don't already have
|
|
28
|
+
* encryption enabled. This allows you to implement a defense-in-depth security strategy
|
|
29
|
+
* without migrating applications to new Amazon EKS clusters.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
32
|
* ```javascript
|
|
@@ -53,10 +53,10 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
|
|
|
53
53
|
* // update: { // Update
|
|
54
54
|
* // id: "STRING_VALUE",
|
|
55
55
|
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
56
|
-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate",
|
|
56
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate",
|
|
57
57
|
* // params: [ // UpdateParams
|
|
58
58
|
* // { // UpdateParam
|
|
59
|
-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets",
|
|
59
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode",
|
|
60
60
|
* // value: "STRING_VALUE",
|
|
61
61
|
* // },
|
|
62
62
|
* // ],
|
|
@@ -99,9 +99,8 @@ export interface AssociateEncryptionConfigCommandOutput extends AssociateEncrypt
|
|
|
99
99
|
*
|
|
100
100
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
101
|
* <p>The specified resource could not be found. You can view your available clusters with
|
|
102
|
-
* <
|
|
103
|
-
* <
|
|
104
|
-
* Region-specific.</p>
|
|
102
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
103
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
105
104
|
*
|
|
106
105
|
* @throws {@link ServerException} (server fault)
|
|
107
106
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
@@ -23,13 +23,13 @@ export interface AssociateIdentityProviderConfigCommandOutput extends AssociateI
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
26
|
+
* <p>Associates an identity provider configuration to a cluster.</p>
|
|
27
27
|
* <p>If you want to authenticate identities using an identity provider, you can create an
|
|
28
28
|
* identity provider configuration and associate it to your cluster. After configuring
|
|
29
|
-
* authentication to your cluster you can create Kubernetes <code>
|
|
30
|
-
* <code>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
29
|
+
* authentication to your cluster you can create Kubernetes <code>Role</code> and
|
|
30
|
+
* <code>ClusterRole</code> objects, assign permissions to them, and then bind them to
|
|
31
|
+
* the identities using Kubernetes <code>RoleBinding</code> and <code>ClusterRoleBinding</code>
|
|
32
|
+
* objects. For more information see <a href="https://kubernetes.io/docs/reference/access-authn-authz/rbac/">Using RBAC
|
|
33
33
|
* Authorization</a> in the Kubernetes documentation.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -62,10 +62,10 @@ export interface AssociateIdentityProviderConfigCommandOutput extends AssociateI
|
|
|
62
62
|
* // update: { // Update
|
|
63
63
|
* // id: "STRING_VALUE",
|
|
64
64
|
* // status: "InProgress" || "Failed" || "Cancelled" || "Successful",
|
|
65
|
-
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate",
|
|
65
|
+
* // type: "VersionUpdate" || "EndpointAccessUpdate" || "LoggingUpdate" || "ConfigUpdate" || "AssociateIdentityProviderConfig" || "DisassociateIdentityProviderConfig" || "AssociateEncryptionConfig" || "AddonUpdate" || "VpcConfigUpdate" || "AccessConfigUpdate",
|
|
66
66
|
* // params: [ // UpdateParams
|
|
67
67
|
* // { // UpdateParam
|
|
68
|
-
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets",
|
|
68
|
+
* // type: "Version" || "PlatformVersion" || "EndpointPrivateAccess" || "EndpointPublicAccess" || "ClusterLogging" || "DesiredSize" || "LabelsToAdd" || "LabelsToRemove" || "TaintsToAdd" || "TaintsToRemove" || "MaxSize" || "MinSize" || "ReleaseVersion" || "PublicAccessCidrs" || "LaunchTemplateName" || "LaunchTemplateVersion" || "IdentityProviderConfig" || "EncryptionConfig" || "AddonVersion" || "ServiceAccountRoleArn" || "ResolveConflicts" || "MaxUnavailable" || "MaxUnavailablePercentage" || "ConfigurationValues" || "SecurityGroups" || "Subnets" || "AuthenticationMode",
|
|
69
69
|
* // value: "STRING_VALUE",
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
@@ -111,9 +111,8 @@ export interface AssociateIdentityProviderConfigCommandOutput extends AssociateI
|
|
|
111
111
|
*
|
|
112
112
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
113
113
|
* <p>The specified resource could not be found. You can view your available clusters with
|
|
114
|
-
* <
|
|
115
|
-
* <
|
|
116
|
-
* Region-specific.</p>
|
|
114
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
115
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
117
116
|
*
|
|
118
117
|
* @throws {@link ServerException} (server fault)
|
|
119
118
|
* <p>These errors are usually caused by a server-side issue.</p>
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { EKSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EKSClient";
|
|
5
|
+
import { CreateAccessEntryRequest, CreateAccessEntryResponse } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateAccessEntryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateAccessEntryCommandInput extends CreateAccessEntryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateAccessEntryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateAccessEntryCommandOutput extends CreateAccessEntryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Creates an access entry.</p>
|
|
27
|
+
* <p>An access entry allows an IAM principal to access your cluster. Access
|
|
28
|
+
* entries can replace the need to maintain entries in the <code>aws-auth</code>
|
|
29
|
+
* <code>ConfigMap</code> for authentication. You have the following options for
|
|
30
|
+
* authorizing an IAM principal to access Kubernetes objects on your cluster: Kubernetes
|
|
31
|
+
* role-based access control (RBAC), Amazon EKS, or both. Kubernetes RBAC authorization
|
|
32
|
+
* requires you to create and manage Kubernetes <code>Role</code>, <code>ClusterRole</code>,
|
|
33
|
+
* <code>RoleBinding</code>, and <code>ClusterRoleBinding</code> objects, in addition
|
|
34
|
+
* to managing access entries. If you use Amazon EKS authorization exclusively, you
|
|
35
|
+
* don't need to create and manage Kubernetes <code>Role</code>, <code>ClusterRole</code>,
|
|
36
|
+
* <code>RoleBinding</code>, and <code>ClusterRoleBinding</code> objects.</p>
|
|
37
|
+
* <p>For more information about access entries, see <a href="https://docs.aws.amazon.com/eks/latest/userguide/access-entries.html">Access entries</a> in the
|
|
38
|
+
* <i>Amazon EKS User Guide</i>.</p>
|
|
39
|
+
* @example
|
|
40
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
41
|
+
* ```javascript
|
|
42
|
+
* import { EKSClient, CreateAccessEntryCommand } from "@aws-sdk/client-eks"; // ES Modules import
|
|
43
|
+
* // const { EKSClient, CreateAccessEntryCommand } = require("@aws-sdk/client-eks"); // CommonJS import
|
|
44
|
+
* const client = new EKSClient(config);
|
|
45
|
+
* const input = { // CreateAccessEntryRequest
|
|
46
|
+
* clusterName: "STRING_VALUE", // required
|
|
47
|
+
* principalArn: "STRING_VALUE", // required
|
|
48
|
+
* kubernetesGroups: [ // StringList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* tags: { // TagMap
|
|
52
|
+
* "<keys>": "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* clientRequestToken: "STRING_VALUE",
|
|
55
|
+
* username: "STRING_VALUE",
|
|
56
|
+
* type: "STRING_VALUE",
|
|
57
|
+
* };
|
|
58
|
+
* const command = new CreateAccessEntryCommand(input);
|
|
59
|
+
* const response = await client.send(command);
|
|
60
|
+
* // { // CreateAccessEntryResponse
|
|
61
|
+
* // accessEntry: { // AccessEntry
|
|
62
|
+
* // clusterName: "STRING_VALUE",
|
|
63
|
+
* // principalArn: "STRING_VALUE",
|
|
64
|
+
* // kubernetesGroups: [ // StringList
|
|
65
|
+
* // "STRING_VALUE",
|
|
66
|
+
* // ],
|
|
67
|
+
* // accessEntryArn: "STRING_VALUE",
|
|
68
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
69
|
+
* // modifiedAt: new Date("TIMESTAMP"),
|
|
70
|
+
* // tags: { // TagMap
|
|
71
|
+
* // "<keys>": "STRING_VALUE",
|
|
72
|
+
* // },
|
|
73
|
+
* // username: "STRING_VALUE",
|
|
74
|
+
* // type: "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param CreateAccessEntryCommandInput - {@link CreateAccessEntryCommandInput}
|
|
81
|
+
* @returns {@link CreateAccessEntryCommandOutput}
|
|
82
|
+
* @see {@link CreateAccessEntryCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link CreateAccessEntryCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link EKSClientResolvedConfig | config} for EKSClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link InvalidParameterException} (client fault)
|
|
87
|
+
* <p>The specified parameter is invalid. Review the available parameters for the API
|
|
88
|
+
* request.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
91
|
+
* <p>The request is invalid given the state of the cluster. Check the state of the cluster
|
|
92
|
+
* and the associated operations.</p>
|
|
93
|
+
*
|
|
94
|
+
* @throws {@link ResourceInUseException} (client fault)
|
|
95
|
+
* <p>The specified resource is in use.</p>
|
|
96
|
+
*
|
|
97
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
98
|
+
* <p>You have encountered a service limit on the specified resource.</p>
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
101
|
+
* <p>The specified resource could not be found. You can view your available clusters with
|
|
102
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
103
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ServerException} (server fault)
|
|
106
|
+
* <p>These errors are usually caused by a server-side issue.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link EKSServiceException}
|
|
109
|
+
* <p>Base exception class for all service exceptions from EKS service.</p>
|
|
110
|
+
*
|
|
111
|
+
*/
|
|
112
|
+
export declare class CreateAccessEntryCommand extends $Command<CreateAccessEntryCommandInput, CreateAccessEntryCommandOutput, EKSClientResolvedConfig> {
|
|
113
|
+
readonly input: CreateAccessEntryCommandInput;
|
|
114
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
115
|
+
/**
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
constructor(input: CreateAccessEntryCommandInput);
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: EKSClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateAccessEntryCommandInput, CreateAccessEntryCommandOutput>;
|
|
123
|
+
/**
|
|
124
|
+
* @internal
|
|
125
|
+
*/
|
|
126
|
+
private serialize;
|
|
127
|
+
/**
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
private deserialize;
|
|
131
|
+
}
|
|
@@ -107,9 +107,8 @@ export interface CreateAddonCommandOutput extends CreateAddonResponse, __Metadat
|
|
|
107
107
|
*
|
|
108
108
|
* @throws {@link ResourceNotFoundException} (client fault)
|
|
109
109
|
* <p>The specified resource could not be found. You can view your available clusters with
|
|
110
|
-
* <
|
|
111
|
-
* <
|
|
112
|
-
* Region-specific.</p>
|
|
110
|
+
* <code>ListClusters</code>. You can view your available managed node groups with
|
|
111
|
+
* <code>ListNodegroups</code>. Amazon EKS clusters and node groups are Amazon Web Services Region specific.</p>
|
|
113
112
|
*
|
|
114
113
|
* @throws {@link ServerException} (server fault)
|
|
115
114
|
* <p>These errors are usually caused by a server-side issue.</p>
|