@aws-sdk/client-eks 3.445.0 → 3.448.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 (71) hide show
  1. package/README.md +48 -9
  2. package/dist-cjs/EKS.js +10 -0
  3. package/dist-cjs/commands/CreateEksAnywhereSubscriptionCommand.js +51 -0
  4. package/dist-cjs/commands/DeleteEksAnywhereSubscriptionCommand.js +51 -0
  5. package/dist-cjs/commands/DescribeEksAnywhereSubscriptionCommand.js +51 -0
  6. package/dist-cjs/commands/ListEksAnywhereSubscriptionsCommand.js +51 -0
  7. package/dist-cjs/commands/UpdateEksAnywhereSubscriptionCommand.js +51 -0
  8. package/dist-cjs/commands/index.js +5 -0
  9. package/dist-cjs/models/models_0.js +21 -1
  10. package/dist-cjs/protocols/Aws_restJson1.js +363 -2
  11. package/dist-es/EKS.js +10 -0
  12. package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +47 -0
  13. package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +47 -0
  14. package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +47 -0
  15. package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +47 -0
  16. package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +47 -0
  17. package/dist-es/commands/index.js +5 -0
  18. package/dist-es/models/models_0.js +20 -0
  19. package/dist-es/protocols/Aws_restJson1.js +352 -1
  20. package/dist-types/EKS.d.ts +43 -9
  21. package/dist-types/EKSClient.d.ts +15 -11
  22. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +2 -2
  23. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +2 -2
  24. package/dist-types/commands/CreateAddonCommand.d.ts +2 -2
  25. package/dist-types/commands/CreateClusterCommand.d.ts +11 -13
  26. package/dist-types/commands/CreateEksAnywhereSubscriptionCommand.d.ts +125 -0
  27. package/dist-types/commands/CreateFargateProfileCommand.d.ts +8 -9
  28. package/dist-types/commands/CreateNodegroupCommand.d.ts +3 -6
  29. package/dist-types/commands/DeleteAddonCommand.d.ts +2 -2
  30. package/dist-types/commands/DeleteClusterCommand.d.ts +2 -2
  31. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +114 -0
  32. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +2 -2
  33. package/dist-types/commands/DeleteNodegroupCommand.d.ts +2 -2
  34. package/dist-types/commands/DeregisterClusterCommand.d.ts +7 -6
  35. package/dist-types/commands/DescribeAddonCommand.d.ts +2 -2
  36. package/dist-types/commands/DescribeClusterCommand.d.ts +2 -2
  37. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +110 -0
  38. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +2 -2
  39. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +2 -2
  40. package/dist-types/commands/DescribeNodegroupCommand.d.ts +2 -2
  41. package/dist-types/commands/DescribeUpdateCommand.d.ts +2 -2
  42. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +4 -4
  43. package/dist-types/commands/ListAddonsCommand.d.ts +3 -3
  44. package/dist-types/commands/ListClustersCommand.d.ts +2 -2
  45. package/dist-types/commands/ListEksAnywhereSubscriptionsCommand.d.ts +115 -0
  46. package/dist-types/commands/ListFargateProfilesCommand.d.ts +2 -2
  47. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +2 -2
  48. package/dist-types/commands/ListNodegroupsCommand.d.ts +2 -2
  49. package/dist-types/commands/ListUpdatesCommand.d.ts +2 -2
  50. package/dist-types/commands/RegisterClusterCommand.d.ts +11 -10
  51. package/dist-types/commands/UpdateAddonCommand.d.ts +2 -2
  52. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +5 -5
  53. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +8 -8
  54. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +118 -0
  55. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +4 -4
  56. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +3 -4
  57. package/dist-types/commands/index.d.ts +5 -0
  58. package/dist-types/index.d.ts +8 -9
  59. package/dist-types/models/models_0.d.ts +443 -102
  60. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  61. package/dist-types/ts3.4/EKS.d.ts +85 -0
  62. package/dist-types/ts3.4/EKSClient.d.ts +30 -0
  63. package/dist-types/ts3.4/commands/CreateEksAnywhereSubscriptionCommand.d.ts +42 -0
  64. package/dist-types/ts3.4/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +42 -0
  65. package/dist-types/ts3.4/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +42 -0
  66. package/dist-types/ts3.4/commands/ListEksAnywhereSubscriptionsCommand.d.ts +42 -0
  67. package/dist-types/ts3.4/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +42 -0
  68. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +85 -0
  70. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  71. package/package.json +1 -1
@@ -199,6 +199,7 @@ export declare class ClientException extends __BaseException {
199
199
  clusterName?: string;
200
200
  nodegroupName?: string;
201
201
  addonName?: string;
202
+ subscriptionId?: string;
202
203
  constructor(opts: __ExceptionOptionType<ClientException, __BaseException>);
203
204
  }
204
205
  export declare class InvalidParameterException extends __BaseException {
@@ -208,6 +209,7 @@ export declare class InvalidParameterException extends __BaseException {
208
209
  nodegroupName?: string;
209
210
  fargateProfileName?: string;
210
211
  addonName?: string;
212
+ subscriptionId?: string;
211
213
  constructor(
212
214
  opts: __ExceptionOptionType<InvalidParameterException, __BaseException>
213
215
  );
@@ -218,6 +220,7 @@ export declare class InvalidRequestException extends __BaseException {
218
220
  clusterName?: string;
219
221
  nodegroupName?: string;
220
222
  addonName?: string;
223
+ subscriptionId?: string;
221
224
  constructor(
222
225
  opts: __ExceptionOptionType<InvalidRequestException, __BaseException>
223
226
  );
@@ -239,6 +242,7 @@ export declare class ResourceNotFoundException extends __BaseException {
239
242
  nodegroupName?: string;
240
243
  fargateProfileName?: string;
241
244
  addonName?: string;
245
+ subscriptionId?: string;
242
246
  constructor(
243
247
  opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
244
248
  );
@@ -249,6 +253,7 @@ export declare class ServerException extends __BaseException {
249
253
  clusterName?: string;
250
254
  nodegroupName?: string;
251
255
  addonName?: string;
256
+ subscriptionId?: string;
252
257
  constructor(opts: __ExceptionOptionType<ServerException, __BaseException>);
253
258
  }
254
259
  export interface OidcIdentityProviderConfigRequest {
@@ -453,6 +458,7 @@ export declare class ResourceLimitExceededException extends __BaseException {
453
458
  readonly $fault: "client";
454
459
  clusterName?: string;
455
460
  nodegroupName?: string;
461
+ subscriptionId?: string;
456
462
  constructor(
457
463
  opts: __ExceptionOptionType<ResourceLimitExceededException, __BaseException>
458
464
  );
@@ -477,6 +483,46 @@ export declare class UnsupportedAvailabilityZoneException extends __BaseExceptio
477
483
  >
478
484
  );
479
485
  }
486
+ export declare const EksAnywhereSubscriptionLicenseType: {
487
+ readonly Cluster: "Cluster";
488
+ };
489
+ export type EksAnywhereSubscriptionLicenseType =
490
+ (typeof EksAnywhereSubscriptionLicenseType)[keyof typeof EksAnywhereSubscriptionLicenseType];
491
+ export declare const EksAnywhereSubscriptionTermUnit: {
492
+ readonly MONTHS: "MONTHS";
493
+ };
494
+ export type EksAnywhereSubscriptionTermUnit =
495
+ (typeof EksAnywhereSubscriptionTermUnit)[keyof typeof EksAnywhereSubscriptionTermUnit];
496
+ export interface EksAnywhereSubscriptionTerm {
497
+ duration?: number;
498
+ unit?: EksAnywhereSubscriptionTermUnit;
499
+ }
500
+ export interface CreateEksAnywhereSubscriptionRequest {
501
+ name: string | undefined;
502
+ term: EksAnywhereSubscriptionTerm | undefined;
503
+ licenseQuantity?: number;
504
+ licenseType?: EksAnywhereSubscriptionLicenseType;
505
+ autoRenew?: boolean;
506
+ clientRequestToken?: string;
507
+ tags?: Record<string, string>;
508
+ }
509
+ export interface EksAnywhereSubscription {
510
+ id?: string;
511
+ arn?: string;
512
+ createdAt?: Date;
513
+ effectiveDate?: Date;
514
+ expirationDate?: Date;
515
+ licenseQuantity?: number;
516
+ licenseType?: EksAnywhereSubscriptionLicenseType;
517
+ term?: EksAnywhereSubscriptionTerm;
518
+ status?: string;
519
+ autoRenew?: boolean;
520
+ licenseArns?: string[];
521
+ tags?: Record<string, string>;
522
+ }
523
+ export interface CreateEksAnywhereSubscriptionResponse {
524
+ subscription?: EksAnywhereSubscription;
525
+ }
480
526
  export interface FargateProfileSelector {
481
527
  namespace?: string;
482
528
  labels?: Record<string, string>;
@@ -669,6 +715,12 @@ export interface DeleteClusterRequest {
669
715
  export interface DeleteClusterResponse {
670
716
  cluster?: Cluster;
671
717
  }
718
+ export interface DeleteEksAnywhereSubscriptionRequest {
719
+ id: string | undefined;
720
+ }
721
+ export interface DeleteEksAnywhereSubscriptionResponse {
722
+ subscription?: EksAnywhereSubscription;
723
+ }
672
724
  export interface DeleteFargateProfileRequest {
673
725
  clusterName: string | undefined;
674
726
  fargateProfileName: string | undefined;
@@ -724,6 +776,12 @@ export interface DescribeClusterRequest {
724
776
  export interface DescribeClusterResponse {
725
777
  cluster?: Cluster;
726
778
  }
779
+ export interface DescribeEksAnywhereSubscriptionRequest {
780
+ id: string | undefined;
781
+ }
782
+ export interface DescribeEksAnywhereSubscriptionResponse {
783
+ subscription?: EksAnywhereSubscription;
784
+ }
727
785
  export interface DescribeFargateProfileRequest {
728
786
  clusterName: string | undefined;
729
787
  fargateProfileName: string | undefined;
@@ -807,6 +865,25 @@ export interface ListClustersResponse {
807
865
  clusters?: string[];
808
866
  nextToken?: string;
809
867
  }
868
+ export declare const EksAnywhereSubscriptionStatus: {
869
+ readonly ACTIVE: "ACTIVE";
870
+ readonly CREATING: "CREATING";
871
+ readonly DELETING: "DELETING";
872
+ readonly EXPIRED: "EXPIRED";
873
+ readonly EXPIRING: "EXPIRING";
874
+ readonly UPDATING: "UPDATING";
875
+ };
876
+ export type EksAnywhereSubscriptionStatus =
877
+ (typeof EksAnywhereSubscriptionStatus)[keyof typeof EksAnywhereSubscriptionStatus];
878
+ export interface ListEksAnywhereSubscriptionsRequest {
879
+ maxResults?: number;
880
+ nextToken?: string;
881
+ includeStatus?: EksAnywhereSubscriptionStatus[];
882
+ }
883
+ export interface ListEksAnywhereSubscriptionsResponse {
884
+ subscriptions?: EksAnywhereSubscription[];
885
+ nextToken?: string;
886
+ }
810
887
  export interface ListFargateProfilesRequest {
811
888
  clusterName: string | undefined;
812
889
  maxResults?: number;
@@ -938,6 +1015,14 @@ export interface UpdateClusterVersionRequest {
938
1015
  export interface UpdateClusterVersionResponse {
939
1016
  update?: Update;
940
1017
  }
1018
+ export interface UpdateEksAnywhereSubscriptionRequest {
1019
+ id: string | undefined;
1020
+ autoRenew: boolean | undefined;
1021
+ clientRequestToken?: string;
1022
+ }
1023
+ export interface UpdateEksAnywhereSubscriptionResponse {
1024
+ subscription?: EksAnywhereSubscription;
1025
+ }
941
1026
  export interface UpdateLabelsPayload {
942
1027
  addOrUpdateLabels?: Record<string, string>;
943
1028
  removeLabels?: string[];
@@ -19,6 +19,10 @@ import {
19
19
  CreateClusterCommandInput,
20
20
  CreateClusterCommandOutput,
21
21
  } from "../commands/CreateClusterCommand";
22
+ import {
23
+ CreateEksAnywhereSubscriptionCommandInput,
24
+ CreateEksAnywhereSubscriptionCommandOutput,
25
+ } from "../commands/CreateEksAnywhereSubscriptionCommand";
22
26
  import {
23
27
  CreateFargateProfileCommandInput,
24
28
  CreateFargateProfileCommandOutput,
@@ -35,6 +39,10 @@ import {
35
39
  DeleteClusterCommandInput,
36
40
  DeleteClusterCommandOutput,
37
41
  } from "../commands/DeleteClusterCommand";
42
+ import {
43
+ DeleteEksAnywhereSubscriptionCommandInput,
44
+ DeleteEksAnywhereSubscriptionCommandOutput,
45
+ } from "../commands/DeleteEksAnywhereSubscriptionCommand";
38
46
  import {
39
47
  DeleteFargateProfileCommandInput,
40
48
  DeleteFargateProfileCommandOutput,
@@ -63,6 +71,10 @@ import {
63
71
  DescribeClusterCommandInput,
64
72
  DescribeClusterCommandOutput,
65
73
  } from "../commands/DescribeClusterCommand";
74
+ import {
75
+ DescribeEksAnywhereSubscriptionCommandInput,
76
+ DescribeEksAnywhereSubscriptionCommandOutput,
77
+ } from "../commands/DescribeEksAnywhereSubscriptionCommand";
66
78
  import {
67
79
  DescribeFargateProfileCommandInput,
68
80
  DescribeFargateProfileCommandOutput,
@@ -91,6 +103,10 @@ import {
91
103
  ListClustersCommandInput,
92
104
  ListClustersCommandOutput,
93
105
  } from "../commands/ListClustersCommand";
106
+ import {
107
+ ListEksAnywhereSubscriptionsCommandInput,
108
+ ListEksAnywhereSubscriptionsCommandOutput,
109
+ } from "../commands/ListEksAnywhereSubscriptionsCommand";
94
110
  import {
95
111
  ListFargateProfilesCommandInput,
96
112
  ListFargateProfilesCommandOutput,
@@ -135,6 +151,10 @@ import {
135
151
  UpdateClusterVersionCommandInput,
136
152
  UpdateClusterVersionCommandOutput,
137
153
  } from "../commands/UpdateClusterVersionCommand";
154
+ import {
155
+ UpdateEksAnywhereSubscriptionCommandInput,
156
+ UpdateEksAnywhereSubscriptionCommandOutput,
157
+ } from "../commands/UpdateEksAnywhereSubscriptionCommand";
138
158
  import {
139
159
  UpdateNodegroupConfigCommandInput,
140
160
  UpdateNodegroupConfigCommandOutput,
@@ -159,6 +179,10 @@ export declare const se_CreateClusterCommand: (
159
179
  input: CreateClusterCommandInput,
160
180
  context: __SerdeContext
161
181
  ) => Promise<__HttpRequest>;
182
+ export declare const se_CreateEksAnywhereSubscriptionCommand: (
183
+ input: CreateEksAnywhereSubscriptionCommandInput,
184
+ context: __SerdeContext
185
+ ) => Promise<__HttpRequest>;
162
186
  export declare const se_CreateFargateProfileCommand: (
163
187
  input: CreateFargateProfileCommandInput,
164
188
  context: __SerdeContext
@@ -175,6 +199,10 @@ export declare const se_DeleteClusterCommand: (
175
199
  input: DeleteClusterCommandInput,
176
200
  context: __SerdeContext
177
201
  ) => Promise<__HttpRequest>;
202
+ export declare const se_DeleteEksAnywhereSubscriptionCommand: (
203
+ input: DeleteEksAnywhereSubscriptionCommandInput,
204
+ context: __SerdeContext
205
+ ) => Promise<__HttpRequest>;
178
206
  export declare const se_DeleteFargateProfileCommand: (
179
207
  input: DeleteFargateProfileCommandInput,
180
208
  context: __SerdeContext
@@ -203,6 +231,10 @@ export declare const se_DescribeClusterCommand: (
203
231
  input: DescribeClusterCommandInput,
204
232
  context: __SerdeContext
205
233
  ) => Promise<__HttpRequest>;
234
+ export declare const se_DescribeEksAnywhereSubscriptionCommand: (
235
+ input: DescribeEksAnywhereSubscriptionCommandInput,
236
+ context: __SerdeContext
237
+ ) => Promise<__HttpRequest>;
206
238
  export declare const se_DescribeFargateProfileCommand: (
207
239
  input: DescribeFargateProfileCommandInput,
208
240
  context: __SerdeContext
@@ -231,6 +263,10 @@ export declare const se_ListClustersCommand: (
231
263
  input: ListClustersCommandInput,
232
264
  context: __SerdeContext
233
265
  ) => Promise<__HttpRequest>;
266
+ export declare const se_ListEksAnywhereSubscriptionsCommand: (
267
+ input: ListEksAnywhereSubscriptionsCommandInput,
268
+ context: __SerdeContext
269
+ ) => Promise<__HttpRequest>;
234
270
  export declare const se_ListFargateProfilesCommand: (
235
271
  input: ListFargateProfilesCommandInput,
236
272
  context: __SerdeContext
@@ -275,6 +311,10 @@ export declare const se_UpdateClusterVersionCommand: (
275
311
  input: UpdateClusterVersionCommandInput,
276
312
  context: __SerdeContext
277
313
  ) => Promise<__HttpRequest>;
314
+ export declare const se_UpdateEksAnywhereSubscriptionCommand: (
315
+ input: UpdateEksAnywhereSubscriptionCommandInput,
316
+ context: __SerdeContext
317
+ ) => Promise<__HttpRequest>;
278
318
  export declare const se_UpdateNodegroupConfigCommand: (
279
319
  input: UpdateNodegroupConfigCommandInput,
280
320
  context: __SerdeContext
@@ -299,6 +339,10 @@ export declare const de_CreateClusterCommand: (
299
339
  output: __HttpResponse,
300
340
  context: __SerdeContext
301
341
  ) => Promise<CreateClusterCommandOutput>;
342
+ export declare const de_CreateEksAnywhereSubscriptionCommand: (
343
+ output: __HttpResponse,
344
+ context: __SerdeContext
345
+ ) => Promise<CreateEksAnywhereSubscriptionCommandOutput>;
302
346
  export declare const de_CreateFargateProfileCommand: (
303
347
  output: __HttpResponse,
304
348
  context: __SerdeContext
@@ -315,6 +359,10 @@ export declare const de_DeleteClusterCommand: (
315
359
  output: __HttpResponse,
316
360
  context: __SerdeContext
317
361
  ) => Promise<DeleteClusterCommandOutput>;
362
+ export declare const de_DeleteEksAnywhereSubscriptionCommand: (
363
+ output: __HttpResponse,
364
+ context: __SerdeContext
365
+ ) => Promise<DeleteEksAnywhereSubscriptionCommandOutput>;
318
366
  export declare const de_DeleteFargateProfileCommand: (
319
367
  output: __HttpResponse,
320
368
  context: __SerdeContext
@@ -343,6 +391,10 @@ export declare const de_DescribeClusterCommand: (
343
391
  output: __HttpResponse,
344
392
  context: __SerdeContext
345
393
  ) => Promise<DescribeClusterCommandOutput>;
394
+ export declare const de_DescribeEksAnywhereSubscriptionCommand: (
395
+ output: __HttpResponse,
396
+ context: __SerdeContext
397
+ ) => Promise<DescribeEksAnywhereSubscriptionCommandOutput>;
346
398
  export declare const de_DescribeFargateProfileCommand: (
347
399
  output: __HttpResponse,
348
400
  context: __SerdeContext
@@ -371,6 +423,10 @@ export declare const de_ListClustersCommand: (
371
423
  output: __HttpResponse,
372
424
  context: __SerdeContext
373
425
  ) => Promise<ListClustersCommandOutput>;
426
+ export declare const de_ListEksAnywhereSubscriptionsCommand: (
427
+ output: __HttpResponse,
428
+ context: __SerdeContext
429
+ ) => Promise<ListEksAnywhereSubscriptionsCommandOutput>;
374
430
  export declare const de_ListFargateProfilesCommand: (
375
431
  output: __HttpResponse,
376
432
  context: __SerdeContext
@@ -415,6 +471,10 @@ export declare const de_UpdateClusterVersionCommand: (
415
471
  output: __HttpResponse,
416
472
  context: __SerdeContext
417
473
  ) => Promise<UpdateClusterVersionCommandOutput>;
474
+ export declare const de_UpdateEksAnywhereSubscriptionCommand: (
475
+ output: __HttpResponse,
476
+ context: __SerdeContext
477
+ ) => Promise<UpdateEksAnywhereSubscriptionCommandOutput>;
418
478
  export declare const de_UpdateNodegroupConfigCommand: (
419
479
  output: __HttpResponse,
420
480
  context: __SerdeContext
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.445.0",
4
+ "version": "3.448.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",