Skip to content

Commit 0176799

Browse files
author
awstools
committed
feat(client-eks): This release adds support for EKS Pod Identity feature. EKS Pod Identity makes it easy for customers to obtain IAM permissions for the applications running in their EKS clusters.
1 parent ba36517 commit 0176799

18 files changed

+2893
-62
lines changed

clients/client-eks/README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,14 @@ CreateNodegroup
266266

267267
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/CreateNodegroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/CreateNodegroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/CreateNodegroupCommandOutput/)
268268

269+
</details>
270+
<details>
271+
<summary>
272+
CreatePodIdentityAssociation
273+
</summary>
274+
275+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/CreatePodIdentityAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/CreatePodIdentityAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/CreatePodIdentityAssociationCommandOutput/)
276+
269277
</details>
270278
<details>
271279
<summary>
@@ -306,6 +314,14 @@ DeleteNodegroup
306314

307315
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DeleteNodegroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DeleteNodegroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DeleteNodegroupCommandOutput/)
308316

317+
</details>
318+
<details>
319+
<summary>
320+
DeletePodIdentityAssociation
321+
</summary>
322+
323+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DeletePodIdentityAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DeletePodIdentityAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DeletePodIdentityAssociationCommandOutput/)
324+
309325
</details>
310326
<details>
311327
<summary>
@@ -378,6 +394,14 @@ DescribeNodegroup
378394

379395
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DescribeNodegroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeNodegroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribeNodegroupCommandOutput/)
380396

397+
</details>
398+
<details>
399+
<summary>
400+
DescribePodIdentityAssociation
401+
</summary>
402+
403+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/DescribePodIdentityAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribePodIdentityAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/DescribePodIdentityAssociationCommandOutput/)
404+
381405
</details>
382406
<details>
383407
<summary>
@@ -442,6 +466,14 @@ ListNodegroups
442466

443467
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/ListNodegroupsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/ListNodegroupsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/ListNodegroupsCommandOutput/)
444468

469+
</details>
470+
<details>
471+
<summary>
472+
ListPodIdentityAssociations
473+
</summary>
474+
475+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/ListPodIdentityAssociationsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/ListPodIdentityAssociationsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/ListPodIdentityAssociationsCommandOutput/)
476+
445477
</details>
446478
<details>
447479
<summary>
@@ -531,3 +563,11 @@ UpdateNodegroupVersion
531563
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/UpdateNodegroupVersionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/UpdateNodegroupVersionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/UpdateNodegroupVersionCommandOutput/)
532564

533565
</details>
566+
<details>
567+
<summary>
568+
UpdatePodIdentityAssociation
569+
</summary>
570+
571+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/eks/command/UpdatePodIdentityAssociationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/UpdatePodIdentityAssociationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-eks/Interface/UpdatePodIdentityAssociationCommandOutput/)
572+
573+
</details>

clients/client-eks/src/EKS.ts

Lines changed: 115 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ import {
3333
CreateNodegroupCommandInput,
3434
CreateNodegroupCommandOutput,
3535
} from "./commands/CreateNodegroupCommand";
36+
import {
37+
CreatePodIdentityAssociationCommand,
38+
CreatePodIdentityAssociationCommandInput,
39+
CreatePodIdentityAssociationCommandOutput,
40+
} from "./commands/CreatePodIdentityAssociationCommand";
3641
import { DeleteAddonCommand, DeleteAddonCommandInput, DeleteAddonCommandOutput } from "./commands/DeleteAddonCommand";
3742
import {
3843
DeleteClusterCommand,
@@ -54,6 +59,11 @@ import {
5459
DeleteNodegroupCommandInput,
5560
DeleteNodegroupCommandOutput,
5661
} from "./commands/DeleteNodegroupCommand";
62+
import {
63+
DeletePodIdentityAssociationCommand,
64+
DeletePodIdentityAssociationCommandInput,
65+
DeletePodIdentityAssociationCommandOutput,
66+
} from "./commands/DeletePodIdentityAssociationCommand";
5767
import {
5868
DeregisterClusterCommand,
5969
DeregisterClusterCommandInput,
@@ -99,6 +109,11 @@ import {
99109
DescribeNodegroupCommandInput,
100110
DescribeNodegroupCommandOutput,
101111
} from "./commands/DescribeNodegroupCommand";
112+
import {
113+
DescribePodIdentityAssociationCommand,
114+
DescribePodIdentityAssociationCommandInput,
115+
DescribePodIdentityAssociationCommandOutput,
116+
} from "./commands/DescribePodIdentityAssociationCommand";
102117
import {
103118
DescribeUpdateCommand,
104119
DescribeUpdateCommandInput,
@@ -135,6 +150,11 @@ import {
135150
ListNodegroupsCommandInput,
136151
ListNodegroupsCommandOutput,
137152
} from "./commands/ListNodegroupsCommand";
153+
import {
154+
ListPodIdentityAssociationsCommand,
155+
ListPodIdentityAssociationsCommandInput,
156+
ListPodIdentityAssociationsCommandOutput,
157+
} from "./commands/ListPodIdentityAssociationsCommand";
138158
import {
139159
ListTagsForResourceCommand,
140160
ListTagsForResourceCommandInput,
@@ -178,6 +198,11 @@ import {
178198
UpdateNodegroupVersionCommandInput,
179199
UpdateNodegroupVersionCommandOutput,
180200
} from "./commands/UpdateNodegroupVersionCommand";
201+
import {
202+
UpdatePodIdentityAssociationCommand,
203+
UpdatePodIdentityAssociationCommandInput,
204+
UpdatePodIdentityAssociationCommandOutput,
205+
} from "./commands/UpdatePodIdentityAssociationCommand";
181206
import { EKSClient, EKSClientConfig } from "./EKSClient";
182207

183208
const commands = {
@@ -188,11 +213,13 @@ const commands = {
188213
CreateEksAnywhereSubscriptionCommand,
189214
CreateFargateProfileCommand,
190215
CreateNodegroupCommand,
216+
CreatePodIdentityAssociationCommand,
191217
DeleteAddonCommand,
192218
DeleteClusterCommand,
193219
DeleteEksAnywhereSubscriptionCommand,
194220
DeleteFargateProfileCommand,
195221
DeleteNodegroupCommand,
222+
DeletePodIdentityAssociationCommand,
196223
DeregisterClusterCommand,
197224
DescribeAddonCommand,
198225
DescribeAddonConfigurationCommand,
@@ -202,6 +229,7 @@ const commands = {
202229
DescribeFargateProfileCommand,
203230
DescribeIdentityProviderConfigCommand,
204231
DescribeNodegroupCommand,
232+
DescribePodIdentityAssociationCommand,
205233
DescribeUpdateCommand,
206234
DisassociateIdentityProviderConfigCommand,
207235
ListAddonsCommand,
@@ -210,6 +238,7 @@ const commands = {
210238
ListFargateProfilesCommand,
211239
ListIdentityProviderConfigsCommand,
212240
ListNodegroupsCommand,
241+
ListPodIdentityAssociationsCommand,
213242
ListTagsForResourceCommand,
214243
ListUpdatesCommand,
215244
RegisterClusterCommand,
@@ -221,6 +250,7 @@ const commands = {
221250
UpdateEksAnywhereSubscriptionCommand,
222251
UpdateNodegroupConfigCommand,
223252
UpdateNodegroupVersionCommand,
253+
UpdatePodIdentityAssociationCommand,
224254
};
225255

226256
export interface EKS {
@@ -328,6 +358,23 @@ export interface EKS {
328358
cb: (err: any, data?: CreateNodegroupCommandOutput) => void
329359
): void;
330360

361+
/**
362+
* @see {@link CreatePodIdentityAssociationCommand}
363+
*/
364+
createPodIdentityAssociation(
365+
args: CreatePodIdentityAssociationCommandInput,
366+
options?: __HttpHandlerOptions
367+
): Promise<CreatePodIdentityAssociationCommandOutput>;
368+
createPodIdentityAssociation(
369+
args: CreatePodIdentityAssociationCommandInput,
370+
cb: (err: any, data?: CreatePodIdentityAssociationCommandOutput) => void
371+
): void;
372+
createPodIdentityAssociation(
373+
args: CreatePodIdentityAssociationCommandInput,
374+
options: __HttpHandlerOptions,
375+
cb: (err: any, data?: CreatePodIdentityAssociationCommandOutput) => void
376+
): void;
377+
331378
/**
332379
* @see {@link DeleteAddonCommand}
333380
*/
@@ -398,6 +445,23 @@ export interface EKS {
398445
cb: (err: any, data?: DeleteNodegroupCommandOutput) => void
399446
): void;
400447

448+
/**
449+
* @see {@link DeletePodIdentityAssociationCommand}
450+
*/
451+
deletePodIdentityAssociation(
452+
args: DeletePodIdentityAssociationCommandInput,
453+
options?: __HttpHandlerOptions
454+
): Promise<DeletePodIdentityAssociationCommandOutput>;
455+
deletePodIdentityAssociation(
456+
args: DeletePodIdentityAssociationCommandInput,
457+
cb: (err: any, data?: DeletePodIdentityAssociationCommandOutput) => void
458+
): void;
459+
deletePodIdentityAssociation(
460+
args: DeletePodIdentityAssociationCommandInput,
461+
options: __HttpHandlerOptions,
462+
cb: (err: any, data?: DeletePodIdentityAssociationCommandOutput) => void
463+
): void;
464+
401465
/**
402466
* @see {@link DeregisterClusterCommand}
403467
*/
@@ -542,6 +606,23 @@ export interface EKS {
542606
cb: (err: any, data?: DescribeNodegroupCommandOutput) => void
543607
): void;
544608

609+
/**
610+
* @see {@link DescribePodIdentityAssociationCommand}
611+
*/
612+
describePodIdentityAssociation(
613+
args: DescribePodIdentityAssociationCommandInput,
614+
options?: __HttpHandlerOptions
615+
): Promise<DescribePodIdentityAssociationCommandOutput>;
616+
describePodIdentityAssociation(
617+
args: DescribePodIdentityAssociationCommandInput,
618+
cb: (err: any, data?: DescribePodIdentityAssociationCommandOutput) => void
619+
): void;
620+
describePodIdentityAssociation(
621+
args: DescribePodIdentityAssociationCommandInput,
622+
options: __HttpHandlerOptions,
623+
cb: (err: any, data?: DescribePodIdentityAssociationCommandOutput) => void
624+
): void;
625+
545626
/**
546627
* @see {@link DescribeUpdateCommand}
547628
*/
@@ -660,6 +741,23 @@ export interface EKS {
660741
cb: (err: any, data?: ListNodegroupsCommandOutput) => void
661742
): void;
662743

744+
/**
745+
* @see {@link ListPodIdentityAssociationsCommand}
746+
*/
747+
listPodIdentityAssociations(
748+
args: ListPodIdentityAssociationsCommandInput,
749+
options?: __HttpHandlerOptions
750+
): Promise<ListPodIdentityAssociationsCommandOutput>;
751+
listPodIdentityAssociations(
752+
args: ListPodIdentityAssociationsCommandInput,
753+
cb: (err: any, data?: ListPodIdentityAssociationsCommandOutput) => void
754+
): void;
755+
listPodIdentityAssociations(
756+
args: ListPodIdentityAssociationsCommandInput,
757+
options: __HttpHandlerOptions,
758+
cb: (err: any, data?: ListPodIdentityAssociationsCommandOutput) => void
759+
): void;
760+
663761
/**
664762
* @see {@link ListTagsForResourceCommand}
665763
*/
@@ -819,6 +917,23 @@ export interface EKS {
819917
options: __HttpHandlerOptions,
820918
cb: (err: any, data?: UpdateNodegroupVersionCommandOutput) => void
821919
): void;
920+
921+
/**
922+
* @see {@link UpdatePodIdentityAssociationCommand}
923+
*/
924+
updatePodIdentityAssociation(
925+
args: UpdatePodIdentityAssociationCommandInput,
926+
options?: __HttpHandlerOptions
927+
): Promise<UpdatePodIdentityAssociationCommandOutput>;
928+
updatePodIdentityAssociation(
929+
args: UpdatePodIdentityAssociationCommandInput,
930+
cb: (err: any, data?: UpdatePodIdentityAssociationCommandOutput) => void
931+
): void;
932+
updatePodIdentityAssociation(
933+
args: UpdatePodIdentityAssociationCommandInput,
934+
options: __HttpHandlerOptions,
935+
cb: (err: any, data?: UpdatePodIdentityAssociationCommandOutput) => void
936+
): void;
822937
}
823938

824939
/**

0 commit comments

Comments
 (0)