@aws-sdk/client-eks 3.478.0 → 3.481.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 (229) hide show
  1. package/dist-cjs/commands/AssociateAccessPolicyCommand.js +18 -41
  2. package/dist-cjs/commands/AssociateEncryptionConfigCommand.js +18 -41
  3. package/dist-cjs/commands/AssociateIdentityProviderConfigCommand.js +18 -41
  4. package/dist-cjs/commands/CreateAccessEntryCommand.js +18 -41
  5. package/dist-cjs/commands/CreateAddonCommand.js +18 -41
  6. package/dist-cjs/commands/CreateClusterCommand.js +18 -41
  7. package/dist-cjs/commands/CreateEksAnywhereSubscriptionCommand.js +18 -41
  8. package/dist-cjs/commands/CreateFargateProfileCommand.js +18 -41
  9. package/dist-cjs/commands/CreateNodegroupCommand.js +18 -41
  10. package/dist-cjs/commands/CreatePodIdentityAssociationCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteAccessEntryCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteAddonCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteEksAnywhereSubscriptionCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteFargateProfileCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteNodegroupCommand.js +18 -41
  17. package/dist-cjs/commands/DeletePodIdentityAssociationCommand.js +18 -41
  18. package/dist-cjs/commands/DeregisterClusterCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeAccessEntryCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeAddonCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeAddonConfigurationCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeAddonVersionsCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeEksAnywhereSubscriptionCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeFargateProfileCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeIdentityProviderConfigCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeInsightCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeNodegroupCommand.js +18 -41
  29. package/dist-cjs/commands/DescribePodIdentityAssociationCommand.js +18 -41
  30. package/dist-cjs/commands/DescribeUpdateCommand.js +18 -41
  31. package/dist-cjs/commands/DisassociateAccessPolicyCommand.js +18 -41
  32. package/dist-cjs/commands/DisassociateIdentityProviderConfigCommand.js +18 -41
  33. package/dist-cjs/commands/ListAccessEntriesCommand.js +18 -41
  34. package/dist-cjs/commands/ListAccessPoliciesCommand.js +18 -41
  35. package/dist-cjs/commands/ListAddonsCommand.js +18 -41
  36. package/dist-cjs/commands/ListAssociatedAccessPoliciesCommand.js +18 -41
  37. package/dist-cjs/commands/ListClustersCommand.js +18 -41
  38. package/dist-cjs/commands/ListEksAnywhereSubscriptionsCommand.js +18 -41
  39. package/dist-cjs/commands/ListFargateProfilesCommand.js +18 -41
  40. package/dist-cjs/commands/ListIdentityProviderConfigsCommand.js +18 -41
  41. package/dist-cjs/commands/ListInsightsCommand.js +18 -41
  42. package/dist-cjs/commands/ListNodegroupsCommand.js +18 -41
  43. package/dist-cjs/commands/ListPodIdentityAssociationsCommand.js +18 -41
  44. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  45. package/dist-cjs/commands/ListUpdatesCommand.js +18 -41
  46. package/dist-cjs/commands/RegisterClusterCommand.js +18 -41
  47. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  48. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateAccessEntryCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateAddonCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateClusterConfigCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateClusterVersionCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateEksAnywhereSubscriptionCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateNodegroupConfigCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateNodegroupVersionCommand.js +18 -41
  56. package/dist-cjs/commands/UpdatePodIdentityAssociationCommand.js +18 -41
  57. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  58. package/dist-es/commands/AssociateAccessPolicyCommand.js +18 -41
  59. package/dist-es/commands/AssociateEncryptionConfigCommand.js +18 -41
  60. package/dist-es/commands/AssociateIdentityProviderConfigCommand.js +18 -41
  61. package/dist-es/commands/CreateAccessEntryCommand.js +18 -41
  62. package/dist-es/commands/CreateAddonCommand.js +18 -41
  63. package/dist-es/commands/CreateClusterCommand.js +18 -41
  64. package/dist-es/commands/CreateEksAnywhereSubscriptionCommand.js +18 -41
  65. package/dist-es/commands/CreateFargateProfileCommand.js +18 -41
  66. package/dist-es/commands/CreateNodegroupCommand.js +18 -41
  67. package/dist-es/commands/CreatePodIdentityAssociationCommand.js +18 -41
  68. package/dist-es/commands/DeleteAccessEntryCommand.js +18 -41
  69. package/dist-es/commands/DeleteAddonCommand.js +18 -41
  70. package/dist-es/commands/DeleteClusterCommand.js +18 -41
  71. package/dist-es/commands/DeleteEksAnywhereSubscriptionCommand.js +18 -41
  72. package/dist-es/commands/DeleteFargateProfileCommand.js +18 -41
  73. package/dist-es/commands/DeleteNodegroupCommand.js +18 -41
  74. package/dist-es/commands/DeletePodIdentityAssociationCommand.js +18 -41
  75. package/dist-es/commands/DeregisterClusterCommand.js +18 -41
  76. package/dist-es/commands/DescribeAccessEntryCommand.js +18 -41
  77. package/dist-es/commands/DescribeAddonCommand.js +18 -41
  78. package/dist-es/commands/DescribeAddonConfigurationCommand.js +18 -41
  79. package/dist-es/commands/DescribeAddonVersionsCommand.js +18 -41
  80. package/dist-es/commands/DescribeClusterCommand.js +18 -41
  81. package/dist-es/commands/DescribeEksAnywhereSubscriptionCommand.js +18 -41
  82. package/dist-es/commands/DescribeFargateProfileCommand.js +18 -41
  83. package/dist-es/commands/DescribeIdentityProviderConfigCommand.js +18 -41
  84. package/dist-es/commands/DescribeInsightCommand.js +18 -41
  85. package/dist-es/commands/DescribeNodegroupCommand.js +18 -41
  86. package/dist-es/commands/DescribePodIdentityAssociationCommand.js +18 -41
  87. package/dist-es/commands/DescribeUpdateCommand.js +18 -41
  88. package/dist-es/commands/DisassociateAccessPolicyCommand.js +18 -41
  89. package/dist-es/commands/DisassociateIdentityProviderConfigCommand.js +18 -41
  90. package/dist-es/commands/ListAccessEntriesCommand.js +18 -41
  91. package/dist-es/commands/ListAccessPoliciesCommand.js +18 -41
  92. package/dist-es/commands/ListAddonsCommand.js +18 -41
  93. package/dist-es/commands/ListAssociatedAccessPoliciesCommand.js +18 -41
  94. package/dist-es/commands/ListClustersCommand.js +18 -41
  95. package/dist-es/commands/ListEksAnywhereSubscriptionsCommand.js +18 -41
  96. package/dist-es/commands/ListFargateProfilesCommand.js +18 -41
  97. package/dist-es/commands/ListIdentityProviderConfigsCommand.js +18 -41
  98. package/dist-es/commands/ListInsightsCommand.js +18 -41
  99. package/dist-es/commands/ListNodegroupsCommand.js +18 -41
  100. package/dist-es/commands/ListPodIdentityAssociationsCommand.js +18 -41
  101. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  102. package/dist-es/commands/ListUpdatesCommand.js +18 -41
  103. package/dist-es/commands/RegisterClusterCommand.js +18 -41
  104. package/dist-es/commands/TagResourceCommand.js +18 -41
  105. package/dist-es/commands/UntagResourceCommand.js +18 -41
  106. package/dist-es/commands/UpdateAccessEntryCommand.js +18 -41
  107. package/dist-es/commands/UpdateAddonCommand.js +18 -41
  108. package/dist-es/commands/UpdateClusterConfigCommand.js +18 -41
  109. package/dist-es/commands/UpdateClusterVersionCommand.js +18 -41
  110. package/dist-es/commands/UpdateEksAnywhereSubscriptionCommand.js +18 -41
  111. package/dist-es/commands/UpdateNodegroupConfigCommand.js +18 -41
  112. package/dist-es/commands/UpdateNodegroupVersionCommand.js +18 -41
  113. package/dist-es/commands/UpdatePodIdentityAssociationCommand.js +18 -41
  114. package/dist-es/endpoint/EndpointParameters.js +6 -0
  115. package/dist-types/commands/AssociateAccessPolicyCommand.d.ts +6 -21
  116. package/dist-types/commands/AssociateEncryptionConfigCommand.d.ts +6 -21
  117. package/dist-types/commands/AssociateIdentityProviderConfigCommand.d.ts +6 -21
  118. package/dist-types/commands/CreateAccessEntryCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateAddonCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateEksAnywhereSubscriptionCommand.d.ts +6 -21
  122. package/dist-types/commands/CreateFargateProfileCommand.d.ts +6 -21
  123. package/dist-types/commands/CreateNodegroupCommand.d.ts +6 -21
  124. package/dist-types/commands/CreatePodIdentityAssociationCommand.d.ts +6 -21
  125. package/dist-types/commands/DeleteAccessEntryCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteAddonCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteFargateProfileCommand.d.ts +6 -21
  130. package/dist-types/commands/DeleteNodegroupCommand.d.ts +6 -21
  131. package/dist-types/commands/DeletePodIdentityAssociationCommand.d.ts +6 -21
  132. package/dist-types/commands/DeregisterClusterCommand.d.ts +6 -21
  133. package/dist-types/commands/DescribeAccessEntryCommand.d.ts +6 -21
  134. package/dist-types/commands/DescribeAddonCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeAddonConfigurationCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeAddonVersionsCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeFargateProfileCommand.d.ts +6 -21
  140. package/dist-types/commands/DescribeIdentityProviderConfigCommand.d.ts +6 -21
  141. package/dist-types/commands/DescribeInsightCommand.d.ts +6 -21
  142. package/dist-types/commands/DescribeNodegroupCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribePodIdentityAssociationCommand.d.ts +6 -21
  144. package/dist-types/commands/DescribeUpdateCommand.d.ts +6 -21
  145. package/dist-types/commands/DisassociateAccessPolicyCommand.d.ts +6 -21
  146. package/dist-types/commands/DisassociateIdentityProviderConfigCommand.d.ts +6 -21
  147. package/dist-types/commands/ListAccessEntriesCommand.d.ts +6 -21
  148. package/dist-types/commands/ListAccessPoliciesCommand.d.ts +6 -21
  149. package/dist-types/commands/ListAddonsCommand.d.ts +6 -21
  150. package/dist-types/commands/ListAssociatedAccessPoliciesCommand.d.ts +6 -21
  151. package/dist-types/commands/ListClustersCommand.d.ts +6 -21
  152. package/dist-types/commands/ListEksAnywhereSubscriptionsCommand.d.ts +6 -21
  153. package/dist-types/commands/ListFargateProfilesCommand.d.ts +6 -21
  154. package/dist-types/commands/ListIdentityProviderConfigsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListInsightsCommand.d.ts +6 -21
  156. package/dist-types/commands/ListNodegroupsCommand.d.ts +6 -21
  157. package/dist-types/commands/ListPodIdentityAssociationsCommand.d.ts +6 -21
  158. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  159. package/dist-types/commands/ListUpdatesCommand.d.ts +6 -21
  160. package/dist-types/commands/RegisterClusterCommand.d.ts +6 -21
  161. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  162. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  163. package/dist-types/commands/UpdateAccessEntryCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateAddonCommand.d.ts +6 -21
  165. package/dist-types/commands/UpdateClusterConfigCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateClusterVersionCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +6 -21
  168. package/dist-types/commands/UpdateNodegroupConfigCommand.d.ts +6 -21
  169. package/dist-types/commands/UpdateNodegroupVersionCommand.d.ts +6 -21
  170. package/dist-types/commands/UpdatePodIdentityAssociationCommand.d.ts +6 -21
  171. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  172. package/dist-types/ts3.4/commands/AssociateAccessPolicyCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/AssociateEncryptionConfigCommand.d.ts +12 -24
  174. package/dist-types/ts3.4/commands/AssociateIdentityProviderConfigCommand.d.ts +12 -24
  175. package/dist-types/ts3.4/commands/CreateAccessEntryCommand.d.ts +14 -23
  176. package/dist-types/ts3.4/commands/CreateAddonCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
  178. package/dist-types/ts3.4/commands/CreateEksAnywhereSubscriptionCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/CreateFargateProfileCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/CreateNodegroupCommand.d.ts +14 -23
  181. package/dist-types/ts3.4/commands/CreatePodIdentityAssociationCommand.d.ts +12 -24
  182. package/dist-types/ts3.4/commands/DeleteAccessEntryCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/DeleteAddonCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
  185. package/dist-types/ts3.4/commands/DeleteEksAnywhereSubscriptionCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DeleteFargateProfileCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/DeleteNodegroupCommand.d.ts +14 -23
  188. package/dist-types/ts3.4/commands/DeletePodIdentityAssociationCommand.d.ts +12 -24
  189. package/dist-types/ts3.4/commands/DeregisterClusterCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DescribeAccessEntryCommand.d.ts +14 -23
  191. package/dist-types/ts3.4/commands/DescribeAddonCommand.d.ts +14 -23
  192. package/dist-types/ts3.4/commands/DescribeAddonConfigurationCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/DescribeAddonVersionsCommand.d.ts +12 -24
  194. package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
  195. package/dist-types/ts3.4/commands/DescribeEksAnywhereSubscriptionCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/DescribeFargateProfileCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DescribeIdentityProviderConfigCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/DescribeInsightCommand.d.ts +14 -23
  199. package/dist-types/ts3.4/commands/DescribeNodegroupCommand.d.ts +14 -23
  200. package/dist-types/ts3.4/commands/DescribePodIdentityAssociationCommand.d.ts +12 -24
  201. package/dist-types/ts3.4/commands/DescribeUpdateCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/DisassociateAccessPolicyCommand.d.ts +12 -24
  203. package/dist-types/ts3.4/commands/DisassociateIdentityProviderConfigCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/ListAccessEntriesCommand.d.ts +14 -23
  205. package/dist-types/ts3.4/commands/ListAccessPoliciesCommand.d.ts +14 -23
  206. package/dist-types/ts3.4/commands/ListAddonsCommand.d.ts +14 -23
  207. package/dist-types/ts3.4/commands/ListAssociatedAccessPoliciesCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
  209. package/dist-types/ts3.4/commands/ListEksAnywhereSubscriptionsCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/ListFargateProfilesCommand.d.ts +14 -23
  211. package/dist-types/ts3.4/commands/ListIdentityProviderConfigsCommand.d.ts +12 -24
  212. package/dist-types/ts3.4/commands/ListInsightsCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/ListNodegroupsCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/ListPodIdentityAssociationsCommand.d.ts +12 -24
  215. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  216. package/dist-types/ts3.4/commands/ListUpdatesCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/RegisterClusterCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  220. package/dist-types/ts3.4/commands/UpdateAccessEntryCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/UpdateAddonCommand.d.ts +14 -23
  222. package/dist-types/ts3.4/commands/UpdateClusterConfigCommand.d.ts +14 -23
  223. package/dist-types/ts3.4/commands/UpdateClusterVersionCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/UpdateEksAnywhereSubscriptionCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/UpdateNodegroupConfigCommand.d.ts +12 -24
  226. package/dist-types/ts3.4/commands/UpdateNodegroupVersionCommand.d.ts +12 -24
  227. package/dist-types/ts3.4/commands/UpdatePodIdentityAssociationCommand.d.ts +12 -24
  228. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  229. package/package.json +9 -9
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateAccessPolicyCommand 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, AssociateAccessPolicyCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "AssociateAccessPolicyCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "AssociateAccessPolicy",
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_AssociateAccessPolicyCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateAccessPolicyCommand)(output, context);
49
- }
10
+ class AssociateAccessPolicyCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "AssociateAccessPolicy", {})
22
+ .n("EKSClient", "AssociateAccessPolicyCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateAccessPolicyCommand)
25
+ .de(Aws_restJson1_1.de_AssociateAccessPolicyCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateAccessPolicyCommand = AssociateAccessPolicyCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateEncryptionConfigCommand 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, AssociateEncryptionConfigCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "AssociateEncryptionConfigCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "AssociateEncryptionConfig",
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_AssociateEncryptionConfigCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateEncryptionConfigCommand)(output, context);
49
- }
10
+ class AssociateEncryptionConfigCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "AssociateEncryptionConfig", {})
22
+ .n("EKSClient", "AssociateEncryptionConfigCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateEncryptionConfigCommand)
25
+ .de(Aws_restJson1_1.de_AssociateEncryptionConfigCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateEncryptionConfigCommand = AssociateEncryptionConfigCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class AssociateIdentityProviderConfigCommand 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, AssociateIdentityProviderConfigCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "AssociateIdentityProviderConfigCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "AssociateIdentityProviderConfig",
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_AssociateIdentityProviderConfigCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_AssociateIdentityProviderConfigCommand)(output, context);
49
- }
10
+ class AssociateIdentityProviderConfigCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "AssociateIdentityProviderConfig", {})
22
+ .n("EKSClient", "AssociateIdentityProviderConfigCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_AssociateIdentityProviderConfigCommand)
25
+ .de(Aws_restJson1_1.de_AssociateIdentityProviderConfigCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AssociateIdentityProviderConfigCommand = AssociateIdentityProviderConfigCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateAccessEntryCommand 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, CreateAccessEntryCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "CreateAccessEntryCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "CreateAccessEntry",
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_CreateAccessEntryCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateAccessEntryCommand)(output, context);
49
- }
10
+ class CreateAccessEntryCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "CreateAccessEntry", {})
22
+ .n("EKSClient", "CreateAccessEntryCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateAccessEntryCommand)
25
+ .de(Aws_restJson1_1.de_CreateAccessEntryCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateAccessEntryCommand = CreateAccessEntryCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateAddonCommand 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, CreateAddonCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "CreateAddonCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "CreateAddon",
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_CreateAddonCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateAddonCommand)(output, context);
49
- }
10
+ class CreateAddonCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "CreateAddon", {})
22
+ .n("EKSClient", "CreateAddonCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateAddonCommand)
25
+ .de(Aws_restJson1_1.de_CreateAddonCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateAddonCommand = CreateAddonCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateClusterCommand 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, CreateClusterCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "CreateClusterCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "CreateCluster",
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_CreateClusterCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateClusterCommand)(output, context);
49
- }
10
+ class CreateClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "CreateCluster", {})
22
+ .n("EKSClient", "CreateClusterCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateClusterCommand)
25
+ .de(Aws_restJson1_1.de_CreateClusterCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateClusterCommand = CreateClusterCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
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
- }
10
+ class CreateEksAnywhereSubscriptionCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "CreateEksAnywhereSubscription", {})
22
+ .n("EKSClient", "CreateEksAnywhereSubscriptionCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateEksAnywhereSubscriptionCommand)
25
+ .de(Aws_restJson1_1.de_CreateEksAnywhereSubscriptionCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateEksAnywhereSubscriptionCommand = CreateEksAnywhereSubscriptionCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateFargateProfileCommand 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, CreateFargateProfileCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "CreateFargateProfileCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "CreateFargateProfile",
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_CreateFargateProfileCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateFargateProfileCommand)(output, context);
49
- }
10
+ class CreateFargateProfileCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "CreateFargateProfile", {})
22
+ .n("EKSClient", "CreateFargateProfileCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateFargateProfileCommand)
25
+ .de(Aws_restJson1_1.de_CreateFargateProfileCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateFargateProfileCommand = CreateFargateProfileCommand;
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
5
  const middleware_serde_1 = require("@smithy/middleware-serde");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
- const types_1 = require("@smithy/types");
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
9
  const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
10
- class CreateNodegroupCommand 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, CreateNodegroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "EKSClient";
29
- const commandName = "CreateNodegroupCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "AWSWesleyFrontend",
38
- operation: "CreateNodegroup",
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_CreateNodegroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_restJson1_1.de_CreateNodegroupCommand)(output, context);
49
- }
10
+ class CreateNodegroupCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep({
13
+ ...EndpointParameters_1.commonParams,
14
+ })
15
+ .m(function (Command, cs, config, o) {
16
+ return [
17
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
18
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
19
+ ];
20
+ })
21
+ .s("AWSWesleyFrontend", "CreateNodegroup", {})
22
+ .n("EKSClient", "CreateNodegroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_restJson1_1.se_CreateNodegroupCommand)
25
+ .de(Aws_restJson1_1.de_CreateNodegroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateNodegroupCommand = CreateNodegroupCommand;