@aws-sdk/client-global-accelerator 3.478.0 → 3.484.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/AddCustomRoutingEndpointsCommand.js +18 -41
  2. package/dist-cjs/commands/AddEndpointsCommand.js +18 -41
  3. package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +18 -41
  4. package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +18 -41
  5. package/dist-cjs/commands/CreateAcceleratorCommand.js +18 -41
  6. package/dist-cjs/commands/CreateCrossAccountAttachmentCommand.js +18 -41
  7. package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +18 -41
  8. package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +18 -41
  9. package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +18 -41
  10. package/dist-cjs/commands/CreateEndpointGroupCommand.js +18 -41
  11. package/dist-cjs/commands/CreateListenerCommand.js +18 -41
  12. package/dist-cjs/commands/DeleteAcceleratorCommand.js +18 -41
  13. package/dist-cjs/commands/DeleteCrossAccountAttachmentCommand.js +18 -41
  14. package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +18 -41
  15. package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +18 -41
  16. package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +18 -41
  17. package/dist-cjs/commands/DeleteEndpointGroupCommand.js +18 -41
  18. package/dist-cjs/commands/DeleteListenerCommand.js +18 -41
  19. package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +18 -41
  20. package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +18 -41
  21. package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +18 -41
  22. package/dist-cjs/commands/DescribeAcceleratorCommand.js +18 -41
  23. package/dist-cjs/commands/DescribeCrossAccountAttachmentCommand.js +18 -41
  24. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +18 -41
  25. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +18 -41
  26. package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +18 -41
  27. package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +18 -41
  28. package/dist-cjs/commands/DescribeEndpointGroupCommand.js +18 -41
  29. package/dist-cjs/commands/DescribeListenerCommand.js +18 -41
  30. package/dist-cjs/commands/ListAcceleratorsCommand.js +18 -41
  31. package/dist-cjs/commands/ListByoipCidrsCommand.js +18 -41
  32. package/dist-cjs/commands/ListCrossAccountAttachmentsCommand.js +18 -41
  33. package/dist-cjs/commands/ListCrossAccountResourceAccountsCommand.js +18 -41
  34. package/dist-cjs/commands/ListCrossAccountResourcesCommand.js +18 -41
  35. package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +18 -41
  36. package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +18 -41
  37. package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +18 -41
  38. package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +18 -41
  39. package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +18 -41
  40. package/dist-cjs/commands/ListEndpointGroupsCommand.js +18 -41
  41. package/dist-cjs/commands/ListListenersCommand.js +18 -41
  42. package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
  43. package/dist-cjs/commands/ProvisionByoipCidrCommand.js +18 -41
  44. package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +18 -41
  45. package/dist-cjs/commands/RemoveEndpointsCommand.js +18 -41
  46. package/dist-cjs/commands/TagResourceCommand.js +18 -41
  47. package/dist-cjs/commands/UntagResourceCommand.js +18 -41
  48. package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +18 -41
  49. package/dist-cjs/commands/UpdateAcceleratorCommand.js +18 -41
  50. package/dist-cjs/commands/UpdateCrossAccountAttachmentCommand.js +18 -41
  51. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +18 -41
  52. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +18 -41
  53. package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +18 -41
  54. package/dist-cjs/commands/UpdateEndpointGroupCommand.js +18 -41
  55. package/dist-cjs/commands/UpdateListenerCommand.js +18 -41
  56. package/dist-cjs/commands/WithdrawByoipCidrCommand.js +18 -41
  57. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  58. package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +18 -41
  59. package/dist-es/commands/AddEndpointsCommand.js +18 -41
  60. package/dist-es/commands/AdvertiseByoipCidrCommand.js +18 -41
  61. package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +18 -41
  62. package/dist-es/commands/CreateAcceleratorCommand.js +18 -41
  63. package/dist-es/commands/CreateCrossAccountAttachmentCommand.js +18 -41
  64. package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +18 -41
  65. package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +18 -41
  66. package/dist-es/commands/CreateCustomRoutingListenerCommand.js +18 -41
  67. package/dist-es/commands/CreateEndpointGroupCommand.js +18 -41
  68. package/dist-es/commands/CreateListenerCommand.js +18 -41
  69. package/dist-es/commands/DeleteAcceleratorCommand.js +18 -41
  70. package/dist-es/commands/DeleteCrossAccountAttachmentCommand.js +18 -41
  71. package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +18 -41
  72. package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +18 -41
  73. package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +18 -41
  74. package/dist-es/commands/DeleteEndpointGroupCommand.js +18 -41
  75. package/dist-es/commands/DeleteListenerCommand.js +18 -41
  76. package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +18 -41
  77. package/dist-es/commands/DeprovisionByoipCidrCommand.js +18 -41
  78. package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +18 -41
  79. package/dist-es/commands/DescribeAcceleratorCommand.js +18 -41
  80. package/dist-es/commands/DescribeCrossAccountAttachmentCommand.js +18 -41
  81. package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +18 -41
  82. package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +18 -41
  83. package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +18 -41
  84. package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +18 -41
  85. package/dist-es/commands/DescribeEndpointGroupCommand.js +18 -41
  86. package/dist-es/commands/DescribeListenerCommand.js +18 -41
  87. package/dist-es/commands/ListAcceleratorsCommand.js +18 -41
  88. package/dist-es/commands/ListByoipCidrsCommand.js +18 -41
  89. package/dist-es/commands/ListCrossAccountAttachmentsCommand.js +18 -41
  90. package/dist-es/commands/ListCrossAccountResourceAccountsCommand.js +18 -41
  91. package/dist-es/commands/ListCrossAccountResourcesCommand.js +18 -41
  92. package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +18 -41
  93. package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +18 -41
  94. package/dist-es/commands/ListCustomRoutingListenersCommand.js +18 -41
  95. package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +18 -41
  96. package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +18 -41
  97. package/dist-es/commands/ListEndpointGroupsCommand.js +18 -41
  98. package/dist-es/commands/ListListenersCommand.js +18 -41
  99. package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
  100. package/dist-es/commands/ProvisionByoipCidrCommand.js +18 -41
  101. package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +18 -41
  102. package/dist-es/commands/RemoveEndpointsCommand.js +18 -41
  103. package/dist-es/commands/TagResourceCommand.js +18 -41
  104. package/dist-es/commands/UntagResourceCommand.js +18 -41
  105. package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +18 -41
  106. package/dist-es/commands/UpdateAcceleratorCommand.js +18 -41
  107. package/dist-es/commands/UpdateCrossAccountAttachmentCommand.js +18 -41
  108. package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +18 -41
  109. package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +18 -41
  110. package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +18 -41
  111. package/dist-es/commands/UpdateEndpointGroupCommand.js +18 -41
  112. package/dist-es/commands/UpdateListenerCommand.js +18 -41
  113. package/dist-es/commands/WithdrawByoipCidrCommand.js +18 -41
  114. package/dist-es/endpoint/EndpointParameters.js +6 -0
  115. package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +6 -21
  116. package/dist-types/commands/AddEndpointsCommand.d.ts +6 -21
  117. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +6 -21
  118. package/dist-types/commands/AllowCustomRoutingTrafficCommand.d.ts +6 -21
  119. package/dist-types/commands/CreateAcceleratorCommand.d.ts +6 -21
  120. package/dist-types/commands/CreateCrossAccountAttachmentCommand.d.ts +6 -21
  121. package/dist-types/commands/CreateCustomRoutingAcceleratorCommand.d.ts +6 -21
  122. package/dist-types/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +6 -21
  123. package/dist-types/commands/CreateCustomRoutingListenerCommand.d.ts +6 -21
  124. package/dist-types/commands/CreateEndpointGroupCommand.d.ts +6 -21
  125. package/dist-types/commands/CreateListenerCommand.d.ts +6 -21
  126. package/dist-types/commands/DeleteAcceleratorCommand.d.ts +6 -21
  127. package/dist-types/commands/DeleteCrossAccountAttachmentCommand.d.ts +6 -21
  128. package/dist-types/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +6 -21
  129. package/dist-types/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +6 -21
  130. package/dist-types/commands/DeleteCustomRoutingListenerCommand.d.ts +6 -21
  131. package/dist-types/commands/DeleteEndpointGroupCommand.d.ts +6 -21
  132. package/dist-types/commands/DeleteListenerCommand.d.ts +6 -21
  133. package/dist-types/commands/DenyCustomRoutingTrafficCommand.d.ts +6 -21
  134. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +6 -21
  135. package/dist-types/commands/DescribeAcceleratorAttributesCommand.d.ts +6 -21
  136. package/dist-types/commands/DescribeAcceleratorCommand.d.ts +6 -21
  137. package/dist-types/commands/DescribeCrossAccountAttachmentCommand.d.ts +6 -21
  138. package/dist-types/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +6 -21
  139. package/dist-types/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +6 -21
  140. package/dist-types/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +6 -21
  141. package/dist-types/commands/DescribeCustomRoutingListenerCommand.d.ts +6 -21
  142. package/dist-types/commands/DescribeEndpointGroupCommand.d.ts +6 -21
  143. package/dist-types/commands/DescribeListenerCommand.d.ts +6 -21
  144. package/dist-types/commands/ListAcceleratorsCommand.d.ts +6 -21
  145. package/dist-types/commands/ListByoipCidrsCommand.d.ts +6 -21
  146. package/dist-types/commands/ListCrossAccountAttachmentsCommand.d.ts +6 -21
  147. package/dist-types/commands/ListCrossAccountResourceAccountsCommand.d.ts +6 -21
  148. package/dist-types/commands/ListCrossAccountResourcesCommand.d.ts +6 -21
  149. package/dist-types/commands/ListCustomRoutingAcceleratorsCommand.d.ts +6 -21
  150. package/dist-types/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +6 -21
  151. package/dist-types/commands/ListCustomRoutingListenersCommand.d.ts +6 -21
  152. package/dist-types/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +6 -21
  153. package/dist-types/commands/ListCustomRoutingPortMappingsCommand.d.ts +6 -21
  154. package/dist-types/commands/ListEndpointGroupsCommand.d.ts +6 -21
  155. package/dist-types/commands/ListListenersCommand.d.ts +6 -21
  156. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  157. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +6 -21
  158. package/dist-types/commands/RemoveCustomRoutingEndpointsCommand.d.ts +6 -21
  159. package/dist-types/commands/RemoveEndpointsCommand.d.ts +6 -21
  160. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  161. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  162. package/dist-types/commands/UpdateAcceleratorAttributesCommand.d.ts +6 -21
  163. package/dist-types/commands/UpdateAcceleratorCommand.d.ts +6 -21
  164. package/dist-types/commands/UpdateCrossAccountAttachmentCommand.d.ts +6 -21
  165. package/dist-types/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +6 -21
  166. package/dist-types/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +6 -21
  167. package/dist-types/commands/UpdateCustomRoutingListenerCommand.d.ts +6 -21
  168. package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +6 -21
  169. package/dist-types/commands/UpdateListenerCommand.d.ts +6 -21
  170. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +6 -21
  171. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  172. package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +12 -24
  173. package/dist-types/ts3.4/commands/AddEndpointsCommand.d.ts +14 -23
  174. package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +14 -23
  175. package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +12 -24
  176. package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +14 -23
  177. package/dist-types/ts3.4/commands/CreateCrossAccountAttachmentCommand.d.ts +12 -24
  178. package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +12 -24
  179. package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +12 -24
  180. package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +12 -24
  181. package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +14 -23
  182. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +14 -23
  183. package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +14 -23
  184. package/dist-types/ts3.4/commands/DeleteCrossAccountAttachmentCommand.d.ts +12 -24
  185. package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +12 -24
  186. package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +12 -24
  187. package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +12 -24
  188. package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +14 -23
  189. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +14 -23
  190. package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +12 -24
  191. package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +12 -24
  192. package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +12 -24
  193. package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +14 -23
  194. package/dist-types/ts3.4/commands/DescribeCrossAccountAttachmentCommand.d.ts +12 -24
  195. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +12 -24
  196. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +12 -24
  197. package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +12 -24
  198. package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +12 -24
  199. package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +12 -24
  200. package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +14 -23
  201. package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +14 -23
  202. package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +14 -23
  203. package/dist-types/ts3.4/commands/ListCrossAccountAttachmentsCommand.d.ts +12 -24
  204. package/dist-types/ts3.4/commands/ListCrossAccountResourceAccountsCommand.d.ts +12 -24
  205. package/dist-types/ts3.4/commands/ListCrossAccountResourcesCommand.d.ts +12 -24
  206. package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +12 -24
  207. package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +12 -24
  208. package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +12 -24
  209. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +12 -24
  210. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +12 -24
  211. package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +14 -23
  212. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +14 -23
  213. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  214. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +14 -23
  215. package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +12 -24
  216. package/dist-types/ts3.4/commands/RemoveEndpointsCommand.d.ts +14 -23
  217. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  218. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  219. package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +12 -24
  220. package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +14 -23
  221. package/dist-types/ts3.4/commands/UpdateCrossAccountAttachmentCommand.d.ts +12 -24
  222. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +12 -24
  223. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +12 -24
  224. package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +12 -24
  225. package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +14 -23
  226. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +14 -23
  227. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +14 -23
  228. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  229. package/package.json +11 -11
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class UpdateListenerCommand 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, UpdateListenerCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "UpdateListenerCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GlobalAccelerator_V20180706",
38
- operation: "UpdateListener",
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_json1_1_1.se_UpdateListenerCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_UpdateListenerCommand)(output, context);
49
- }
10
+ class UpdateListenerCommand 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("GlobalAccelerator_V20180706", "UpdateListener", {})
22
+ .n("GlobalAcceleratorClient", "UpdateListenerCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_UpdateListenerCommand)
25
+ .de(Aws_json1_1_1.de_UpdateListenerCommand)
26
+ .build() {
50
27
  }
51
28
  exports.UpdateListenerCommand = UpdateListenerCommand;
@@ -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_json1_1_1 = require("../protocols/Aws_json1_1");
10
- class WithdrawByoipCidrCommand 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, WithdrawByoipCidrCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "WithdrawByoipCidrCommand";
30
- const handlerExecutionContext = {
31
- logger,
32
- clientName,
33
- commandName,
34
- inputFilterSensitiveLog: (_) => _,
35
- outputFilterSensitiveLog: (_) => _,
36
- [types_1.SMITHY_CONTEXT_KEY]: {
37
- service: "GlobalAccelerator_V20180706",
38
- operation: "WithdrawByoipCidr",
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_json1_1_1.se_WithdrawByoipCidrCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_WithdrawByoipCidrCommand)(output, context);
49
- }
10
+ class WithdrawByoipCidrCommand 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("GlobalAccelerator_V20180706", "WithdrawByoipCidr", {})
22
+ .n("GlobalAcceleratorClient", "WithdrawByoipCidrCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_WithdrawByoipCidrCommand)
25
+ .de(Aws_json1_1_1.de_WithdrawByoipCidrCommand)
26
+ .build() {
50
27
  }
51
28
  exports.WithdrawByoipCidrCommand = WithdrawByoipCidrCommand;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.resolveClientEndpointParameters = void 0;
3
+ exports.commonParams = exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
5
  return {
6
6
  ...options,
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
10
10
  };
11
11
  };
12
12
  exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
13
+ exports.commonParams = {
14
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
15
+ Endpoint: { type: "builtInParams", name: "endpoint" },
16
+ Region: { type: "builtInParams", name: "region" },
17
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
18
+ };
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddCustomRoutingEndpointsCommand, se_AddCustomRoutingEndpointsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddCustomRoutingEndpointsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddCustomRoutingEndpointsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "AddCustomRoutingEndpointsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "AddCustomRoutingEndpoints",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddCustomRoutingEndpointsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddCustomRoutingEndpointsCommand(output, context);
46
- }
7
+ export class AddCustomRoutingEndpointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "AddCustomRoutingEndpoints", {})
19
+ .n("GlobalAcceleratorClient", "AddCustomRoutingEndpointsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddCustomRoutingEndpointsCommand)
22
+ .de(de_AddCustomRoutingEndpointsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AddEndpointsCommand, se_AddEndpointsCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AddEndpointsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AddEndpointsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "AddEndpointsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "AddEndpoints",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AddEndpointsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AddEndpointsCommand(output, context);
46
- }
7
+ export class AddEndpointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "AddEndpoints", {})
19
+ .n("GlobalAcceleratorClient", "AddEndpointsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AddEndpointsCommand)
22
+ .de(de_AddEndpointsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AdvertiseByoipCidrCommand, se_AdvertiseByoipCidrCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AdvertiseByoipCidrCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AdvertiseByoipCidrCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "AdvertiseByoipCidrCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "AdvertiseByoipCidr",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AdvertiseByoipCidrCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AdvertiseByoipCidrCommand(output, context);
46
- }
7
+ export class AdvertiseByoipCidrCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "AdvertiseByoipCidr", {})
19
+ .n("GlobalAcceleratorClient", "AdvertiseByoipCidrCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AdvertiseByoipCidrCommand)
22
+ .de(de_AdvertiseByoipCidrCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_AllowCustomRoutingTrafficCommand, se_AllowCustomRoutingTrafficCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class AllowCustomRoutingTrafficCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, AllowCustomRoutingTrafficCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "AllowCustomRoutingTrafficCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "AllowCustomRoutingTraffic",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_AllowCustomRoutingTrafficCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_AllowCustomRoutingTrafficCommand(output, context);
46
- }
7
+ export class AllowCustomRoutingTrafficCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "AllowCustomRoutingTraffic", {})
19
+ .n("GlobalAcceleratorClient", "AllowCustomRoutingTrafficCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_AllowCustomRoutingTrafficCommand)
22
+ .de(de_AllowCustomRoutingTrafficCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateAcceleratorCommand, se_CreateAcceleratorCommand } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateAcceleratorCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateAcceleratorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "CreateAcceleratorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "CreateAccelerator",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateAcceleratorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateAcceleratorCommand(output, context);
46
- }
7
+ export class CreateAcceleratorCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "CreateAccelerator", {})
19
+ .n("GlobalAcceleratorClient", "CreateAcceleratorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateAcceleratorCommand)
22
+ .de(de_CreateAcceleratorCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateCrossAccountAttachmentCommand, se_CreateCrossAccountAttachmentCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateCrossAccountAttachmentCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateCrossAccountAttachmentCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "CreateCrossAccountAttachmentCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "CreateCrossAccountAttachment",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateCrossAccountAttachmentCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateCrossAccountAttachmentCommand(output, context);
46
- }
7
+ export class CreateCrossAccountAttachmentCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "CreateCrossAccountAttachment", {})
19
+ .n("GlobalAcceleratorClient", "CreateCrossAccountAttachmentCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateCrossAccountAttachmentCommand)
22
+ .de(de_CreateCrossAccountAttachmentCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_CreateCustomRoutingAcceleratorCommand, se_CreateCustomRoutingAcceleratorCommand, } from "../protocols/Aws_json1_1";
6
6
  export { $Command };
7
- export class CreateCustomRoutingAcceleratorCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, CreateCustomRoutingAcceleratorCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "GlobalAcceleratorClient";
26
- const commandName = "CreateCustomRoutingAcceleratorCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "GlobalAccelerator_V20180706",
35
- operation: "CreateCustomRoutingAccelerator",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_CreateCustomRoutingAcceleratorCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_CreateCustomRoutingAcceleratorCommand(output, context);
46
- }
7
+ export class CreateCustomRoutingAcceleratorCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("GlobalAccelerator_V20180706", "CreateCustomRoutingAccelerator", {})
19
+ .n("GlobalAcceleratorClient", "CreateCustomRoutingAcceleratorCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateCustomRoutingAcceleratorCommand)
22
+ .de(de_CreateCustomRoutingAcceleratorCommand)
23
+ .build() {
47
24
  }