@aws-sdk/client-eks 3.451.0 → 3.458.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.
Files changed (53) hide show
  1. package/README.md +80 -40
  2. package/dist-cjs/EKS.js +10 -0
  3. package/dist-cjs/commands/CreatePodIdentityAssociationCommand.js +51 -0
  4. package/dist-cjs/commands/DeletePodIdentityAssociationCommand.js +51 -0
  5. package/dist-cjs/commands/DescribePodIdentityAssociationCommand.js +51 -0
  6. package/dist-cjs/commands/ListPodIdentityAssociationsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdatePodIdentityAssociationCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/pagination/ListEksAnywhereSubscriptionsPaginator.js +29 -0
  10. package/dist-cjs/pagination/ListPodIdentityAssociationsPaginator.js +29 -0
  11. package/dist-cjs/pagination/index.js +2 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +352 -2
  13. package/dist-es/EKS.js +10 -0
  14. package/dist-es/commands/CreatePodIdentityAssociationCommand.js +47 -0
  15. package/dist-es/commands/DeletePodIdentityAssociationCommand.js +47 -0
  16. package/dist-es/commands/DescribePodIdentityAssociationCommand.js +47 -0
  17. package/dist-es/commands/ListPodIdentityAssociationsCommand.js +47 -0
  18. package/dist-es/commands/UpdatePodIdentityAssociationCommand.js +47 -0
  19. package/dist-es/commands/index.js +5 -0
  20. package/dist-es/pagination/ListEksAnywhereSubscriptionsPaginator.js +25 -0
  21. package/dist-es/pagination/ListPodIdentityAssociationsPaginator.js +25 -0
  22. package/dist-es/pagination/index.js +2 -0
  23. package/dist-es/protocols/Aws_restJson1.js +340 -0
  24. package/dist-types/EKS.d.ts +35 -0
  25. package/dist-types/EKSClient.d.ts +7 -2
  26. package/dist-types/commands/CreateClusterCommand.d.ts +19 -0
  27. package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +125 -0
  28. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +2 -2
  29. package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +104 -0
  30. package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +107 -0
  31. package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +104 -0
  32. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +8 -4
  33. package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +108 -0
  34. package/dist-types/commands/index.d.ts +5 -0
  35. package/dist-types/models/models_0.d.ts +450 -22
  36. package/dist-types/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +7 -0
  37. package/dist-types/pagination/ListPodIdentityAssociationsPaginator.d.ts +7 -0
  38. package/dist-types/pagination/index.d.ts +2 -0
  39. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  40. package/dist-types/ts3.4/EKS.d.ts +85 -0
  41. package/dist-types/ts3.4/EKSClient.d.ts +32 -2
  42. package/dist-types/ts3.4/commands/CreatePodIdentityAssociationCommand.d.ts +42 -0
  43. package/dist-types/ts3.4/commands/DeletePodIdentityAssociationCommand.d.ts +42 -0
  44. package/dist-types/ts3.4/commands/DescribePodIdentityAssociationCommand.d.ts +42 -0
  45. package/dist-types/ts3.4/commands/ListPodIdentityAssociationsCommand.d.ts +42 -0
  46. package/dist-types/ts3.4/commands/UpdatePodIdentityAssociationCommand.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +63 -0
  49. package/dist-types/ts3.4/pagination/ListEksAnywhereSubscriptionsPaginator.d.ts +11 -0
  50. package/dist-types/ts3.4/pagination/ListPodIdentityAssociationsPaginator.d.ts +11 -0
  51. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  52. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  53. package/package.json +3 -3
@@ -701,6 +701,28 @@ export interface Nodegroup {
701
701
  export interface CreateNodegroupResponse {
702
702
  nodegroup?: Nodegroup;
703
703
  }
704
+ export interface CreatePodIdentityAssociationRequest {
705
+ clusterName: string | undefined;
706
+ namespace: string | undefined;
707
+ serviceAccount: string | undefined;
708
+ roleArn: string | undefined;
709
+ clientRequestToken?: string;
710
+ tags?: Record<string, string>;
711
+ }
712
+ export interface PodIdentityAssociation {
713
+ clusterName?: string;
714
+ namespace?: string;
715
+ serviceAccount?: string;
716
+ roleArn?: string;
717
+ associationArn?: string;
718
+ associationId?: string;
719
+ tags?: Record<string, string>;
720
+ createdAt?: Date;
721
+ modifiedAt?: Date;
722
+ }
723
+ export interface CreatePodIdentityAssociationResponse {
724
+ association?: PodIdentityAssociation;
725
+ }
704
726
  export interface DeleteAddonRequest {
705
727
  clusterName: string | undefined;
706
728
  addonName: string | undefined;
@@ -735,6 +757,13 @@ export interface DeleteNodegroupRequest {
735
757
  export interface DeleteNodegroupResponse {
736
758
  nodegroup?: Nodegroup;
737
759
  }
760
+ export interface DeletePodIdentityAssociationRequest {
761
+ clusterName: string | undefined;
762
+ associationId: string | undefined;
763
+ }
764
+ export interface DeletePodIdentityAssociationResponse {
765
+ association?: PodIdentityAssociation;
766
+ }
738
767
  export interface DeregisterClusterRequest {
739
768
  name: string | undefined;
740
769
  }
@@ -830,6 +859,13 @@ export interface DescribeNodegroupRequest {
830
859
  export interface DescribeNodegroupResponse {
831
860
  nodegroup?: Nodegroup;
832
861
  }
862
+ export interface DescribePodIdentityAssociationRequest {
863
+ clusterName: string | undefined;
864
+ associationId: string | undefined;
865
+ }
866
+ export interface DescribePodIdentityAssociationResponse {
867
+ association?: PodIdentityAssociation;
868
+ }
833
869
  export interface DescribeUpdateRequest {
834
870
  name: string | undefined;
835
871
  updateId: string | undefined;
@@ -911,6 +947,24 @@ export interface ListNodegroupsResponse {
911
947
  nodegroups?: string[];
912
948
  nextToken?: string;
913
949
  }
950
+ export interface ListPodIdentityAssociationsRequest {
951
+ clusterName: string | undefined;
952
+ namespace?: string;
953
+ serviceAccount?: string;
954
+ maxResults?: number;
955
+ nextToken?: string;
956
+ }
957
+ export interface PodIdentityAssociationSummary {
958
+ clusterName?: string;
959
+ namespace?: string;
960
+ serviceAccount?: string;
961
+ associationArn?: string;
962
+ associationId?: string;
963
+ }
964
+ export interface ListPodIdentityAssociationsResponse {
965
+ associations?: PodIdentityAssociationSummary[];
966
+ nextToken?: string;
967
+ }
914
968
  export declare class BadRequestException extends __BaseException {
915
969
  readonly name: "BadRequestException";
916
970
  readonly $fault: "client";
@@ -1055,3 +1109,12 @@ export interface UpdateNodegroupVersionRequest {
1055
1109
  export interface UpdateNodegroupVersionResponse {
1056
1110
  update?: Update;
1057
1111
  }
1112
+ export interface UpdatePodIdentityAssociationRequest {
1113
+ clusterName: string | undefined;
1114
+ associationId: string | undefined;
1115
+ roleArn?: string;
1116
+ clientRequestToken?: string;
1117
+ }
1118
+ export interface UpdatePodIdentityAssociationResponse {
1119
+ association?: PodIdentityAssociation;
1120
+ }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListEksAnywhereSubscriptionsCommandInput,
4
+ ListEksAnywhereSubscriptionsCommandOutput,
5
+ } from "../commands/ListEksAnywhereSubscriptionsCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListEksAnywhereSubscriptions(
8
+ config: EKSPaginationConfiguration,
9
+ input: ListEksAnywhereSubscriptionsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListEksAnywhereSubscriptionsCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListPodIdentityAssociationsCommandInput,
4
+ ListPodIdentityAssociationsCommandOutput,
5
+ } from "../commands/ListPodIdentityAssociationsCommand";
6
+ import { EKSPaginationConfiguration } from "./Interfaces";
7
+ export declare function paginateListPodIdentityAssociations(
8
+ config: EKSPaginationConfiguration,
9
+ input: ListPodIdentityAssociationsCommandInput,
10
+ ...additionalArguments: any
11
+ ): Paginator<ListPodIdentityAssociationsCommandOutput>;
@@ -2,7 +2,9 @@ export * from "./DescribeAddonVersionsPaginator";
2
2
  export * from "./Interfaces";
3
3
  export * from "./ListAddonsPaginator";
4
4
  export * from "./ListClustersPaginator";
5
+ export * from "./ListEksAnywhereSubscriptionsPaginator";
5
6
  export * from "./ListFargateProfilesPaginator";
6
7
  export * from "./ListIdentityProviderConfigsPaginator";
7
8
  export * from "./ListNodegroupsPaginator";
9
+ export * from "./ListPodIdentityAssociationsPaginator";
8
10
  export * from "./ListUpdatesPaginator";
@@ -31,6 +31,10 @@ import {
31
31
  CreateNodegroupCommandInput,
32
32
  CreateNodegroupCommandOutput,
33
33
  } from "../commands/CreateNodegroupCommand";
34
+ import {
35
+ CreatePodIdentityAssociationCommandInput,
36
+ CreatePodIdentityAssociationCommandOutput,
37
+ } from "../commands/CreatePodIdentityAssociationCommand";
34
38
  import {
35
39
  DeleteAddonCommandInput,
36
40
  DeleteAddonCommandOutput,
@@ -51,6 +55,10 @@ import {
51
55
  DeleteNodegroupCommandInput,
52
56
  DeleteNodegroupCommandOutput,
53
57
  } from "../commands/DeleteNodegroupCommand";
58
+ import {
59
+ DeletePodIdentityAssociationCommandInput,
60
+ DeletePodIdentityAssociationCommandOutput,
61
+ } from "../commands/DeletePodIdentityAssociationCommand";
54
62
  import {
55
63
  DeregisterClusterCommandInput,
56
64
  DeregisterClusterCommandOutput,
@@ -87,6 +95,10 @@ import {
87
95
  DescribeNodegroupCommandInput,
88
96
  DescribeNodegroupCommandOutput,
89
97
  } from "../commands/DescribeNodegroupCommand";
98
+ import {
99
+ DescribePodIdentityAssociationCommandInput,
100
+ DescribePodIdentityAssociationCommandOutput,
101
+ } from "../commands/DescribePodIdentityAssociationCommand";
90
102
  import {
91
103
  DescribeUpdateCommandInput,
92
104
  DescribeUpdateCommandOutput,
@@ -119,6 +131,10 @@ import {
119
131
  ListNodegroupsCommandInput,
120
132
  ListNodegroupsCommandOutput,
121
133
  } from "../commands/ListNodegroupsCommand";
134
+ import {
135
+ ListPodIdentityAssociationsCommandInput,
136
+ ListPodIdentityAssociationsCommandOutput,
137
+ } from "../commands/ListPodIdentityAssociationsCommand";
122
138
  import {
123
139
  ListTagsForResourceCommandInput,
124
140
  ListTagsForResourceCommandOutput,
@@ -163,6 +179,10 @@ import {
163
179
  UpdateNodegroupVersionCommandInput,
164
180
  UpdateNodegroupVersionCommandOutput,
165
181
  } from "../commands/UpdateNodegroupVersionCommand";
182
+ import {
183
+ UpdatePodIdentityAssociationCommandInput,
184
+ UpdatePodIdentityAssociationCommandOutput,
185
+ } from "../commands/UpdatePodIdentityAssociationCommand";
166
186
  export declare const se_AssociateEncryptionConfigCommand: (
167
187
  input: AssociateEncryptionConfigCommandInput,
168
188
  context: __SerdeContext
@@ -191,6 +211,10 @@ export declare const se_CreateNodegroupCommand: (
191
211
  input: CreateNodegroupCommandInput,
192
212
  context: __SerdeContext
193
213
  ) => Promise<__HttpRequest>;
214
+ export declare const se_CreatePodIdentityAssociationCommand: (
215
+ input: CreatePodIdentityAssociationCommandInput,
216
+ context: __SerdeContext
217
+ ) => Promise<__HttpRequest>;
194
218
  export declare const se_DeleteAddonCommand: (
195
219
  input: DeleteAddonCommandInput,
196
220
  context: __SerdeContext
@@ -211,6 +235,10 @@ export declare const se_DeleteNodegroupCommand: (
211
235
  input: DeleteNodegroupCommandInput,
212
236
  context: __SerdeContext
213
237
  ) => Promise<__HttpRequest>;
238
+ export declare const se_DeletePodIdentityAssociationCommand: (
239
+ input: DeletePodIdentityAssociationCommandInput,
240
+ context: __SerdeContext
241
+ ) => Promise<__HttpRequest>;
214
242
  export declare const se_DeregisterClusterCommand: (
215
243
  input: DeregisterClusterCommandInput,
216
244
  context: __SerdeContext
@@ -247,6 +275,10 @@ export declare const se_DescribeNodegroupCommand: (
247
275
  input: DescribeNodegroupCommandInput,
248
276
  context: __SerdeContext
249
277
  ) => Promise<__HttpRequest>;
278
+ export declare const se_DescribePodIdentityAssociationCommand: (
279
+ input: DescribePodIdentityAssociationCommandInput,
280
+ context: __SerdeContext
281
+ ) => Promise<__HttpRequest>;
250
282
  export declare const se_DescribeUpdateCommand: (
251
283
  input: DescribeUpdateCommandInput,
252
284
  context: __SerdeContext
@@ -279,6 +311,10 @@ export declare const se_ListNodegroupsCommand: (
279
311
  input: ListNodegroupsCommandInput,
280
312
  context: __SerdeContext
281
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_ListPodIdentityAssociationsCommand: (
315
+ input: ListPodIdentityAssociationsCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
282
318
  export declare const se_ListTagsForResourceCommand: (
283
319
  input: ListTagsForResourceCommandInput,
284
320
  context: __SerdeContext
@@ -323,6 +359,10 @@ export declare const se_UpdateNodegroupVersionCommand: (
323
359
  input: UpdateNodegroupVersionCommandInput,
324
360
  context: __SerdeContext
325
361
  ) => Promise<__HttpRequest>;
362
+ export declare const se_UpdatePodIdentityAssociationCommand: (
363
+ input: UpdatePodIdentityAssociationCommandInput,
364
+ context: __SerdeContext
365
+ ) => Promise<__HttpRequest>;
326
366
  export declare const de_AssociateEncryptionConfigCommand: (
327
367
  output: __HttpResponse,
328
368
  context: __SerdeContext
@@ -351,6 +391,10 @@ export declare const de_CreateNodegroupCommand: (
351
391
  output: __HttpResponse,
352
392
  context: __SerdeContext
353
393
  ) => Promise<CreateNodegroupCommandOutput>;
394
+ export declare const de_CreatePodIdentityAssociationCommand: (
395
+ output: __HttpResponse,
396
+ context: __SerdeContext
397
+ ) => Promise<CreatePodIdentityAssociationCommandOutput>;
354
398
  export declare const de_DeleteAddonCommand: (
355
399
  output: __HttpResponse,
356
400
  context: __SerdeContext
@@ -371,6 +415,10 @@ export declare const de_DeleteNodegroupCommand: (
371
415
  output: __HttpResponse,
372
416
  context: __SerdeContext
373
417
  ) => Promise<DeleteNodegroupCommandOutput>;
418
+ export declare const de_DeletePodIdentityAssociationCommand: (
419
+ output: __HttpResponse,
420
+ context: __SerdeContext
421
+ ) => Promise<DeletePodIdentityAssociationCommandOutput>;
374
422
  export declare const de_DeregisterClusterCommand: (
375
423
  output: __HttpResponse,
376
424
  context: __SerdeContext
@@ -407,6 +455,10 @@ export declare const de_DescribeNodegroupCommand: (
407
455
  output: __HttpResponse,
408
456
  context: __SerdeContext
409
457
  ) => Promise<DescribeNodegroupCommandOutput>;
458
+ export declare const de_DescribePodIdentityAssociationCommand: (
459
+ output: __HttpResponse,
460
+ context: __SerdeContext
461
+ ) => Promise<DescribePodIdentityAssociationCommandOutput>;
410
462
  export declare const de_DescribeUpdateCommand: (
411
463
  output: __HttpResponse,
412
464
  context: __SerdeContext
@@ -439,6 +491,10 @@ export declare const de_ListNodegroupsCommand: (
439
491
  output: __HttpResponse,
440
492
  context: __SerdeContext
441
493
  ) => Promise<ListNodegroupsCommandOutput>;
494
+ export declare const de_ListPodIdentityAssociationsCommand: (
495
+ output: __HttpResponse,
496
+ context: __SerdeContext
497
+ ) => Promise<ListPodIdentityAssociationsCommandOutput>;
442
498
  export declare const de_ListTagsForResourceCommand: (
443
499
  output: __HttpResponse,
444
500
  context: __SerdeContext
@@ -483,3 +539,7 @@ export declare const de_UpdateNodegroupVersionCommand: (
483
539
  output: __HttpResponse,
484
540
  context: __SerdeContext
485
541
  ) => Promise<UpdateNodegroupVersionCommandOutput>;
542
+ export declare const de_UpdatePodIdentityAssociationCommand: (
543
+ output: __HttpResponse,
544
+ context: __SerdeContext
545
+ ) => Promise<UpdatePodIdentityAssociationCommandOutput>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-eks",
3
3
  "description": "AWS SDK for JavaScript Eks Client for Node.js, Browser and React Native",
4
- "version": "3.451.0",
4
+ "version": "3.458.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.451.0",
24
+ "@aws-sdk/client-sts": "3.458.0",
25
25
  "@aws-sdk/core": "3.451.0",
26
- "@aws-sdk/credential-provider-node": "3.451.0",
26
+ "@aws-sdk/credential-provider-node": "3.458.0",
27
27
  "@aws-sdk/middleware-host-header": "3.451.0",
28
28
  "@aws-sdk/middleware-logger": "3.451.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.451.0",