@aws-sdk/client-eks 3.445.0 → 3.449.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 +12 -12
package/README.md CHANGED
@@ -7,15 +7,14 @@
7
7
  AWS SDK for JavaScript EKS Client for Node.js, Browser and React Native.
8
8
 
9
9
  <p>Amazon Elastic Kubernetes Service (Amazon EKS) is a managed service that makes it easy
10
- for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain
11
- your own Kubernetes control plane. Kubernetes is an open-source system for automating
12
- the deployment, scaling, and management of containerized applications. </p>
13
- <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so
14
- you can use all the existing plugins and tooling from the Kubernetes community.
15
- Applications running on Amazon EKS are fully compatible with applications
16
- running on any standard Kubernetes environment, whether running in on-premises data
17
- centers or public clouds. This means that you can easily migrate any standard Kubernetes
18
- application to Amazon EKS without any code modification required.</p>
10
+ for you to run Kubernetes on Amazon Web Services without needing to stand up or maintain your
11
+ own Kubernetes control plane. Kubernetes is an open-source system for automating the deployment,
12
+ scaling, and management of containerized applications. </p>
13
+ <p>Amazon EKS runs up-to-date versions of the open-source Kubernetes software, so you
14
+ can use all the existing plugins and tooling from the Kubernetes community. Applications
15
+ running on Amazon EKS are fully compatible with applications running on any
16
+ standard Kubernetes environment, whether running in on-premises data centers or public
17
+ clouds. This means that you can easily migrate any standard Kubernetes application to Amazon EKS without any code modification required.</p>
19
18
 
20
19
  ## Installing
21
20
 
@@ -243,6 +242,14 @@ CreateCluster
243
242
 
244
243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/createclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createclustercommandoutput.html)
245
244
 
245
+ </details>
246
+ <details>
247
+ <summary>
248
+ CreateEksAnywhereSubscription
249
+ </summary>
250
+
251
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/createeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/createeksanywheresubscriptioncommandoutput.html)
252
+
246
253
  </details>
247
254
  <details>
248
255
  <summary>
@@ -275,6 +282,14 @@ DeleteCluster
275
282
 
276
283
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/deleteclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteclustercommandoutput.html)
277
284
 
285
+ </details>
286
+ <details>
287
+ <summary>
288
+ DeleteEksAnywhereSubscription
289
+ </summary>
290
+
291
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/deleteeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/deleteeksanywheresubscriptioncommandoutput.html)
292
+
278
293
  </details>
279
294
  <details>
280
295
  <summary>
@@ -331,6 +346,14 @@ DescribeCluster
331
346
 
332
347
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/describeclustercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeclustercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeclustercommandoutput.html)
333
348
 
349
+ </details>
350
+ <details>
351
+ <summary>
352
+ DescribeEksAnywhereSubscription
353
+ </summary>
354
+
355
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/describeeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/describeeksanywheresubscriptioncommandoutput.html)
356
+
334
357
  </details>
335
358
  <details>
336
359
  <summary>
@@ -387,6 +410,14 @@ ListClusters
387
410
 
388
411
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/listclusterscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listclusterscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listclusterscommandoutput.html)
389
412
 
413
+ </details>
414
+ <details>
415
+ <summary>
416
+ ListEksAnywhereSubscriptions
417
+ </summary>
418
+
419
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/listeksanywheresubscriptionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listeksanywheresubscriptionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/listeksanywheresubscriptionscommandoutput.html)
420
+
390
421
  </details>
391
422
  <details>
392
423
  <summary>
@@ -475,6 +506,14 @@ UpdateClusterVersion
475
506
 
476
507
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/updateclusterversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateclusterversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateclusterversioncommandoutput.html)
477
508
 
509
+ </details>
510
+ <details>
511
+ <summary>
512
+ UpdateEksAnywhereSubscription
513
+ </summary>
514
+
515
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/classes/updateeksanywheresubscriptioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateeksanywheresubscriptioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-eks/interfaces/updateeksanywheresubscriptioncommandoutput.html)
516
+
478
517
  </details>
479
518
  <details>
480
519
  <summary>
package/dist-cjs/EKS.js CHANGED
@@ -6,10 +6,12 @@ const AssociateEncryptionConfigCommand_1 = require("./commands/AssociateEncrypti
6
6
  const AssociateIdentityProviderConfigCommand_1 = require("./commands/AssociateIdentityProviderConfigCommand");
7
7
  const CreateAddonCommand_1 = require("./commands/CreateAddonCommand");
8
8
  const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
9
+ const CreateEksAnywhereSubscriptionCommand_1 = require("./commands/CreateEksAnywhereSubscriptionCommand");
9
10
  const CreateFargateProfileCommand_1 = require("./commands/CreateFargateProfileCommand");
10
11
  const CreateNodegroupCommand_1 = require("./commands/CreateNodegroupCommand");
11
12
  const DeleteAddonCommand_1 = require("./commands/DeleteAddonCommand");
12
13
  const DeleteClusterCommand_1 = require("./commands/DeleteClusterCommand");
14
+ const DeleteEksAnywhereSubscriptionCommand_1 = require("./commands/DeleteEksAnywhereSubscriptionCommand");
13
15
  const DeleteFargateProfileCommand_1 = require("./commands/DeleteFargateProfileCommand");
14
16
  const DeleteNodegroupCommand_1 = require("./commands/DeleteNodegroupCommand");
15
17
  const DeregisterClusterCommand_1 = require("./commands/DeregisterClusterCommand");
@@ -17,6 +19,7 @@ const DescribeAddonCommand_1 = require("./commands/DescribeAddonCommand");
17
19
  const DescribeAddonConfigurationCommand_1 = require("./commands/DescribeAddonConfigurationCommand");
18
20
  const DescribeAddonVersionsCommand_1 = require("./commands/DescribeAddonVersionsCommand");
19
21
  const DescribeClusterCommand_1 = require("./commands/DescribeClusterCommand");
22
+ const DescribeEksAnywhereSubscriptionCommand_1 = require("./commands/DescribeEksAnywhereSubscriptionCommand");
20
23
  const DescribeFargateProfileCommand_1 = require("./commands/DescribeFargateProfileCommand");
21
24
  const DescribeIdentityProviderConfigCommand_1 = require("./commands/DescribeIdentityProviderConfigCommand");
22
25
  const DescribeNodegroupCommand_1 = require("./commands/DescribeNodegroupCommand");
@@ -24,6 +27,7 @@ const DescribeUpdateCommand_1 = require("./commands/DescribeUpdateCommand");
24
27
  const DisassociateIdentityProviderConfigCommand_1 = require("./commands/DisassociateIdentityProviderConfigCommand");
25
28
  const ListAddonsCommand_1 = require("./commands/ListAddonsCommand");
26
29
  const ListClustersCommand_1 = require("./commands/ListClustersCommand");
30
+ const ListEksAnywhereSubscriptionsCommand_1 = require("./commands/ListEksAnywhereSubscriptionsCommand");
27
31
  const ListFargateProfilesCommand_1 = require("./commands/ListFargateProfilesCommand");
28
32
  const ListIdentityProviderConfigsCommand_1 = require("./commands/ListIdentityProviderConfigsCommand");
29
33
  const ListNodegroupsCommand_1 = require("./commands/ListNodegroupsCommand");
@@ -35,6 +39,7 @@ const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
35
39
  const UpdateAddonCommand_1 = require("./commands/UpdateAddonCommand");
36
40
  const UpdateClusterConfigCommand_1 = require("./commands/UpdateClusterConfigCommand");
37
41
  const UpdateClusterVersionCommand_1 = require("./commands/UpdateClusterVersionCommand");
42
+ const UpdateEksAnywhereSubscriptionCommand_1 = require("./commands/UpdateEksAnywhereSubscriptionCommand");
38
43
  const UpdateNodegroupConfigCommand_1 = require("./commands/UpdateNodegroupConfigCommand");
39
44
  const UpdateNodegroupVersionCommand_1 = require("./commands/UpdateNodegroupVersionCommand");
40
45
  const EKSClient_1 = require("./EKSClient");
@@ -43,10 +48,12 @@ const commands = {
43
48
  AssociateIdentityProviderConfigCommand: AssociateIdentityProviderConfigCommand_1.AssociateIdentityProviderConfigCommand,
44
49
  CreateAddonCommand: CreateAddonCommand_1.CreateAddonCommand,
45
50
  CreateClusterCommand: CreateClusterCommand_1.CreateClusterCommand,
51
+ CreateEksAnywhereSubscriptionCommand: CreateEksAnywhereSubscriptionCommand_1.CreateEksAnywhereSubscriptionCommand,
46
52
  CreateFargateProfileCommand: CreateFargateProfileCommand_1.CreateFargateProfileCommand,
47
53
  CreateNodegroupCommand: CreateNodegroupCommand_1.CreateNodegroupCommand,
48
54
  DeleteAddonCommand: DeleteAddonCommand_1.DeleteAddonCommand,
49
55
  DeleteClusterCommand: DeleteClusterCommand_1.DeleteClusterCommand,
56
+ DeleteEksAnywhereSubscriptionCommand: DeleteEksAnywhereSubscriptionCommand_1.DeleteEksAnywhereSubscriptionCommand,
50
57
  DeleteFargateProfileCommand: DeleteFargateProfileCommand_1.DeleteFargateProfileCommand,
51
58
  DeleteNodegroupCommand: DeleteNodegroupCommand_1.DeleteNodegroupCommand,
52
59
  DeregisterClusterCommand: DeregisterClusterCommand_1.DeregisterClusterCommand,
@@ -54,6 +61,7 @@ const commands = {
54
61
  DescribeAddonConfigurationCommand: DescribeAddonConfigurationCommand_1.DescribeAddonConfigurationCommand,
55
62
  DescribeAddonVersionsCommand: DescribeAddonVersionsCommand_1.DescribeAddonVersionsCommand,
56
63
  DescribeClusterCommand: DescribeClusterCommand_1.DescribeClusterCommand,
64
+ DescribeEksAnywhereSubscriptionCommand: DescribeEksAnywhereSubscriptionCommand_1.DescribeEksAnywhereSubscriptionCommand,
57
65
  DescribeFargateProfileCommand: DescribeFargateProfileCommand_1.DescribeFargateProfileCommand,
58
66
  DescribeIdentityProviderConfigCommand: DescribeIdentityProviderConfigCommand_1.DescribeIdentityProviderConfigCommand,
59
67
  DescribeNodegroupCommand: DescribeNodegroupCommand_1.DescribeNodegroupCommand,
@@ -61,6 +69,7 @@ const commands = {
61
69
  DisassociateIdentityProviderConfigCommand: DisassociateIdentityProviderConfigCommand_1.DisassociateIdentityProviderConfigCommand,
62
70
  ListAddonsCommand: ListAddonsCommand_1.ListAddonsCommand,
63
71
  ListClustersCommand: ListClustersCommand_1.ListClustersCommand,
72
+ ListEksAnywhereSubscriptionsCommand: ListEksAnywhereSubscriptionsCommand_1.ListEksAnywhereSubscriptionsCommand,
64
73
  ListFargateProfilesCommand: ListFargateProfilesCommand_1.ListFargateProfilesCommand,
65
74
  ListIdentityProviderConfigsCommand: ListIdentityProviderConfigsCommand_1.ListIdentityProviderConfigsCommand,
66
75
  ListNodegroupsCommand: ListNodegroupsCommand_1.ListNodegroupsCommand,
@@ -72,6 +81,7 @@ const commands = {
72
81
  UpdateAddonCommand: UpdateAddonCommand_1.UpdateAddonCommand,
73
82
  UpdateClusterConfigCommand: UpdateClusterConfigCommand_1.UpdateClusterConfigCommand,
74
83
  UpdateClusterVersionCommand: UpdateClusterVersionCommand_1.UpdateClusterVersionCommand,
84
+ UpdateEksAnywhereSubscriptionCommand: UpdateEksAnywhereSubscriptionCommand_1.UpdateEksAnywhereSubscriptionCommand,
75
85
  UpdateNodegroupConfigCommand: UpdateNodegroupConfigCommand_1.UpdateNodegroupConfigCommand,
76
86
  UpdateNodegroupVersionCommand: UpdateNodegroupVersionCommand_1.UpdateNodegroupVersionCommand,
77
87
  };
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateEksAnywhereSubscriptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class CreateEksAnywhereSubscriptionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateEksAnywhereSubscriptionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "EKSClient";
29
+ const commandName = "CreateEksAnywhereSubscriptionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSWesleyFrontend",
38
+ operation: "CreateEksAnywhereSubscription",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_CreateEksAnywhereSubscriptionCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_CreateEksAnywhereSubscriptionCommand)(output, context);
49
+ }
50
+ }
51
+ exports.CreateEksAnywhereSubscriptionCommand = CreateEksAnywhereSubscriptionCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteEksAnywhereSubscriptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DeleteEksAnywhereSubscriptionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEksAnywhereSubscriptionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "EKSClient";
29
+ const commandName = "DeleteEksAnywhereSubscriptionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSWesleyFrontend",
38
+ operation: "DeleteEksAnywhereSubscription",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DeleteEksAnywhereSubscriptionCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DeleteEksAnywhereSubscriptionCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DeleteEksAnywhereSubscriptionCommand = DeleteEksAnywhereSubscriptionCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeEksAnywhereSubscriptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class DescribeEksAnywhereSubscriptionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEksAnywhereSubscriptionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "EKSClient";
29
+ const commandName = "DescribeEksAnywhereSubscriptionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSWesleyFrontend",
38
+ operation: "DescribeEksAnywhereSubscription",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_DescribeEksAnywhereSubscriptionCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_DescribeEksAnywhereSubscriptionCommand)(output, context);
49
+ }
50
+ }
51
+ exports.DescribeEksAnywhereSubscriptionCommand = DescribeEksAnywhereSubscriptionCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListEksAnywhereSubscriptionsCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class ListEksAnywhereSubscriptionsCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEksAnywhereSubscriptionsCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "EKSClient";
29
+ const commandName = "ListEksAnywhereSubscriptionsCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSWesleyFrontend",
38
+ operation: "ListEksAnywhereSubscriptions",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_ListEksAnywhereSubscriptionsCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_ListEksAnywhereSubscriptionsCommand)(output, context);
49
+ }
50
+ }
51
+ exports.ListEksAnywhereSubscriptionsCommand = ListEksAnywhereSubscriptionsCommand;
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateEksAnywhereSubscriptionCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const types_1 = require("@smithy/types");
9
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
+ class UpdateEksAnywhereSubscriptionCommand extends smithy_client_1.Command {
11
+ static getEndpointParameterInstructions() {
12
+ return {
13
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
14
+ Endpoint: { type: "builtInParams", name: "endpoint" },
15
+ Region: { type: "builtInParams", name: "region" },
16
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
17
+ };
18
+ }
19
+ constructor(input) {
20
+ super();
21
+ this.input = input;
22
+ }
23
+ resolveMiddleware(clientStack, configuration, options) {
24
+ this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
25
+ this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEksAnywhereSubscriptionCommand.getEndpointParameterInstructions()));
26
+ const stack = clientStack.concat(this.middlewareStack);
27
+ const { logger } = configuration;
28
+ const clientName = "EKSClient";
29
+ const commandName = "UpdateEksAnywhereSubscriptionCommand";
30
+ const handlerExecutionContext = {
31
+ logger,
32
+ clientName,
33
+ commandName,
34
+ inputFilterSensitiveLog: (_) => _,
35
+ outputFilterSensitiveLog: (_) => _,
36
+ [types_1.SMITHY_CONTEXT_KEY]: {
37
+ service: "AWSWesleyFrontend",
38
+ operation: "UpdateEksAnywhereSubscription",
39
+ },
40
+ };
41
+ const { requestHandler } = configuration;
42
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
43
+ }
44
+ serialize(input, context) {
45
+ return (0, Aws_restJson1_1.se_UpdateEksAnywhereSubscriptionCommand)(input, context);
46
+ }
47
+ deserialize(output, context) {
48
+ return (0, Aws_restJson1_1.de_UpdateEksAnywhereSubscriptionCommand)(output, context);
49
+ }
50
+ }
51
+ exports.UpdateEksAnywhereSubscriptionCommand = UpdateEksAnywhereSubscriptionCommand;
@@ -5,10 +5,12 @@ tslib_1.__exportStar(require("./AssociateEncryptionConfigCommand"), exports);
5
5
  tslib_1.__exportStar(require("./AssociateIdentityProviderConfigCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateAddonCommand"), exports);
7
7
  tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateEksAnywhereSubscriptionCommand"), exports);
8
9
  tslib_1.__exportStar(require("./CreateFargateProfileCommand"), exports);
9
10
  tslib_1.__exportStar(require("./CreateNodegroupCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DeleteAddonCommand"), exports);
11
12
  tslib_1.__exportStar(require("./DeleteClusterCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteEksAnywhereSubscriptionCommand"), exports);
12
14
  tslib_1.__exportStar(require("./DeleteFargateProfileCommand"), exports);
13
15
  tslib_1.__exportStar(require("./DeleteNodegroupCommand"), exports);
14
16
  tslib_1.__exportStar(require("./DeregisterClusterCommand"), exports);
@@ -16,6 +18,7 @@ tslib_1.__exportStar(require("./DescribeAddonCommand"), exports);
16
18
  tslib_1.__exportStar(require("./DescribeAddonConfigurationCommand"), exports);
17
19
  tslib_1.__exportStar(require("./DescribeAddonVersionsCommand"), exports);
18
20
  tslib_1.__exportStar(require("./DescribeClusterCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeEksAnywhereSubscriptionCommand"), exports);
19
22
  tslib_1.__exportStar(require("./DescribeFargateProfileCommand"), exports);
20
23
  tslib_1.__exportStar(require("./DescribeIdentityProviderConfigCommand"), exports);
21
24
  tslib_1.__exportStar(require("./DescribeNodegroupCommand"), exports);
@@ -23,6 +26,7 @@ tslib_1.__exportStar(require("./DescribeUpdateCommand"), exports);
23
26
  tslib_1.__exportStar(require("./DisassociateIdentityProviderConfigCommand"), exports);
24
27
  tslib_1.__exportStar(require("./ListAddonsCommand"), exports);
25
28
  tslib_1.__exportStar(require("./ListClustersCommand"), exports);
29
+ tslib_1.__exportStar(require("./ListEksAnywhereSubscriptionsCommand"), exports);
26
30
  tslib_1.__exportStar(require("./ListFargateProfilesCommand"), exports);
27
31
  tslib_1.__exportStar(require("./ListIdentityProviderConfigsCommand"), exports);
28
32
  tslib_1.__exportStar(require("./ListNodegroupsCommand"), exports);
@@ -34,5 +38,6 @@ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
34
38
  tslib_1.__exportStar(require("./UpdateAddonCommand"), exports);
35
39
  tslib_1.__exportStar(require("./UpdateClusterConfigCommand"), exports);
36
40
  tslib_1.__exportStar(require("./UpdateClusterVersionCommand"), exports);
41
+ tslib_1.__exportStar(require("./UpdateEksAnywhereSubscriptionCommand"), exports);
37
42
  tslib_1.__exportStar(require("./UpdateNodegroupConfigCommand"), exports);
38
43
  tslib_1.__exportStar(require("./UpdateNodegroupVersionCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ResourceLimitExceededException = exports.ClusterStatus = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ResolveConflicts = exports.ServerException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.AMITypes = exports.AddonStatus = exports.AddonIssueCode = exports.AccessDeniedException = void 0;
3
+ exports.ResourcePropagationDelayException = exports.ConnectorConfigProvider = exports.NotFoundException = exports.BadRequestException = exports.EksAnywhereSubscriptionStatus = exports.ConfigStatus = exports.NodegroupStatus = exports.NodegroupIssueCode = exports.TaintEffect = exports.CapacityTypes = exports.FargateProfileStatus = exports.EksAnywhereSubscriptionTermUnit = exports.EksAnywhereSubscriptionLicenseType = exports.UnsupportedAvailabilityZoneException = exports.ServiceUnavailableException = exports.ResourceLimitExceededException = exports.ClusterStatus = exports.ClusterIssueCode = exports.LogType = exports.IpFamily = exports.ResolveConflicts = exports.ServerException = exports.ResourceNotFoundException = exports.ResourceInUseException = exports.InvalidRequestException = exports.InvalidParameterException = exports.ClientException = exports.UpdateType = exports.UpdateStatus = exports.UpdateParamType = exports.ErrorCode = exports.AMITypes = exports.AddonStatus = exports.AddonIssueCode = exports.AccessDeniedException = void 0;
4
4
  const EKSServiceException_1 = require("./EKSServiceException");
5
5
  class AccessDeniedException extends EKSServiceException_1.EKSServiceException {
6
6
  constructor(opts) {
@@ -126,6 +126,7 @@ class ClientException extends EKSServiceException_1.EKSServiceException {
126
126
  this.clusterName = opts.clusterName;
127
127
  this.nodegroupName = opts.nodegroupName;
128
128
  this.addonName = opts.addonName;
129
+ this.subscriptionId = opts.subscriptionId;
129
130
  }
130
131
  }
131
132
  exports.ClientException = ClientException;
@@ -143,6 +144,7 @@ class InvalidParameterException extends EKSServiceException_1.EKSServiceExceptio
143
144
  this.nodegroupName = opts.nodegroupName;
144
145
  this.fargateProfileName = opts.fargateProfileName;
145
146
  this.addonName = opts.addonName;
147
+ this.subscriptionId = opts.subscriptionId;
146
148
  }
147
149
  }
148
150
  exports.InvalidParameterException = InvalidParameterException;
@@ -159,6 +161,7 @@ class InvalidRequestException extends EKSServiceException_1.EKSServiceException
159
161
  this.clusterName = opts.clusterName;
160
162
  this.nodegroupName = opts.nodegroupName;
161
163
  this.addonName = opts.addonName;
164
+ this.subscriptionId = opts.subscriptionId;
162
165
  }
163
166
  }
164
167
  exports.InvalidRequestException = InvalidRequestException;
@@ -192,6 +195,7 @@ class ResourceNotFoundException extends EKSServiceException_1.EKSServiceExceptio
192
195
  this.nodegroupName = opts.nodegroupName;
193
196
  this.fargateProfileName = opts.fargateProfileName;
194
197
  this.addonName = opts.addonName;
198
+ this.subscriptionId = opts.subscriptionId;
195
199
  }
196
200
  }
197
201
  exports.ResourceNotFoundException = ResourceNotFoundException;
@@ -208,6 +212,7 @@ class ServerException extends EKSServiceException_1.EKSServiceException {
208
212
  this.clusterName = opts.clusterName;
209
213
  this.nodegroupName = opts.nodegroupName;
210
214
  this.addonName = opts.addonName;
215
+ this.subscriptionId = opts.subscriptionId;
211
216
  }
212
217
  }
213
218
  exports.ServerException = ServerException;
@@ -268,6 +273,7 @@ class ResourceLimitExceededException extends EKSServiceException_1.EKSServiceExc
268
273
  Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
269
274
  this.clusterName = opts.clusterName;
270
275
  this.nodegroupName = opts.nodegroupName;
276
+ this.subscriptionId = opts.subscriptionId;
271
277
  }
272
278
  }
273
279
  exports.ResourceLimitExceededException = ResourceLimitExceededException;
@@ -300,6 +306,12 @@ class UnsupportedAvailabilityZoneException extends EKSServiceException_1.EKSServ
300
306
  }
301
307
  }
302
308
  exports.UnsupportedAvailabilityZoneException = UnsupportedAvailabilityZoneException;
309
+ exports.EksAnywhereSubscriptionLicenseType = {
310
+ Cluster: "Cluster",
311
+ };
312
+ exports.EksAnywhereSubscriptionTermUnit = {
313
+ MONTHS: "MONTHS",
314
+ };
303
315
  exports.FargateProfileStatus = {
304
316
  ACTIVE: "ACTIVE",
305
317
  CREATE_FAILED: "CREATE_FAILED",
@@ -365,6 +377,14 @@ exports.ConfigStatus = {
365
377
  CREATING: "CREATING",
366
378
  DELETING: "DELETING",
367
379
  };
380
+ exports.EksAnywhereSubscriptionStatus = {
381
+ ACTIVE: "ACTIVE",
382
+ CREATING: "CREATING",
383
+ DELETING: "DELETING",
384
+ EXPIRED: "EXPIRED",
385
+ EXPIRING: "EXPIRING",
386
+ UPDATING: "UPDATING",
387
+ };
368
388
  class BadRequestException extends EKSServiceException_1.EKSServiceException {
369
389
  constructor(opts) {
370
390
  super({