@aws-sdk/client-global-accelerator 3.190.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 +19 -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,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateCustomRoutingEndpointGroupResponseFilterSensitiveLog = exports.CustomRoutingEndpointGroupFilterSensitiveLog = exports.CustomRoutingDestinationDescriptionFilterSensitiveLog = exports.CreateCustomRoutingEndpointGroupRequestFilterSensitiveLog = exports.CustomRoutingDestinationConfigurationFilterSensitiveLog = exports.CreateCustomRoutingAcceleratorResponseFilterSensitiveLog = exports.CustomRoutingAcceleratorFilterSensitiveLog = exports.CreateCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.CreateAcceleratorResponseFilterSensitiveLog = exports.CreateAcceleratorRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.CidrAuthorizationContextFilterSensitiveLog = exports.AllowCustomRoutingTrafficRequestFilterSensitiveLog = exports.AdvertiseByoipCidrResponseFilterSensitiveLog = exports.ByoipCidrFilterSensitiveLog = exports.ByoipCidrEventFilterSensitiveLog = exports.AdvertiseByoipCidrRequestFilterSensitiveLog = exports.AddCustomRoutingEndpointsResponseFilterSensitiveLog = exports.CustomRoutingEndpointDescriptionFilterSensitiveLog = exports.AddCustomRoutingEndpointsRequestFilterSensitiveLog = exports.CustomRoutingEndpointConfigurationFilterSensitiveLog = exports.AcceleratorAttributesFilterSensitiveLog = exports.AcceleratorFilterSensitiveLog = exports.IpSetFilterSensitiveLog = exports.AcceleratorEventFilterSensitiveLog = exports.InvalidNextTokenException = exports.EndpointNotFoundException = exports.CustomRoutingDestinationTrafficState = exports.HealthCheckProtocol = exports.ListenerNotFoundException = exports.InvalidPortRangeException = exports.EndpointGroupAlreadyExistsException = exports.Protocol = exports.CustomRoutingProtocol = exports.AssociatedListenerFoundException = exports.AssociatedEndpointGroupFoundException = exports.IncorrectCidrStateException = exports.ByoipCidrNotFoundException = exports.ByoipCidrState = exports.LimitExceededException = exports.InvalidArgumentException = exports.InternalServiceErrorException = exports.EndpointGroupNotFoundException = exports.EndpointAlreadyExistsException = exports.ConflictException = exports.AccessDeniedException = exports.AcceleratorNotFoundException = exports.AcceleratorNotDisabledException = exports.IpAddressFamily = exports.IpAddressType = void 0;
4
- exports.ListCustomRoutingListenersRequestFilterSensitiveLog = exports.ListCustomRoutingEndpointGroupsResponseFilterSensitiveLog = exports.ListCustomRoutingEndpointGroupsRequestFilterSensitiveLog = exports.ListCustomRoutingAcceleratorsResponseFilterSensitiveLog = exports.ListCustomRoutingAcceleratorsRequestFilterSensitiveLog = exports.ListByoipCidrsResponseFilterSensitiveLog = exports.ListByoipCidrsRequestFilterSensitiveLog = exports.ListAcceleratorsResponseFilterSensitiveLog = exports.ListAcceleratorsRequestFilterSensitiveLog = exports.DestinationPortMappingFilterSensitiveLog = exports.SocketAddressFilterSensitiveLog = exports.DescribeListenerResponseFilterSensitiveLog = exports.DescribeListenerRequestFilterSensitiveLog = exports.DescribeEndpointGroupResponseFilterSensitiveLog = exports.DescribeEndpointGroupRequestFilterSensitiveLog = exports.DescribeCustomRoutingListenerResponseFilterSensitiveLog = exports.DescribeCustomRoutingListenerRequestFilterSensitiveLog = exports.DescribeCustomRoutingEndpointGroupResponseFilterSensitiveLog = exports.DescribeCustomRoutingEndpointGroupRequestFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorResponseFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.DescribeAcceleratorAttributesResponseFilterSensitiveLog = exports.DescribeAcceleratorAttributesRequestFilterSensitiveLog = exports.DescribeAcceleratorResponseFilterSensitiveLog = exports.DescribeAcceleratorRequestFilterSensitiveLog = exports.DeprovisionByoipCidrResponseFilterSensitiveLog = exports.DeprovisionByoipCidrRequestFilterSensitiveLog = exports.DenyCustomRoutingTrafficRequestFilterSensitiveLog = exports.DeleteListenerRequestFilterSensitiveLog = exports.DeleteEndpointGroupRequestFilterSensitiveLog = exports.DeleteCustomRoutingListenerRequestFilterSensitiveLog = exports.DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog = exports.DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.DeleteAcceleratorRequestFilterSensitiveLog = exports.CustomRoutingAcceleratorAttributesFilterSensitiveLog = exports.CreateListenerResponseFilterSensitiveLog = exports.ListenerFilterSensitiveLog = exports.CreateListenerRequestFilterSensitiveLog = exports.CreateEndpointGroupResponseFilterSensitiveLog = exports.EndpointGroupFilterSensitiveLog = exports.EndpointDescriptionFilterSensitiveLog = exports.CreateEndpointGroupRequestFilterSensitiveLog = exports.PortOverrideFilterSensitiveLog = exports.EndpointConfigurationFilterSensitiveLog = exports.CreateCustomRoutingListenerResponseFilterSensitiveLog = exports.CustomRoutingListenerFilterSensitiveLog = exports.CreateCustomRoutingListenerRequestFilterSensitiveLog = exports.PortRangeFilterSensitiveLog = void 0;
5
- exports.WithdrawByoipCidrResponseFilterSensitiveLog = exports.WithdrawByoipCidrRequestFilterSensitiveLog = exports.UpdateListenerResponseFilterSensitiveLog = exports.UpdateListenerRequestFilterSensitiveLog = exports.UpdateEndpointGroupResponseFilterSensitiveLog = exports.UpdateEndpointGroupRequestFilterSensitiveLog = exports.UpdateCustomRoutingListenerResponseFilterSensitiveLog = exports.UpdateCustomRoutingListenerRequestFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorResponseFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.UpdateAcceleratorAttributesResponseFilterSensitiveLog = exports.UpdateAcceleratorAttributesRequestFilterSensitiveLog = exports.UpdateAcceleratorResponseFilterSensitiveLog = exports.UpdateAcceleratorRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemoveCustomRoutingEndpointsRequestFilterSensitiveLog = exports.ProvisionByoipCidrResponseFilterSensitiveLog = exports.ProvisionByoipCidrRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListListenersResponseFilterSensitiveLog = exports.ListListenersRequestFilterSensitiveLog = exports.ListEndpointGroupsResponseFilterSensitiveLog = exports.ListEndpointGroupsRequestFilterSensitiveLog = exports.ListCustomRoutingPortMappingsByDestinationResponseFilterSensitiveLog = exports.ListCustomRoutingPortMappingsByDestinationRequestFilterSensitiveLog = exports.ListCustomRoutingPortMappingsResponseFilterSensitiveLog = exports.PortMappingFilterSensitiveLog = exports.ListCustomRoutingPortMappingsRequestFilterSensitiveLog = exports.ListCustomRoutingListenersResponseFilterSensitiveLog = void 0;
3
+ exports.CreateAcceleratorRequestFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.CidrAuthorizationContextFilterSensitiveLog = exports.AllowCustomRoutingTrafficRequestFilterSensitiveLog = exports.AdvertiseByoipCidrResponseFilterSensitiveLog = exports.ByoipCidrFilterSensitiveLog = exports.ByoipCidrEventFilterSensitiveLog = exports.AdvertiseByoipCidrRequestFilterSensitiveLog = exports.AddEndpointsResponseFilterSensitiveLog = exports.EndpointDescriptionFilterSensitiveLog = exports.AddEndpointsRequestFilterSensitiveLog = exports.EndpointConfigurationFilterSensitiveLog = exports.AddCustomRoutingEndpointsResponseFilterSensitiveLog = exports.CustomRoutingEndpointDescriptionFilterSensitiveLog = exports.AddCustomRoutingEndpointsRequestFilterSensitiveLog = exports.CustomRoutingEndpointConfigurationFilterSensitiveLog = exports.AcceleratorAttributesFilterSensitiveLog = exports.AcceleratorFilterSensitiveLog = exports.IpSetFilterSensitiveLog = exports.AcceleratorEventFilterSensitiveLog = exports.InvalidNextTokenException = exports.EndpointNotFoundException = exports.CustomRoutingDestinationTrafficState = exports.HealthCheckProtocol = exports.ListenerNotFoundException = exports.InvalidPortRangeException = exports.EndpointGroupAlreadyExistsException = exports.Protocol = exports.CustomRoutingProtocol = exports.CustomRoutingAcceleratorStatus = exports.ClientAffinity = exports.AssociatedListenerFoundException = exports.AssociatedEndpointGroupFoundException = exports.IncorrectCidrStateException = exports.ByoipCidrNotFoundException = exports.ByoipCidrState = exports.TransactionInProgressException = exports.HealthState = exports.LimitExceededException = exports.InvalidArgumentException = exports.InternalServiceErrorException = exports.EndpointGroupNotFoundException = exports.EndpointAlreadyExistsException = exports.ConflictException = exports.AccessDeniedException = exports.AcceleratorNotFoundException = exports.AcceleratorNotDisabledException = exports.AcceleratorStatus = exports.IpAddressFamily = exports.IpAddressType = void 0;
4
+ exports.ListAcceleratorsRequestFilterSensitiveLog = exports.EndpointIdentifierFilterSensitiveLog = exports.DestinationPortMappingFilterSensitiveLog = exports.SocketAddressFilterSensitiveLog = exports.DescribeListenerResponseFilterSensitiveLog = exports.DescribeListenerRequestFilterSensitiveLog = exports.DescribeEndpointGroupResponseFilterSensitiveLog = exports.DescribeEndpointGroupRequestFilterSensitiveLog = exports.DescribeCustomRoutingListenerResponseFilterSensitiveLog = exports.DescribeCustomRoutingListenerRequestFilterSensitiveLog = exports.DescribeCustomRoutingEndpointGroupResponseFilterSensitiveLog = exports.DescribeCustomRoutingEndpointGroupRequestFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorResponseFilterSensitiveLog = exports.DescribeCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.DescribeAcceleratorAttributesResponseFilterSensitiveLog = exports.DescribeAcceleratorAttributesRequestFilterSensitiveLog = exports.DescribeAcceleratorResponseFilterSensitiveLog = exports.DescribeAcceleratorRequestFilterSensitiveLog = exports.DeprovisionByoipCidrResponseFilterSensitiveLog = exports.DeprovisionByoipCidrRequestFilterSensitiveLog = exports.DenyCustomRoutingTrafficRequestFilterSensitiveLog = exports.DeleteListenerRequestFilterSensitiveLog = exports.DeleteEndpointGroupRequestFilterSensitiveLog = exports.DeleteCustomRoutingListenerRequestFilterSensitiveLog = exports.DeleteCustomRoutingEndpointGroupRequestFilterSensitiveLog = exports.DeleteCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.DeleteAcceleratorRequestFilterSensitiveLog = exports.CustomRoutingAcceleratorAttributesFilterSensitiveLog = exports.CreateListenerResponseFilterSensitiveLog = exports.ListenerFilterSensitiveLog = exports.CreateListenerRequestFilterSensitiveLog = exports.CreateEndpointGroupResponseFilterSensitiveLog = exports.EndpointGroupFilterSensitiveLog = exports.CreateEndpointGroupRequestFilterSensitiveLog = exports.PortOverrideFilterSensitiveLog = exports.CreateCustomRoutingListenerResponseFilterSensitiveLog = exports.CustomRoutingListenerFilterSensitiveLog = exports.CreateCustomRoutingListenerRequestFilterSensitiveLog = exports.PortRangeFilterSensitiveLog = exports.CreateCustomRoutingEndpointGroupResponseFilterSensitiveLog = exports.CustomRoutingEndpointGroupFilterSensitiveLog = exports.CustomRoutingDestinationDescriptionFilterSensitiveLog = exports.CreateCustomRoutingEndpointGroupRequestFilterSensitiveLog = exports.CustomRoutingDestinationConfigurationFilterSensitiveLog = exports.CreateCustomRoutingAcceleratorResponseFilterSensitiveLog = exports.CustomRoutingAcceleratorFilterSensitiveLog = exports.CreateCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.CreateAcceleratorResponseFilterSensitiveLog = void 0;
5
+ exports.WithdrawByoipCidrResponseFilterSensitiveLog = exports.WithdrawByoipCidrRequestFilterSensitiveLog = exports.UpdateListenerResponseFilterSensitiveLog = exports.UpdateListenerRequestFilterSensitiveLog = exports.UpdateEndpointGroupResponseFilterSensitiveLog = exports.UpdateEndpointGroupRequestFilterSensitiveLog = exports.UpdateCustomRoutingListenerResponseFilterSensitiveLog = exports.UpdateCustomRoutingListenerRequestFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorAttributesResponseFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorAttributesRequestFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorResponseFilterSensitiveLog = exports.UpdateCustomRoutingAcceleratorRequestFilterSensitiveLog = exports.UpdateAcceleratorAttributesResponseFilterSensitiveLog = exports.UpdateAcceleratorAttributesRequestFilterSensitiveLog = exports.UpdateAcceleratorResponseFilterSensitiveLog = exports.UpdateAcceleratorRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.RemoveEndpointsRequestFilterSensitiveLog = exports.RemoveCustomRoutingEndpointsRequestFilterSensitiveLog = exports.ProvisionByoipCidrResponseFilterSensitiveLog = exports.ProvisionByoipCidrRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListListenersResponseFilterSensitiveLog = exports.ListListenersRequestFilterSensitiveLog = exports.ListEndpointGroupsResponseFilterSensitiveLog = exports.ListEndpointGroupsRequestFilterSensitiveLog = exports.ListCustomRoutingPortMappingsByDestinationResponseFilterSensitiveLog = exports.ListCustomRoutingPortMappingsByDestinationRequestFilterSensitiveLog = exports.ListCustomRoutingPortMappingsResponseFilterSensitiveLog = exports.PortMappingFilterSensitiveLog = exports.ListCustomRoutingPortMappingsRequestFilterSensitiveLog = exports.ListCustomRoutingListenersResponseFilterSensitiveLog = exports.ListCustomRoutingListenersRequestFilterSensitiveLog = exports.ListCustomRoutingEndpointGroupsResponseFilterSensitiveLog = exports.ListCustomRoutingEndpointGroupsRequestFilterSensitiveLog = exports.ListCustomRoutingAcceleratorsResponseFilterSensitiveLog = exports.ListCustomRoutingAcceleratorsRequestFilterSensitiveLog = exports.ListByoipCidrsResponseFilterSensitiveLog = exports.ListByoipCidrsRequestFilterSensitiveLog = exports.ListAcceleratorsResponseFilterSensitiveLog = void 0;
6
6
  const GlobalAcceleratorServiceException_1 = require("./GlobalAcceleratorServiceException");
7
7
  var IpAddressType;
8
8
  (function (IpAddressType) {
@@ -14,6 +14,11 @@ var IpAddressFamily;
14
14
  IpAddressFamily["IPv4"] = "IPv4";
15
15
  IpAddressFamily["IPv6"] = "IPv6";
16
16
  })(IpAddressFamily = exports.IpAddressFamily || (exports.IpAddressFamily = {}));
17
+ var AcceleratorStatus;
18
+ (function (AcceleratorStatus) {
19
+ AcceleratorStatus["DEPLOYED"] = "DEPLOYED";
20
+ AcceleratorStatus["IN_PROGRESS"] = "IN_PROGRESS";
21
+ })(AcceleratorStatus = exports.AcceleratorStatus || (exports.AcceleratorStatus = {}));
17
22
  class AcceleratorNotDisabledException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
18
23
  constructor(opts) {
19
24
  super({
@@ -140,6 +145,26 @@ class LimitExceededException extends GlobalAcceleratorServiceException_1.GlobalA
140
145
  }
141
146
  }
142
147
  exports.LimitExceededException = LimitExceededException;
148
+ var HealthState;
149
+ (function (HealthState) {
150
+ HealthState["HEALTHY"] = "HEALTHY";
151
+ HealthState["INITIAL"] = "INITIAL";
152
+ HealthState["UNHEALTHY"] = "UNHEALTHY";
153
+ })(HealthState = exports.HealthState || (exports.HealthState = {}));
154
+ class TransactionInProgressException extends GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException {
155
+ constructor(opts) {
156
+ super({
157
+ name: "TransactionInProgressException",
158
+ $fault: "client",
159
+ ...opts,
160
+ });
161
+ this.name = "TransactionInProgressException";
162
+ this.$fault = "client";
163
+ Object.setPrototypeOf(this, TransactionInProgressException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ exports.TransactionInProgressException = TransactionInProgressException;
143
168
  var ByoipCidrState;
144
169
  (function (ByoipCidrState) {
145
170
  ByoipCidrState["ADVERTISING"] = "ADVERTISING";
@@ -210,6 +235,16 @@ class AssociatedListenerFoundException extends GlobalAcceleratorServiceException
210
235
  }
211
236
  }
212
237
  exports.AssociatedListenerFoundException = AssociatedListenerFoundException;
238
+ var ClientAffinity;
239
+ (function (ClientAffinity) {
240
+ ClientAffinity["NONE"] = "NONE";
241
+ ClientAffinity["SOURCE_IP"] = "SOURCE_IP";
242
+ })(ClientAffinity = exports.ClientAffinity || (exports.ClientAffinity = {}));
243
+ var CustomRoutingAcceleratorStatus;
244
+ (function (CustomRoutingAcceleratorStatus) {
245
+ CustomRoutingAcceleratorStatus["DEPLOYED"] = "DEPLOYED";
246
+ CustomRoutingAcceleratorStatus["IN_PROGRESS"] = "IN_PROGRESS";
247
+ })(CustomRoutingAcceleratorStatus = exports.CustomRoutingAcceleratorStatus || (exports.CustomRoutingAcceleratorStatus = {}));
213
248
  var CustomRoutingProtocol;
214
249
  (function (CustomRoutingProtocol) {
215
250
  CustomRoutingProtocol["TCP"] = "TCP";
@@ -333,6 +368,22 @@ const AddCustomRoutingEndpointsResponseFilterSensitiveLog = (obj) => ({
333
368
  ...obj,
334
369
  });
335
370
  exports.AddCustomRoutingEndpointsResponseFilterSensitiveLog = AddCustomRoutingEndpointsResponseFilterSensitiveLog;
371
+ const EndpointConfigurationFilterSensitiveLog = (obj) => ({
372
+ ...obj,
373
+ });
374
+ exports.EndpointConfigurationFilterSensitiveLog = EndpointConfigurationFilterSensitiveLog;
375
+ const AddEndpointsRequestFilterSensitiveLog = (obj) => ({
376
+ ...obj,
377
+ });
378
+ exports.AddEndpointsRequestFilterSensitiveLog = AddEndpointsRequestFilterSensitiveLog;
379
+ const EndpointDescriptionFilterSensitiveLog = (obj) => ({
380
+ ...obj,
381
+ });
382
+ exports.EndpointDescriptionFilterSensitiveLog = EndpointDescriptionFilterSensitiveLog;
383
+ const AddEndpointsResponseFilterSensitiveLog = (obj) => ({
384
+ ...obj,
385
+ });
386
+ exports.AddEndpointsResponseFilterSensitiveLog = AddEndpointsResponseFilterSensitiveLog;
336
387
  const AdvertiseByoipCidrRequestFilterSensitiveLog = (obj) => ({
337
388
  ...obj,
338
389
  });
@@ -417,10 +468,6 @@ const CreateCustomRoutingListenerResponseFilterSensitiveLog = (obj) => ({
417
468
  ...obj,
418
469
  });
419
470
  exports.CreateCustomRoutingListenerResponseFilterSensitiveLog = CreateCustomRoutingListenerResponseFilterSensitiveLog;
420
- const EndpointConfigurationFilterSensitiveLog = (obj) => ({
421
- ...obj,
422
- });
423
- exports.EndpointConfigurationFilterSensitiveLog = EndpointConfigurationFilterSensitiveLog;
424
471
  const PortOverrideFilterSensitiveLog = (obj) => ({
425
472
  ...obj,
426
473
  });
@@ -429,10 +476,6 @@ const CreateEndpointGroupRequestFilterSensitiveLog = (obj) => ({
429
476
  ...obj,
430
477
  });
431
478
  exports.CreateEndpointGroupRequestFilterSensitiveLog = CreateEndpointGroupRequestFilterSensitiveLog;
432
- const EndpointDescriptionFilterSensitiveLog = (obj) => ({
433
- ...obj,
434
- });
435
- exports.EndpointDescriptionFilterSensitiveLog = EndpointDescriptionFilterSensitiveLog;
436
479
  const EndpointGroupFilterSensitiveLog = (obj) => ({
437
480
  ...obj,
438
481
  });
@@ -565,6 +608,10 @@ const DestinationPortMappingFilterSensitiveLog = (obj) => ({
565
608
  ...obj,
566
609
  });
567
610
  exports.DestinationPortMappingFilterSensitiveLog = DestinationPortMappingFilterSensitiveLog;
611
+ const EndpointIdentifierFilterSensitiveLog = (obj) => ({
612
+ ...obj,
613
+ });
614
+ exports.EndpointIdentifierFilterSensitiveLog = EndpointIdentifierFilterSensitiveLog;
568
615
  const ListAcceleratorsRequestFilterSensitiveLog = (obj) => ({
569
616
  ...obj,
570
617
  });
@@ -661,6 +708,10 @@ const RemoveCustomRoutingEndpointsRequestFilterSensitiveLog = (obj) => ({
661
708
  ...obj,
662
709
  });
663
710
  exports.RemoveCustomRoutingEndpointsRequestFilterSensitiveLog = RemoveCustomRoutingEndpointsRequestFilterSensitiveLog;
711
+ const RemoveEndpointsRequestFilterSensitiveLog = (obj) => ({
712
+ ...obj,
713
+ });
714
+ exports.RemoveEndpointsRequestFilterSensitiveLog = RemoveEndpointsRequestFilterSensitiveLog;
664
715
  const TagResourceRequestFilterSensitiveLog = (obj) => ({
665
716
  ...obj,
666
717
  });
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.deserializeAws_json1_1AllowCustomRoutingTrafficCommand = exports.deserializeAws_json1_1AdvertiseByoipCidrCommand = exports.deserializeAws_json1_1AddCustomRoutingEndpointsCommand = exports.serializeAws_json1_1WithdrawByoipCidrCommand = exports.serializeAws_json1_1UpdateListenerCommand = exports.serializeAws_json1_1UpdateEndpointGroupCommand = exports.serializeAws_json1_1UpdateCustomRoutingListenerCommand = exports.serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand = exports.serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1UpdateAcceleratorAttributesCommand = exports.serializeAws_json1_1UpdateAcceleratorCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1RemoveCustomRoutingEndpointsCommand = exports.serializeAws_json1_1ProvisionByoipCidrCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListListenersCommand = exports.serializeAws_json1_1ListEndpointGroupsCommand = exports.serializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand = exports.serializeAws_json1_1ListCustomRoutingPortMappingsCommand = exports.serializeAws_json1_1ListCustomRoutingListenersCommand = exports.serializeAws_json1_1ListCustomRoutingEndpointGroupsCommand = exports.serializeAws_json1_1ListCustomRoutingAcceleratorsCommand = exports.serializeAws_json1_1ListByoipCidrsCommand = exports.serializeAws_json1_1ListAcceleratorsCommand = exports.serializeAws_json1_1DescribeListenerCommand = exports.serializeAws_json1_1DescribeEndpointGroupCommand = exports.serializeAws_json1_1DescribeCustomRoutingListenerCommand = exports.serializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand = exports.serializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand = exports.serializeAws_json1_1DescribeCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1DescribeAcceleratorAttributesCommand = exports.serializeAws_json1_1DescribeAcceleratorCommand = exports.serializeAws_json1_1DeprovisionByoipCidrCommand = exports.serializeAws_json1_1DenyCustomRoutingTrafficCommand = exports.serializeAws_json1_1DeleteListenerCommand = exports.serializeAws_json1_1DeleteEndpointGroupCommand = exports.serializeAws_json1_1DeleteCustomRoutingListenerCommand = exports.serializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand = exports.serializeAws_json1_1DeleteCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1DeleteAcceleratorCommand = exports.serializeAws_json1_1CreateListenerCommand = exports.serializeAws_json1_1CreateEndpointGroupCommand = exports.serializeAws_json1_1CreateCustomRoutingListenerCommand = exports.serializeAws_json1_1CreateCustomRoutingEndpointGroupCommand = exports.serializeAws_json1_1CreateCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1CreateAcceleratorCommand = exports.serializeAws_json1_1AllowCustomRoutingTrafficCommand = exports.serializeAws_json1_1AdvertiseByoipCidrCommand = exports.serializeAws_json1_1AddCustomRoutingEndpointsCommand = void 0;
4
- exports.deserializeAws_json1_1WithdrawByoipCidrCommand = exports.deserializeAws_json1_1UpdateListenerCommand = exports.deserializeAws_json1_1UpdateEndpointGroupCommand = exports.deserializeAws_json1_1UpdateCustomRoutingListenerCommand = exports.deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand = exports.deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1UpdateAcceleratorAttributesCommand = exports.deserializeAws_json1_1UpdateAcceleratorCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1RemoveCustomRoutingEndpointsCommand = exports.deserializeAws_json1_1ProvisionByoipCidrCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListListenersCommand = exports.deserializeAws_json1_1ListEndpointGroupsCommand = exports.deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand = exports.deserializeAws_json1_1ListCustomRoutingPortMappingsCommand = exports.deserializeAws_json1_1ListCustomRoutingListenersCommand = exports.deserializeAws_json1_1ListCustomRoutingEndpointGroupsCommand = exports.deserializeAws_json1_1ListCustomRoutingAcceleratorsCommand = exports.deserializeAws_json1_1ListByoipCidrsCommand = exports.deserializeAws_json1_1ListAcceleratorsCommand = exports.deserializeAws_json1_1DescribeListenerCommand = exports.deserializeAws_json1_1DescribeEndpointGroupCommand = exports.deserializeAws_json1_1DescribeCustomRoutingListenerCommand = exports.deserializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand = exports.deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand = exports.deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1DescribeAcceleratorAttributesCommand = exports.deserializeAws_json1_1DescribeAcceleratorCommand = exports.deserializeAws_json1_1DeprovisionByoipCidrCommand = exports.deserializeAws_json1_1DenyCustomRoutingTrafficCommand = exports.deserializeAws_json1_1DeleteListenerCommand = exports.deserializeAws_json1_1DeleteEndpointGroupCommand = exports.deserializeAws_json1_1DeleteCustomRoutingListenerCommand = exports.deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand = exports.deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1DeleteAcceleratorCommand = exports.deserializeAws_json1_1CreateListenerCommand = exports.deserializeAws_json1_1CreateEndpointGroupCommand = exports.deserializeAws_json1_1CreateCustomRoutingListenerCommand = exports.deserializeAws_json1_1CreateCustomRoutingEndpointGroupCommand = exports.deserializeAws_json1_1CreateCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1CreateAcceleratorCommand = void 0;
3
+ exports.deserializeAws_json1_1AddCustomRoutingEndpointsCommand = exports.serializeAws_json1_1WithdrawByoipCidrCommand = exports.serializeAws_json1_1UpdateListenerCommand = exports.serializeAws_json1_1UpdateEndpointGroupCommand = exports.serializeAws_json1_1UpdateCustomRoutingListenerCommand = exports.serializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand = exports.serializeAws_json1_1UpdateCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1UpdateAcceleratorAttributesCommand = exports.serializeAws_json1_1UpdateAcceleratorCommand = exports.serializeAws_json1_1UntagResourceCommand = exports.serializeAws_json1_1TagResourceCommand = exports.serializeAws_json1_1RemoveEndpointsCommand = exports.serializeAws_json1_1RemoveCustomRoutingEndpointsCommand = exports.serializeAws_json1_1ProvisionByoipCidrCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListListenersCommand = exports.serializeAws_json1_1ListEndpointGroupsCommand = exports.serializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand = exports.serializeAws_json1_1ListCustomRoutingPortMappingsCommand = exports.serializeAws_json1_1ListCustomRoutingListenersCommand = exports.serializeAws_json1_1ListCustomRoutingEndpointGroupsCommand = exports.serializeAws_json1_1ListCustomRoutingAcceleratorsCommand = exports.serializeAws_json1_1ListByoipCidrsCommand = exports.serializeAws_json1_1ListAcceleratorsCommand = exports.serializeAws_json1_1DescribeListenerCommand = exports.serializeAws_json1_1DescribeEndpointGroupCommand = exports.serializeAws_json1_1DescribeCustomRoutingListenerCommand = exports.serializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand = exports.serializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand = exports.serializeAws_json1_1DescribeCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1DescribeAcceleratorAttributesCommand = exports.serializeAws_json1_1DescribeAcceleratorCommand = exports.serializeAws_json1_1DeprovisionByoipCidrCommand = exports.serializeAws_json1_1DenyCustomRoutingTrafficCommand = exports.serializeAws_json1_1DeleteListenerCommand = exports.serializeAws_json1_1DeleteEndpointGroupCommand = exports.serializeAws_json1_1DeleteCustomRoutingListenerCommand = exports.serializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand = exports.serializeAws_json1_1DeleteCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1DeleteAcceleratorCommand = exports.serializeAws_json1_1CreateListenerCommand = exports.serializeAws_json1_1CreateEndpointGroupCommand = exports.serializeAws_json1_1CreateCustomRoutingListenerCommand = exports.serializeAws_json1_1CreateCustomRoutingEndpointGroupCommand = exports.serializeAws_json1_1CreateCustomRoutingAcceleratorCommand = exports.serializeAws_json1_1CreateAcceleratorCommand = exports.serializeAws_json1_1AllowCustomRoutingTrafficCommand = exports.serializeAws_json1_1AdvertiseByoipCidrCommand = exports.serializeAws_json1_1AddEndpointsCommand = exports.serializeAws_json1_1AddCustomRoutingEndpointsCommand = void 0;
4
+ exports.deserializeAws_json1_1WithdrawByoipCidrCommand = exports.deserializeAws_json1_1UpdateListenerCommand = exports.deserializeAws_json1_1UpdateEndpointGroupCommand = exports.deserializeAws_json1_1UpdateCustomRoutingListenerCommand = exports.deserializeAws_json1_1UpdateCustomRoutingAcceleratorAttributesCommand = exports.deserializeAws_json1_1UpdateCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1UpdateAcceleratorAttributesCommand = exports.deserializeAws_json1_1UpdateAcceleratorCommand = exports.deserializeAws_json1_1UntagResourceCommand = exports.deserializeAws_json1_1TagResourceCommand = exports.deserializeAws_json1_1RemoveEndpointsCommand = exports.deserializeAws_json1_1RemoveCustomRoutingEndpointsCommand = exports.deserializeAws_json1_1ProvisionByoipCidrCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListListenersCommand = exports.deserializeAws_json1_1ListEndpointGroupsCommand = exports.deserializeAws_json1_1ListCustomRoutingPortMappingsByDestinationCommand = exports.deserializeAws_json1_1ListCustomRoutingPortMappingsCommand = exports.deserializeAws_json1_1ListCustomRoutingListenersCommand = exports.deserializeAws_json1_1ListCustomRoutingEndpointGroupsCommand = exports.deserializeAws_json1_1ListCustomRoutingAcceleratorsCommand = exports.deserializeAws_json1_1ListByoipCidrsCommand = exports.deserializeAws_json1_1ListAcceleratorsCommand = exports.deserializeAws_json1_1DescribeListenerCommand = exports.deserializeAws_json1_1DescribeEndpointGroupCommand = exports.deserializeAws_json1_1DescribeCustomRoutingListenerCommand = exports.deserializeAws_json1_1DescribeCustomRoutingEndpointGroupCommand = exports.deserializeAws_json1_1DescribeCustomRoutingAcceleratorAttributesCommand = exports.deserializeAws_json1_1DescribeCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1DescribeAcceleratorAttributesCommand = exports.deserializeAws_json1_1DescribeAcceleratorCommand = exports.deserializeAws_json1_1DeprovisionByoipCidrCommand = exports.deserializeAws_json1_1DenyCustomRoutingTrafficCommand = exports.deserializeAws_json1_1DeleteListenerCommand = exports.deserializeAws_json1_1DeleteEndpointGroupCommand = exports.deserializeAws_json1_1DeleteCustomRoutingListenerCommand = exports.deserializeAws_json1_1DeleteCustomRoutingEndpointGroupCommand = exports.deserializeAws_json1_1DeleteCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1DeleteAcceleratorCommand = exports.deserializeAws_json1_1CreateListenerCommand = exports.deserializeAws_json1_1CreateEndpointGroupCommand = exports.deserializeAws_json1_1CreateCustomRoutingListenerCommand = exports.deserializeAws_json1_1CreateCustomRoutingEndpointGroupCommand = exports.deserializeAws_json1_1CreateCustomRoutingAcceleratorCommand = exports.deserializeAws_json1_1CreateAcceleratorCommand = exports.deserializeAws_json1_1AllowCustomRoutingTrafficCommand = exports.deserializeAws_json1_1AdvertiseByoipCidrCommand = exports.deserializeAws_json1_1AddEndpointsCommand = void 0;
5
5
  const protocol_http_1 = require("@aws-sdk/protocol-http");
6
6
  const smithy_client_1 = require("@aws-sdk/smithy-client");
7
7
  const uuid_1 = require("uuid");
@@ -17,6 +17,16 @@ const serializeAws_json1_1AddCustomRoutingEndpointsCommand = async (input, conte
17
17
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
18
18
  };
19
19
  exports.serializeAws_json1_1AddCustomRoutingEndpointsCommand = serializeAws_json1_1AddCustomRoutingEndpointsCommand;
20
+ const serializeAws_json1_1AddEndpointsCommand = async (input, context) => {
21
+ const headers = {
22
+ "content-type": "application/x-amz-json-1.1",
23
+ "x-amz-target": "GlobalAccelerator_V20180706.AddEndpoints",
24
+ };
25
+ let body;
26
+ body = JSON.stringify(serializeAws_json1_1AddEndpointsRequest(input, context));
27
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
28
+ };
29
+ exports.serializeAws_json1_1AddEndpointsCommand = serializeAws_json1_1AddEndpointsCommand;
20
30
  const serializeAws_json1_1AdvertiseByoipCidrCommand = async (input, context) => {
21
31
  const headers = {
22
32
  "content-type": "application/x-amz-json-1.1",
@@ -377,6 +387,16 @@ const serializeAws_json1_1RemoveCustomRoutingEndpointsCommand = async (input, co
377
387
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
378
388
  };
379
389
  exports.serializeAws_json1_1RemoveCustomRoutingEndpointsCommand = serializeAws_json1_1RemoveCustomRoutingEndpointsCommand;
390
+ const serializeAws_json1_1RemoveEndpointsCommand = async (input, context) => {
391
+ const headers = {
392
+ "content-type": "application/x-amz-json-1.1",
393
+ "x-amz-target": "GlobalAccelerator_V20180706.RemoveEndpoints",
394
+ };
395
+ let body;
396
+ body = JSON.stringify(serializeAws_json1_1RemoveEndpointsRequest(input, context));
397
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
398
+ };
399
+ exports.serializeAws_json1_1RemoveEndpointsCommand = serializeAws_json1_1RemoveEndpointsCommand;
380
400
  const serializeAws_json1_1TagResourceCommand = async (input, context) => {
381
401
  const headers = {
382
402
  "content-type": "application/x-amz-json-1.1",
@@ -529,6 +549,55 @@ const deserializeAws_json1_1AddCustomRoutingEndpointsCommandError = async (outpu
529
549
  });
530
550
  }
531
551
  };
552
+ const deserializeAws_json1_1AddEndpointsCommand = async (output, context) => {
553
+ if (output.statusCode >= 300) {
554
+ return deserializeAws_json1_1AddEndpointsCommandError(output, context);
555
+ }
556
+ const data = await parseBody(output.body, context);
557
+ let contents = {};
558
+ contents = deserializeAws_json1_1AddEndpointsResponse(data, context);
559
+ const response = {
560
+ $metadata: deserializeMetadata(output),
561
+ ...contents,
562
+ };
563
+ return Promise.resolve(response);
564
+ };
565
+ exports.deserializeAws_json1_1AddEndpointsCommand = deserializeAws_json1_1AddEndpointsCommand;
566
+ const deserializeAws_json1_1AddEndpointsCommandError = async (output, context) => {
567
+ const parsedOutput = {
568
+ ...output,
569
+ body: await parseErrorBody(output.body, context),
570
+ };
571
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
572
+ switch (errorCode) {
573
+ case "AccessDeniedException":
574
+ case "com.amazonaws.globalaccelerator#AccessDeniedException":
575
+ throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
576
+ case "EndpointGroupNotFoundException":
577
+ case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
578
+ throw await deserializeAws_json1_1EndpointGroupNotFoundExceptionResponse(parsedOutput, context);
579
+ case "InternalServiceErrorException":
580
+ case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
581
+ throw await deserializeAws_json1_1InternalServiceErrorExceptionResponse(parsedOutput, context);
582
+ case "InvalidArgumentException":
583
+ case "com.amazonaws.globalaccelerator#InvalidArgumentException":
584
+ throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
585
+ case "LimitExceededException":
586
+ case "com.amazonaws.globalaccelerator#LimitExceededException":
587
+ throw await deserializeAws_json1_1LimitExceededExceptionResponse(parsedOutput, context);
588
+ case "TransactionInProgressException":
589
+ case "com.amazonaws.globalaccelerator#TransactionInProgressException":
590
+ throw await deserializeAws_json1_1TransactionInProgressExceptionResponse(parsedOutput, context);
591
+ default:
592
+ const parsedBody = parsedOutput.body;
593
+ (0, smithy_client_1.throwDefaultError)({
594
+ output,
595
+ parsedBody,
596
+ exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
597
+ errorCode,
598
+ });
599
+ }
600
+ };
532
601
  const deserializeAws_json1_1AdvertiseByoipCidrCommand = async (output, context) => {
533
602
  if (output.statusCode >= 300) {
534
603
  return deserializeAws_json1_1AdvertiseByoipCidrCommandError(output, context);
@@ -2053,6 +2122,49 @@ const deserializeAws_json1_1RemoveCustomRoutingEndpointsCommandError = async (ou
2053
2122
  });
2054
2123
  }
2055
2124
  };
2125
+ const deserializeAws_json1_1RemoveEndpointsCommand = async (output, context) => {
2126
+ if (output.statusCode >= 300) {
2127
+ return deserializeAws_json1_1RemoveEndpointsCommandError(output, context);
2128
+ }
2129
+ await collectBody(output.body, context);
2130
+ const response = {
2131
+ $metadata: deserializeMetadata(output),
2132
+ };
2133
+ return Promise.resolve(response);
2134
+ };
2135
+ exports.deserializeAws_json1_1RemoveEndpointsCommand = deserializeAws_json1_1RemoveEndpointsCommand;
2136
+ const deserializeAws_json1_1RemoveEndpointsCommandError = async (output, context) => {
2137
+ const parsedOutput = {
2138
+ ...output,
2139
+ body: await parseErrorBody(output.body, context),
2140
+ };
2141
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2142
+ switch (errorCode) {
2143
+ case "AccessDeniedException":
2144
+ case "com.amazonaws.globalaccelerator#AccessDeniedException":
2145
+ throw await deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context);
2146
+ case "EndpointGroupNotFoundException":
2147
+ case "com.amazonaws.globalaccelerator#EndpointGroupNotFoundException":
2148
+ throw await deserializeAws_json1_1EndpointGroupNotFoundExceptionResponse(parsedOutput, context);
2149
+ case "InternalServiceErrorException":
2150
+ case "com.amazonaws.globalaccelerator#InternalServiceErrorException":
2151
+ throw await deserializeAws_json1_1InternalServiceErrorExceptionResponse(parsedOutput, context);
2152
+ case "InvalidArgumentException":
2153
+ case "com.amazonaws.globalaccelerator#InvalidArgumentException":
2154
+ throw await deserializeAws_json1_1InvalidArgumentExceptionResponse(parsedOutput, context);
2155
+ case "TransactionInProgressException":
2156
+ case "com.amazonaws.globalaccelerator#TransactionInProgressException":
2157
+ throw await deserializeAws_json1_1TransactionInProgressExceptionResponse(parsedOutput, context);
2158
+ default:
2159
+ const parsedBody = parsedOutput.body;
2160
+ (0, smithy_client_1.throwDefaultError)({
2161
+ output,
2162
+ parsedBody,
2163
+ exceptionCtor: GlobalAcceleratorServiceException_1.GlobalAcceleratorServiceException,
2164
+ errorCode,
2165
+ });
2166
+ }
2167
+ };
2056
2168
  const deserializeAws_json1_1TagResourceCommand = async (output, context) => {
2057
2169
  if (output.statusCode >= 300) {
2058
2170
  return deserializeAws_json1_1TagResourceCommandError(output, context);
@@ -2648,6 +2760,15 @@ const deserializeAws_json1_1ListenerNotFoundExceptionResponse = async (parsedOut
2648
2760
  });
2649
2761
  return (0, smithy_client_1.decorateServiceException)(exception, body);
2650
2762
  };
2763
+ const deserializeAws_json1_1TransactionInProgressExceptionResponse = async (parsedOutput, context) => {
2764
+ const body = parsedOutput.body;
2765
+ const deserialized = deserializeAws_json1_1TransactionInProgressException(body, context);
2766
+ const exception = new models_0_1.TransactionInProgressException({
2767
+ $metadata: deserializeMetadata(parsedOutput),
2768
+ ...deserialized,
2769
+ });
2770
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
2771
+ };
2651
2772
  const serializeAws_json1_1AddCustomRoutingEndpointsRequest = (input, context) => {
2652
2773
  return {
2653
2774
  ...(input.EndpointConfigurations != null && {
@@ -2656,6 +2777,14 @@ const serializeAws_json1_1AddCustomRoutingEndpointsRequest = (input, context) =>
2656
2777
  ...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
2657
2778
  };
2658
2779
  };
2780
+ const serializeAws_json1_1AddEndpointsRequest = (input, context) => {
2781
+ return {
2782
+ ...(input.EndpointConfigurations != null && {
2783
+ EndpointConfigurations: serializeAws_json1_1EndpointConfigurations(input.EndpointConfigurations, context),
2784
+ }),
2785
+ ...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
2786
+ };
2787
+ };
2659
2788
  const serializeAws_json1_1AdvertiseByoipCidrRequest = (input, context) => {
2660
2789
  return {
2661
2790
  ...(input.Cidr != null && { Cidr: input.Cidr }),
@@ -2904,6 +3033,21 @@ const serializeAws_json1_1EndpointConfigurations = (input, context) => {
2904
3033
  return serializeAws_json1_1EndpointConfiguration(entry, context);
2905
3034
  });
2906
3035
  };
3036
+ const serializeAws_json1_1EndpointIdentifier = (input, context) => {
3037
+ return {
3038
+ ...(input.ClientIPPreservationEnabled != null && {
3039
+ ClientIPPreservationEnabled: input.ClientIPPreservationEnabled,
3040
+ }),
3041
+ ...(input.EndpointId != null && { EndpointId: input.EndpointId }),
3042
+ };
3043
+ };
3044
+ const serializeAws_json1_1EndpointIdentifiers = (input, context) => {
3045
+ return input
3046
+ .filter((e) => e != null)
3047
+ .map((entry) => {
3048
+ return serializeAws_json1_1EndpointIdentifier(entry, context);
3049
+ });
3050
+ };
2907
3051
  const serializeAws_json1_1EndpointIds = (input, context) => {
2908
3052
  return input
2909
3053
  .filter((e) => e != null)
@@ -3025,6 +3169,14 @@ const serializeAws_json1_1RemoveCustomRoutingEndpointsRequest = (input, context)
3025
3169
  ...(input.EndpointIds != null && { EndpointIds: serializeAws_json1_1EndpointIds(input.EndpointIds, context) }),
3026
3170
  };
3027
3171
  };
3172
+ const serializeAws_json1_1RemoveEndpointsRequest = (input, context) => {
3173
+ return {
3174
+ ...(input.EndpointGroupArn != null && { EndpointGroupArn: input.EndpointGroupArn }),
3175
+ ...(input.EndpointIdentifiers != null && {
3176
+ EndpointIdentifiers: serializeAws_json1_1EndpointIdentifiers(input.EndpointIdentifiers, context),
3177
+ }),
3178
+ };
3179
+ };
3028
3180
  const serializeAws_json1_1Tag = (input, context) => {
3029
3181
  return {
3030
3182
  ...(input.Key != null && { Key: input.Key }),
@@ -3204,6 +3356,14 @@ const deserializeAws_json1_1AddCustomRoutingEndpointsResponse = (output, context
3204
3356
  EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
3205
3357
  };
3206
3358
  };
3359
+ const deserializeAws_json1_1AddEndpointsResponse = (output, context) => {
3360
+ return {
3361
+ EndpointDescriptions: output.EndpointDescriptions != null
3362
+ ? deserializeAws_json1_1EndpointDescriptions(output.EndpointDescriptions, context)
3363
+ : undefined,
3364
+ EndpointGroupArn: (0, smithy_client_1.expectString)(output.EndpointGroupArn),
3365
+ };
3366
+ };
3207
3367
  const deserializeAws_json1_1AdvertiseByoipCidrResponse = (output, context) => {
3208
3368
  return {
3209
3369
  ByoipCidr: output.ByoipCidr != null ? deserializeAws_json1_1ByoipCidr(output.ByoipCidr, context) : undefined,
@@ -3823,6 +3983,11 @@ const deserializeAws_json1_1Tags = (output, context) => {
3823
3983
  });
3824
3984
  return retVal;
3825
3985
  };
3986
+ const deserializeAws_json1_1TransactionInProgressException = (output, context) => {
3987
+ return {
3988
+ Message: (0, smithy_client_1.expectString)(output.Message),
3989
+ };
3990
+ };
3826
3991
  const deserializeAws_json1_1UntagResourceResponse = (output, context) => {
3827
3992
  return {};
3828
3993
  };
@@ -2,14 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
- const endpoints_1 = require("./endpoints");
5
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
6
6
  const getRuntimeConfig = (config) => {
7
7
  var _a, _b, _c, _d, _e;
8
8
  return ({
9
9
  apiVersion: "2018-08-08",
10
10
  disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
11
- logger: (_b = config === null || config === void 0 ? void 0 : config.logger) !== null && _b !== void 0 ? _b : {},
12
- regionInfoProvider: (_c = config === null || config === void 0 ? void 0 : config.regionInfoProvider) !== null && _c !== void 0 ? _c : endpoints_1.defaultRegionInfoProvider,
11
+ endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
12
+ logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
13
13
  serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "Global Accelerator",
14
14
  urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
15
15
  });
@@ -1,4 +1,5 @@
1
1
  import { AddCustomRoutingEndpointsCommand, } from "./commands/AddCustomRoutingEndpointsCommand";
2
+ import { AddEndpointsCommand, } from "./commands/AddEndpointsCommand";
2
3
  import { AdvertiseByoipCidrCommand, } from "./commands/AdvertiseByoipCidrCommand";
3
4
  import { AllowCustomRoutingTrafficCommand, } from "./commands/AllowCustomRoutingTrafficCommand";
4
5
  import { CreateAcceleratorCommand, } from "./commands/CreateAcceleratorCommand";
@@ -35,6 +36,7 @@ import { ListListenersCommand, } from "./commands/ListListenersCommand";
35
36
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
36
37
  import { ProvisionByoipCidrCommand, } from "./commands/ProvisionByoipCidrCommand";
37
38
  import { RemoveCustomRoutingEndpointsCommand, } from "./commands/RemoveCustomRoutingEndpointsCommand";
39
+ import { RemoveEndpointsCommand, } from "./commands/RemoveEndpointsCommand";
38
40
  import { TagResourceCommand } from "./commands/TagResourceCommand";
39
41
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
40
42
  import { UpdateAcceleratorAttributesCommand, } from "./commands/UpdateAcceleratorAttributesCommand";
@@ -61,6 +63,20 @@ export class GlobalAccelerator extends GlobalAcceleratorClient {
61
63
  return this.send(command, optionsOrCb);
62
64
  }
63
65
  }
66
+ addEndpoints(args, optionsOrCb, cb) {
67
+ const command = new AddEndpointsCommand(args);
68
+ if (typeof optionsOrCb === "function") {
69
+ this.send(command, optionsOrCb);
70
+ }
71
+ else if (typeof cb === "function") {
72
+ if (typeof optionsOrCb !== "object")
73
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
74
+ this.send(command, optionsOrCb || {}, cb);
75
+ }
76
+ else {
77
+ return this.send(command, optionsOrCb);
78
+ }
79
+ }
64
80
  advertiseByoipCidr(args, optionsOrCb, cb) {
65
81
  const command = new AdvertiseByoipCidrCommand(args);
66
82
  if (typeof optionsOrCb === "function") {
@@ -565,6 +581,20 @@ export class GlobalAccelerator extends GlobalAcceleratorClient {
565
581
  return this.send(command, optionsOrCb);
566
582
  }
567
583
  }
584
+ removeEndpoints(args, optionsOrCb, cb) {
585
+ const command = new RemoveEndpointsCommand(args);
586
+ if (typeof optionsOrCb === "function") {
587
+ this.send(command, optionsOrCb);
588
+ }
589
+ else if (typeof cb === "function") {
590
+ if (typeof optionsOrCb !== "object")
591
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
592
+ this.send(command, optionsOrCb || {}, cb);
593
+ }
594
+ else {
595
+ return this.send(command, optionsOrCb);
596
+ }
597
+ }
568
598
  tagResource(args, optionsOrCb, cb) {
569
599
  const command = new TagResourceCommand(args);
570
600
  if (typeof optionsOrCb === "function") {
@@ -1,5 +1,6 @@
1
- import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
1
+ import { resolveRegionConfig } from "@aws-sdk/config-resolver";
2
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
3
+ import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
3
4
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
4
5
  import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
5
6
  import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
@@ -7,18 +8,20 @@ import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
7
8
  import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
8
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
9
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
11
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
10
12
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
11
13
  export class GlobalAcceleratorClient extends __Client {
12
14
  constructor(configuration) {
13
15
  const _config_0 = __getRuntimeConfig(configuration);
14
- const _config_1 = resolveRegionConfig(_config_0);
15
- const _config_2 = resolveEndpointsConfig(_config_1);
16
- const _config_3 = resolveRetryConfig(_config_2);
17
- const _config_4 = resolveHostHeaderConfig(_config_3);
18
- const _config_5 = resolveAwsAuthConfig(_config_4);
19
- const _config_6 = resolveUserAgentConfig(_config_5);
20
- super(_config_6);
21
- this.config = _config_6;
16
+ const _config_1 = resolveClientEndpointParameters(_config_0);
17
+ const _config_2 = resolveRegionConfig(_config_1);
18
+ const _config_3 = resolveEndpointConfig(_config_2);
19
+ const _config_4 = resolveRetryConfig(_config_3);
20
+ const _config_5 = resolveHostHeaderConfig(_config_4);
21
+ const _config_6 = resolveAwsAuthConfig(_config_5);
22
+ const _config_7 = resolveUserAgentConfig(_config_6);
23
+ super(_config_7);
24
+ this.config = _config_7;
22
25
  this.middlewareStack.use(getRetryPlugin(this.config));
23
26
  this.middlewareStack.use(getContentLengthPlugin(this.config));
24
27
  this.middlewareStack.use(getHostHeaderPlugin(this.config));
@@ -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 { AddCustomRoutingEndpointsRequestFilterSensitiveLog, AddCustomRoutingEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AddCustomRoutingEndpointsCommand 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, AddCustomRoutingEndpointsCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";
@@ -0,0 +1,42 @@
1
+ import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { AddEndpointsRequestFilterSensitiveLog, AddEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
5
+ import { deserializeAws_json1_1AddEndpointsCommand, serializeAws_json1_1AddEndpointsCommand, } from "../protocols/Aws_json1_1";
6
+ export class AddEndpointsCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
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
+ }
19
+ resolveMiddleware(clientStack, configuration, options) {
20
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
21
+ this.middlewareStack.use(getEndpointPlugin(configuration, AddEndpointsCommand.getEndpointParameterInstructions()));
22
+ const stack = clientStack.concat(this.middlewareStack);
23
+ const { logger } = configuration;
24
+ const clientName = "GlobalAcceleratorClient";
25
+ const commandName = "AddEndpointsCommand";
26
+ const handlerExecutionContext = {
27
+ logger,
28
+ clientName,
29
+ commandName,
30
+ inputFilterSensitiveLog: AddEndpointsRequestFilterSensitiveLog,
31
+ outputFilterSensitiveLog: AddEndpointsResponseFilterSensitiveLog,
32
+ };
33
+ const { requestHandler } = configuration;
34
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
35
+ }
36
+ serialize(input, context) {
37
+ return serializeAws_json1_1AddEndpointsCommand(input, context);
38
+ }
39
+ deserialize(output, context) {
40
+ return deserializeAws_json1_1AddEndpointsCommand(output, context);
41
+ }
42
+ }
@@ -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 { AdvertiseByoipCidrRequestFilterSensitiveLog, AdvertiseByoipCidrResponseFilterSensitiveLog, } from "../models/models_0";
@@ -7,8 +8,17 @@ export class AdvertiseByoipCidrCommand 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, AdvertiseByoipCidrCommand.getEndpointParameterInstructions()));
12
22
  const stack = clientStack.concat(this.middlewareStack);
13
23
  const { logger } = configuration;
14
24
  const clientName = "GlobalAcceleratorClient";