@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 AddCustomRoutingEndpointsCommand 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, AddCustomRoutingEndpointsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "AddCustomRoutingEndpointsCommand";
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: "AddCustomRoutingEndpoints",
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_AddCustomRoutingEndpointsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AddCustomRoutingEndpointsCommand)(output, context);
49
- }
10
+ class AddCustomRoutingEndpointsCommand 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", "AddCustomRoutingEndpoints", {})
22
+ .n("GlobalAcceleratorClient", "AddCustomRoutingEndpointsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AddCustomRoutingEndpointsCommand)
25
+ .de(Aws_json1_1_1.de_AddCustomRoutingEndpointsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddCustomRoutingEndpointsCommand = AddCustomRoutingEndpointsCommand;
@@ -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 AddEndpointsCommand 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, AddEndpointsCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "AddEndpointsCommand";
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: "AddEndpoints",
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_AddEndpointsCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AddEndpointsCommand)(output, context);
49
- }
10
+ class AddEndpointsCommand 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", "AddEndpoints", {})
22
+ .n("GlobalAcceleratorClient", "AddEndpointsCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AddEndpointsCommand)
25
+ .de(Aws_json1_1_1.de_AddEndpointsCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AddEndpointsCommand = AddEndpointsCommand;
@@ -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 AdvertiseByoipCidrCommand 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, AdvertiseByoipCidrCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "AdvertiseByoipCidrCommand";
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: "AdvertiseByoipCidr",
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_AdvertiseByoipCidrCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AdvertiseByoipCidrCommand)(output, context);
49
- }
10
+ class AdvertiseByoipCidrCommand 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", "AdvertiseByoipCidr", {})
22
+ .n("GlobalAcceleratorClient", "AdvertiseByoipCidrCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AdvertiseByoipCidrCommand)
25
+ .de(Aws_json1_1_1.de_AdvertiseByoipCidrCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AdvertiseByoipCidrCommand = AdvertiseByoipCidrCommand;
@@ -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 AllowCustomRoutingTrafficCommand 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, AllowCustomRoutingTrafficCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "AllowCustomRoutingTrafficCommand";
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: "AllowCustomRoutingTraffic",
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_AllowCustomRoutingTrafficCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_AllowCustomRoutingTrafficCommand)(output, context);
49
- }
10
+ class AllowCustomRoutingTrafficCommand 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", "AllowCustomRoutingTraffic", {})
22
+ .n("GlobalAcceleratorClient", "AllowCustomRoutingTrafficCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_AllowCustomRoutingTrafficCommand)
25
+ .de(Aws_json1_1_1.de_AllowCustomRoutingTrafficCommand)
26
+ .build() {
50
27
  }
51
28
  exports.AllowCustomRoutingTrafficCommand = AllowCustomRoutingTrafficCommand;
@@ -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 CreateAcceleratorCommand 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, CreateAcceleratorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "CreateAcceleratorCommand";
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: "CreateAccelerator",
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_CreateAcceleratorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateAcceleratorCommand)(output, context);
49
- }
10
+ class CreateAcceleratorCommand 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", "CreateAccelerator", {})
22
+ .n("GlobalAcceleratorClient", "CreateAcceleratorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateAcceleratorCommand)
25
+ .de(Aws_json1_1_1.de_CreateAcceleratorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateAcceleratorCommand = CreateAcceleratorCommand;
@@ -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 CreateCrossAccountAttachmentCommand 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, CreateCrossAccountAttachmentCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "CreateCrossAccountAttachmentCommand";
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: "CreateCrossAccountAttachment",
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_CreateCrossAccountAttachmentCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateCrossAccountAttachmentCommand)(output, context);
49
- }
10
+ class CreateCrossAccountAttachmentCommand 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", "CreateCrossAccountAttachment", {})
22
+ .n("GlobalAcceleratorClient", "CreateCrossAccountAttachmentCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateCrossAccountAttachmentCommand)
25
+ .de(Aws_json1_1_1.de_CreateCrossAccountAttachmentCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateCrossAccountAttachmentCommand = CreateCrossAccountAttachmentCommand;
@@ -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 CreateCustomRoutingAcceleratorCommand 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, CreateCustomRoutingAcceleratorCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "CreateCustomRoutingAcceleratorCommand";
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: "CreateCustomRoutingAccelerator",
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_CreateCustomRoutingAcceleratorCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateCustomRoutingAcceleratorCommand)(output, context);
49
- }
10
+ class CreateCustomRoutingAcceleratorCommand 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", "CreateCustomRoutingAccelerator", {})
22
+ .n("GlobalAcceleratorClient", "CreateCustomRoutingAcceleratorCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateCustomRoutingAcceleratorCommand)
25
+ .de(Aws_json1_1_1.de_CreateCustomRoutingAcceleratorCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateCustomRoutingAcceleratorCommand = CreateCustomRoutingAcceleratorCommand;
@@ -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 CreateCustomRoutingEndpointGroupCommand 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, CreateCustomRoutingEndpointGroupCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "CreateCustomRoutingEndpointGroupCommand";
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: "CreateCustomRoutingEndpointGroup",
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_CreateCustomRoutingEndpointGroupCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateCustomRoutingEndpointGroupCommand)(output, context);
49
- }
10
+ class CreateCustomRoutingEndpointGroupCommand 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", "CreateCustomRoutingEndpointGroup", {})
22
+ .n("GlobalAcceleratorClient", "CreateCustomRoutingEndpointGroupCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateCustomRoutingEndpointGroupCommand)
25
+ .de(Aws_json1_1_1.de_CreateCustomRoutingEndpointGroupCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateCustomRoutingEndpointGroupCommand = CreateCustomRoutingEndpointGroupCommand;
@@ -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 CreateCustomRoutingListenerCommand 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, CreateCustomRoutingListenerCommand.getEndpointParameterInstructions()));
26
- const stack = clientStack.concat(this.middlewareStack);
27
- const { logger } = configuration;
28
- const clientName = "GlobalAcceleratorClient";
29
- const commandName = "CreateCustomRoutingListenerCommand";
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: "CreateCustomRoutingListener",
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_CreateCustomRoutingListenerCommand)(input, context);
46
- }
47
- deserialize(output, context) {
48
- return (0, Aws_json1_1_1.de_CreateCustomRoutingListenerCommand)(output, context);
49
- }
10
+ class CreateCustomRoutingListenerCommand 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", "CreateCustomRoutingListener", {})
22
+ .n("GlobalAcceleratorClient", "CreateCustomRoutingListenerCommand")
23
+ .f(void 0, void 0)
24
+ .ser(Aws_json1_1_1.se_CreateCustomRoutingListenerCommand)
25
+ .de(Aws_json1_1_1.de_CreateCustomRoutingListenerCommand)
26
+ .build() {
50
27
  }
51
28
  exports.CreateCustomRoutingListenerCommand = CreateCustomRoutingListenerCommand;