@aws-sdk/client-global-accelerator 3.192.0 → 3.193.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 (244) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/GlobalAccelerator.js +30 -0
  3. package/dist-cjs/GlobalAcceleratorClient.js +11 -8
  4. package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +10 -0
  5. package/dist-cjs/commands/AddEndpointsCommand.js +46 -0
  6. package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +10 -0
  7. package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +10 -0
  8. package/dist-cjs/commands/CreateAcceleratorCommand.js +10 -0
  9. package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +10 -0
  10. package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +10 -0
  11. package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +10 -0
  12. package/dist-cjs/commands/CreateEndpointGroupCommand.js +10 -0
  13. package/dist-cjs/commands/CreateListenerCommand.js +10 -0
  14. package/dist-cjs/commands/DeleteAcceleratorCommand.js +10 -0
  15. package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +10 -0
  16. package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +10 -0
  17. package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +10 -0
  18. package/dist-cjs/commands/DeleteEndpointGroupCommand.js +10 -0
  19. package/dist-cjs/commands/DeleteListenerCommand.js +10 -0
  20. package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +10 -0
  21. package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +10 -0
  22. package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +10 -0
  23. package/dist-cjs/commands/DescribeAcceleratorCommand.js +10 -0
  24. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +10 -0
  25. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +10 -0
  26. package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +10 -0
  27. package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +10 -0
  28. package/dist-cjs/commands/DescribeEndpointGroupCommand.js +10 -0
  29. package/dist-cjs/commands/DescribeListenerCommand.js +10 -0
  30. package/dist-cjs/commands/ListAcceleratorsCommand.js +10 -0
  31. package/dist-cjs/commands/ListByoipCidrsCommand.js +10 -0
  32. package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +10 -0
  33. package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +10 -0
  34. package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +10 -0
  35. package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +10 -0
  36. package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +10 -0
  37. package/dist-cjs/commands/ListEndpointGroupsCommand.js +10 -0
  38. package/dist-cjs/commands/ListListenersCommand.js +10 -0
  39. package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
  40. package/dist-cjs/commands/ProvisionByoipCidrCommand.js +10 -0
  41. package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +10 -0
  42. package/dist-cjs/commands/RemoveEndpointsCommand.js +46 -0
  43. package/dist-cjs/commands/TagResourceCommand.js +10 -0
  44. package/dist-cjs/commands/UntagResourceCommand.js +10 -0
  45. package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +10 -0
  46. package/dist-cjs/commands/UpdateAcceleratorCommand.js +10 -0
  47. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +10 -0
  48. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +10 -0
  49. package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +10 -0
  50. package/dist-cjs/commands/UpdateEndpointGroupCommand.js +10 -0
  51. package/dist-cjs/commands/UpdateListenerCommand.js +10 -0
  52. package/dist-cjs/commands/WithdrawByoipCidrCommand.js +10 -0
  53. package/dist-cjs/commands/index.js +2 -0
  54. package/dist-cjs/endpoint/EndpointParameters.js +13 -0
  55. package/dist-cjs/endpoint/endpointResolver.js +12 -0
  56. package/dist-cjs/endpoint/ruleset.js +312 -0
  57. package/dist-cjs/models/models_0.js +62 -11
  58. package/dist-cjs/protocols/Aws_json1_1.js +167 -2
  59. package/dist-cjs/runtimeConfig.shared.js +3 -3
  60. package/dist-es/GlobalAccelerator.js +30 -0
  61. package/dist-es/GlobalAcceleratorClient.js +12 -9
  62. package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +10 -0
  63. package/dist-es/commands/AddEndpointsCommand.js +42 -0
  64. package/dist-es/commands/AdvertiseByoipCidrCommand.js +10 -0
  65. package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +10 -0
  66. package/dist-es/commands/CreateAcceleratorCommand.js +10 -0
  67. package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +10 -0
  68. package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +10 -0
  69. package/dist-es/commands/CreateCustomRoutingListenerCommand.js +10 -0
  70. package/dist-es/commands/CreateEndpointGroupCommand.js +10 -0
  71. package/dist-es/commands/CreateListenerCommand.js +10 -0
  72. package/dist-es/commands/DeleteAcceleratorCommand.js +10 -0
  73. package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +10 -0
  74. package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +10 -0
  75. package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +10 -0
  76. package/dist-es/commands/DeleteEndpointGroupCommand.js +10 -0
  77. package/dist-es/commands/DeleteListenerCommand.js +10 -0
  78. package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +10 -0
  79. package/dist-es/commands/DeprovisionByoipCidrCommand.js +10 -0
  80. package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +10 -0
  81. package/dist-es/commands/DescribeAcceleratorCommand.js +10 -0
  82. package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +10 -0
  83. package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +10 -0
  84. package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +10 -0
  85. package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +10 -0
  86. package/dist-es/commands/DescribeEndpointGroupCommand.js +10 -0
  87. package/dist-es/commands/DescribeListenerCommand.js +10 -0
  88. package/dist-es/commands/ListAcceleratorsCommand.js +10 -0
  89. package/dist-es/commands/ListByoipCidrsCommand.js +10 -0
  90. package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +10 -0
  91. package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +10 -0
  92. package/dist-es/commands/ListCustomRoutingListenersCommand.js +10 -0
  93. package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +10 -0
  94. package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +10 -0
  95. package/dist-es/commands/ListEndpointGroupsCommand.js +10 -0
  96. package/dist-es/commands/ListListenersCommand.js +10 -0
  97. package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
  98. package/dist-es/commands/ProvisionByoipCidrCommand.js +10 -0
  99. package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +10 -0
  100. package/dist-es/commands/RemoveEndpointsCommand.js +42 -0
  101. package/dist-es/commands/TagResourceCommand.js +10 -0
  102. package/dist-es/commands/UntagResourceCommand.js +10 -0
  103. package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +10 -0
  104. package/dist-es/commands/UpdateAcceleratorCommand.js +10 -0
  105. package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +10 -0
  106. package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +10 -0
  107. package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +10 -0
  108. package/dist-es/commands/UpdateEndpointGroupCommand.js +10 -0
  109. package/dist-es/commands/UpdateListenerCommand.js +10 -0
  110. package/dist-es/commands/WithdrawByoipCidrCommand.js +10 -0
  111. package/dist-es/commands/index.js +2 -0
  112. package/dist-es/endpoint/EndpointParameters.js +8 -0
  113. package/dist-es/endpoint/endpointResolver.js +8 -0
  114. package/dist-es/endpoint/ruleset.js +309 -0
  115. package/dist-es/models/models_0.js +52 -6
  116. package/dist-es/protocols/Aws_json1_1.js +162 -1
  117. package/dist-es/runtimeConfig.shared.js +2 -2
  118. package/dist-types/GlobalAccelerator.d.ts +45 -0
  119. package/dist-types/GlobalAcceleratorClient.d.ts +10 -11
  120. package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -0
  121. package/dist-types/commands/AddEndpointsCommand.d.ts +52 -0
  122. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
  123. package/dist-types/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -0
  124. package/dist-types/commands/CreateAcceleratorCommand.d.ts +2 -0
  125. package/dist-types/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -0
  126. package/dist-types/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -0
  127. package/dist-types/commands/CreateCustomRoutingListenerCommand.d.ts +2 -0
  128. package/dist-types/commands/CreateEndpointGroupCommand.d.ts +2 -0
  129. package/dist-types/commands/CreateListenerCommand.d.ts +2 -0
  130. package/dist-types/commands/DeleteAcceleratorCommand.d.ts +2 -0
  131. package/dist-types/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -0
  132. package/dist-types/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -0
  133. package/dist-types/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -0
  134. package/dist-types/commands/DeleteEndpointGroupCommand.d.ts +2 -0
  135. package/dist-types/commands/DeleteListenerCommand.d.ts +2 -0
  136. package/dist-types/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -0
  137. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
  138. package/dist-types/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -0
  139. package/dist-types/commands/DescribeAcceleratorCommand.d.ts +2 -0
  140. package/dist-types/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
  141. package/dist-types/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -0
  142. package/dist-types/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -0
  143. package/dist-types/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -0
  144. package/dist-types/commands/DescribeEndpointGroupCommand.d.ts +2 -0
  145. package/dist-types/commands/DescribeListenerCommand.d.ts +2 -0
  146. package/dist-types/commands/ListAcceleratorsCommand.d.ts +2 -0
  147. package/dist-types/commands/ListByoipCidrsCommand.d.ts +2 -0
  148. package/dist-types/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -0
  149. package/dist-types/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -0
  150. package/dist-types/commands/ListCustomRoutingListenersCommand.d.ts +2 -0
  151. package/dist-types/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -0
  152. package/dist-types/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -0
  153. package/dist-types/commands/ListEndpointGroupsCommand.d.ts +2 -0
  154. package/dist-types/commands/ListListenersCommand.d.ts +2 -0
  155. package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
  156. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +2 -0
  157. package/dist-types/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -0
  158. package/dist-types/commands/RemoveEndpointsCommand.d.ts +53 -0
  159. package/dist-types/commands/TagResourceCommand.d.ts +2 -0
  160. package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
  161. package/dist-types/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -0
  162. package/dist-types/commands/UpdateAcceleratorCommand.d.ts +2 -0
  163. package/dist-types/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
  164. package/dist-types/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -0
  165. package/dist-types/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -0
  166. package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +2 -0
  167. package/dist-types/commands/UpdateListenerCommand.d.ts +2 -0
  168. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +2 -0
  169. package/dist-types/commands/index.d.ts +2 -0
  170. package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
  171. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  172. package/dist-types/endpoint/ruleset.d.ts +2 -0
  173. package/dist-types/models/models_0.d.ts +187 -94
  174. package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
  175. package/dist-types/runtimeConfig.browser.d.ts +4 -2
  176. package/dist-types/runtimeConfig.d.ts +4 -2
  177. package/dist-types/runtimeConfig.native.d.ts +4 -2
  178. package/dist-types/runtimeConfig.shared.d.ts +3 -1
  179. package/dist-types/ts3.4/GlobalAccelerator.d.ts +34 -0
  180. package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +27 -8
  181. package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -0
  182. package/dist-types/ts3.4/commands/AddEndpointsCommand.d.ts +34 -0
  183. package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +2 -0
  184. package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -0
  185. package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +2 -0
  186. package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -0
  187. package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -0
  188. package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +2 -0
  189. package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +2 -0
  190. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -0
  191. package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +2 -0
  192. package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -0
  193. package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -0
  194. package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -0
  195. package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +2 -0
  196. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -0
  197. package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -0
  198. package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +2 -0
  199. package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -0
  200. package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +2 -0
  201. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
  202. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -0
  203. package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -0
  204. package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -0
  205. package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +2 -0
  206. package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +2 -0
  207. package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +2 -0
  208. package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +2 -0
  209. package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -0
  210. package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -0
  211. package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +2 -0
  212. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -0
  213. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -0
  214. package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +2 -0
  215. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +2 -0
  216. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
  217. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +2 -0
  218. package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -0
  219. package/dist-types/ts3.4/commands/RemoveEndpointsCommand.d.ts +32 -0
  220. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
  221. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
  222. package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -0
  223. package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +2 -0
  224. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -0
  225. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -0
  226. package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -0
  227. package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +2 -0
  228. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +2 -0
  229. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -0
  230. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  231. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
  232. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  233. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  234. package/dist-types/ts3.4/models/models_0.d.ts +71 -22
  235. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  236. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
  237. package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
  238. package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
  239. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
  240. package/package.json +28 -26
  241. package/dist-cjs/endpoints.js +0 -132
  242. package/dist-es/endpoints.js +0 -128
  243. package/dist-types/endpoints.d.ts +0 -2
  244. package/dist-types/ts3.4/endpoints.d.ts +0 -2
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { AllowCustomRoutingTrafficRequestFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AllowCustomRoutingTrafficCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AllowCustomRoutingTrafficCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateAcceleratorRequestFilterSensitiveLog, CreateAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateAcceleratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateAcceleratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateCustomRoutingAcceleratorRequestFilterSensitiveLog, CreateCustomRoutingAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateCustomRoutingAcceleratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateCustomRoutingAcceleratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateCustomRoutingEndpointGroupRequestFilterSensitiveLog, CreateCustomRoutingEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateCustomRoutingEndpointGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateCustomRoutingEndpointGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateCustomRoutingListenerRequestFilterSensitiveLog, CreateCustomRoutingListenerResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateCustomRoutingListenerCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateCustomRoutingListenerCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateEndpointGroupRequestFilterSensitiveLog, CreateEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateEndpointGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateEndpointGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateListenerRequestFilterSensitiveLog, CreateListenerResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class CreateListenerCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, CreateListenerCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteAcceleratorRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteAcceleratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAcceleratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCustomRoutingAcceleratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCustomRoutingAcceleratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCustomRoutingEndpointGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCustomRoutingEndpointGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteCustomRoutingListenerRequestFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteCustomRoutingListenerCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCustomRoutingListenerCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteEndpointGroupRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteEndpointGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteEndpointGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteListenerRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeleteListenerCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeleteListenerCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DenyCustomRoutingTrafficRequestFilterSensitiveLog } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DenyCustomRoutingTrafficCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DenyCustomRoutingTrafficCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeprovisionByoipCidrRequestFilterSensitiveLog, DeprovisionByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DeprovisionByoipCidrCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DeprovisionByoipCidrCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAcceleratorAttributesRequestFilterSensitiveLog, DescribeAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeAcceleratorAttributesCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAcceleratorAttributesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeAcceleratorRequestFilterSensitiveLog, DescribeAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeAcceleratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAcceleratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog, DescribeCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCustomRoutingAcceleratorAttributesCommand extends $Command
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCustomRoutingAcceleratorAttributesCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeCustomRoutingAcceleratorRequestFilterSensitiveLog, DescribeCustomRoutingAcceleratorResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCustomRoutingAcceleratorCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCustomRoutingAcceleratorCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeCustomRoutingEndpointGroupRequestFilterSensitiveLog, DescribeCustomRoutingEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCustomRoutingEndpointGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCustomRoutingEndpointGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeCustomRoutingListenerRequestFilterSensitiveLog, DescribeCustomRoutingListenerResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeCustomRoutingListenerCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeCustomRoutingListenerCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEndpointGroupRequestFilterSensitiveLog, DescribeEndpointGroupResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeEndpointGroupCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEndpointGroupCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeListenerRequestFilterSensitiveLog, DescribeListenerResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class DescribeListenerCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, DescribeListenerCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListAcceleratorsRequestFilterSensitiveLog, ListAcceleratorsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListAcceleratorsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListAcceleratorsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListByoipCidrsRequestFilterSensitiveLog, ListByoipCidrsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListByoipCidrsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListByoipCidrsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListCustomRoutingAcceleratorsRequestFilterSensitiveLog, ListCustomRoutingAcceleratorsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListCustomRoutingAcceleratorsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListCustomRoutingAcceleratorsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -1,3 +1,4 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListCustomRoutingEndpointGroupsRequestFilterSensitiveLog, ListCustomRoutingEndpointGroupsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class ListCustomRoutingEndpointGroupsCommand extends $Command {
7
8
  super();
8
9
  this.input = input;
9
10
  }
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
+ }
10
19
  resolveMiddleware(clientStack, configuration, options) {
11
20
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, ListCustomRoutingEndpointGroupsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";