@aws-sdk/client-global-accelerator 3.1076.0 → 3.1078.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 (188) hide show
  1. package/dist-cjs/index.js +177 -675
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/AddCustomRoutingEndpointsCommand.js +2 -14
  4. package/dist-es/commands/AddEndpointsCommand.js +2 -14
  5. package/dist-es/commands/AdvertiseByoipCidrCommand.js +2 -14
  6. package/dist-es/commands/AllowCustomRoutingTrafficCommand.js +2 -14
  7. package/dist-es/commands/CreateAcceleratorCommand.js +2 -14
  8. package/dist-es/commands/CreateCrossAccountAttachmentCommand.js +2 -14
  9. package/dist-es/commands/CreateCustomRoutingAcceleratorCommand.js +2 -14
  10. package/dist-es/commands/CreateCustomRoutingEndpointGroupCommand.js +2 -14
  11. package/dist-es/commands/CreateCustomRoutingListenerCommand.js +2 -14
  12. package/dist-es/commands/CreateEndpointGroupCommand.js +2 -14
  13. package/dist-es/commands/CreateListenerCommand.js +2 -14
  14. package/dist-es/commands/DeleteAcceleratorCommand.js +2 -14
  15. package/dist-es/commands/DeleteCrossAccountAttachmentCommand.js +2 -14
  16. package/dist-es/commands/DeleteCustomRoutingAcceleratorCommand.js +2 -14
  17. package/dist-es/commands/DeleteCustomRoutingEndpointGroupCommand.js +2 -14
  18. package/dist-es/commands/DeleteCustomRoutingListenerCommand.js +2 -14
  19. package/dist-es/commands/DeleteEndpointGroupCommand.js +2 -14
  20. package/dist-es/commands/DeleteListenerCommand.js +2 -14
  21. package/dist-es/commands/DenyCustomRoutingTrafficCommand.js +2 -14
  22. package/dist-es/commands/DeprovisionByoipCidrCommand.js +2 -14
  23. package/dist-es/commands/DescribeAcceleratorAttributesCommand.js +2 -14
  24. package/dist-es/commands/DescribeAcceleratorCommand.js +2 -14
  25. package/dist-es/commands/DescribeCrossAccountAttachmentCommand.js +2 -14
  26. package/dist-es/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +2 -14
  27. package/dist-es/commands/DescribeCustomRoutingAcceleratorCommand.js +2 -14
  28. package/dist-es/commands/DescribeCustomRoutingEndpointGroupCommand.js +2 -14
  29. package/dist-es/commands/DescribeCustomRoutingListenerCommand.js +2 -14
  30. package/dist-es/commands/DescribeEndpointGroupCommand.js +2 -14
  31. package/dist-es/commands/DescribeListenerCommand.js +2 -14
  32. package/dist-es/commands/ListAcceleratorsCommand.js +2 -14
  33. package/dist-es/commands/ListByoipCidrsCommand.js +2 -14
  34. package/dist-es/commands/ListCrossAccountAttachmentsCommand.js +2 -14
  35. package/dist-es/commands/ListCrossAccountResourceAccountsCommand.js +2 -14
  36. package/dist-es/commands/ListCrossAccountResourcesCommand.js +2 -14
  37. package/dist-es/commands/ListCustomRoutingAcceleratorsCommand.js +2 -14
  38. package/dist-es/commands/ListCustomRoutingEndpointGroupsCommand.js +2 -14
  39. package/dist-es/commands/ListCustomRoutingListenersCommand.js +2 -14
  40. package/dist-es/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +2 -14
  41. package/dist-es/commands/ListCustomRoutingPortMappingsCommand.js +2 -14
  42. package/dist-es/commands/ListEndpointGroupsCommand.js +2 -14
  43. package/dist-es/commands/ListListenersCommand.js +2 -14
  44. package/dist-es/commands/ListTagsForResourceCommand.js +2 -14
  45. package/dist-es/commands/ProvisionByoipCidrCommand.js +2 -14
  46. package/dist-es/commands/RemoveCustomRoutingEndpointsCommand.js +2 -14
  47. package/dist-es/commands/RemoveEndpointsCommand.js +2 -14
  48. package/dist-es/commands/TagResourceCommand.js +2 -14
  49. package/dist-es/commands/UntagResourceCommand.js +2 -14
  50. package/dist-es/commands/UpdateAcceleratorAttributesCommand.js +2 -14
  51. package/dist-es/commands/UpdateAcceleratorCommand.js +2 -14
  52. package/dist-es/commands/UpdateCrossAccountAttachmentCommand.js +2 -14
  53. package/dist-es/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +2 -14
  54. package/dist-es/commands/UpdateCustomRoutingAcceleratorCommand.js +2 -14
  55. package/dist-es/commands/UpdateCustomRoutingListenerCommand.js +2 -14
  56. package/dist-es/commands/UpdateEndpointGroupCommand.js +2 -14
  57. package/dist-es/commands/UpdateListenerCommand.js +2 -14
  58. package/dist-es/commands/WithdrawByoipCidrCommand.js +2 -14
  59. package/dist-es/index.js +1 -0
  60. package/dist-es/runtimeConfig.browser.js +0 -2
  61. package/dist-es/runtimeConfig.js +1 -2
  62. package/dist-es/runtimeConfig.native.js +0 -2
  63. package/dist-es/runtimeConfig.shared.js +2 -0
  64. package/dist-types/commandBuilder.d.ts +18 -0
  65. package/dist-types/commands/AddCustomRoutingEndpointsCommand.d.ts +3 -8
  66. package/dist-types/commands/AddEndpointsCommand.d.ts +3 -8
  67. package/dist-types/commands/AdvertiseByoipCidrCommand.d.ts +3 -8
  68. package/dist-types/commands/AllowCustomRoutingTrafficCommand.d.ts +3 -8
  69. package/dist-types/commands/CreateAcceleratorCommand.d.ts +3 -8
  70. package/dist-types/commands/CreateCrossAccountAttachmentCommand.d.ts +3 -8
  71. package/dist-types/commands/CreateCustomRoutingAcceleratorCommand.d.ts +3 -8
  72. package/dist-types/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +3 -8
  73. package/dist-types/commands/CreateCustomRoutingListenerCommand.d.ts +3 -8
  74. package/dist-types/commands/CreateEndpointGroupCommand.d.ts +3 -8
  75. package/dist-types/commands/CreateListenerCommand.d.ts +3 -8
  76. package/dist-types/commands/DeleteAcceleratorCommand.d.ts +3 -8
  77. package/dist-types/commands/DeleteCrossAccountAttachmentCommand.d.ts +3 -8
  78. package/dist-types/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +3 -8
  79. package/dist-types/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +3 -8
  80. package/dist-types/commands/DeleteCustomRoutingListenerCommand.d.ts +3 -8
  81. package/dist-types/commands/DeleteEndpointGroupCommand.d.ts +3 -8
  82. package/dist-types/commands/DeleteListenerCommand.d.ts +3 -8
  83. package/dist-types/commands/DenyCustomRoutingTrafficCommand.d.ts +3 -8
  84. package/dist-types/commands/DeprovisionByoipCidrCommand.d.ts +3 -8
  85. package/dist-types/commands/DescribeAcceleratorAttributesCommand.d.ts +3 -8
  86. package/dist-types/commands/DescribeAcceleratorCommand.d.ts +3 -8
  87. package/dist-types/commands/DescribeCrossAccountAttachmentCommand.d.ts +3 -8
  88. package/dist-types/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +3 -8
  89. package/dist-types/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +3 -8
  90. package/dist-types/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +3 -8
  91. package/dist-types/commands/DescribeCustomRoutingListenerCommand.d.ts +3 -8
  92. package/dist-types/commands/DescribeEndpointGroupCommand.d.ts +3 -8
  93. package/dist-types/commands/DescribeListenerCommand.d.ts +3 -8
  94. package/dist-types/commands/ListAcceleratorsCommand.d.ts +3 -8
  95. package/dist-types/commands/ListByoipCidrsCommand.d.ts +3 -8
  96. package/dist-types/commands/ListCrossAccountAttachmentsCommand.d.ts +3 -8
  97. package/dist-types/commands/ListCrossAccountResourceAccountsCommand.d.ts +3 -8
  98. package/dist-types/commands/ListCrossAccountResourcesCommand.d.ts +3 -8
  99. package/dist-types/commands/ListCustomRoutingAcceleratorsCommand.d.ts +3 -8
  100. package/dist-types/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +3 -8
  101. package/dist-types/commands/ListCustomRoutingListenersCommand.d.ts +3 -8
  102. package/dist-types/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +3 -8
  103. package/dist-types/commands/ListCustomRoutingPortMappingsCommand.d.ts +3 -8
  104. package/dist-types/commands/ListEndpointGroupsCommand.d.ts +3 -8
  105. package/dist-types/commands/ListListenersCommand.d.ts +3 -8
  106. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -8
  107. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +3 -8
  108. package/dist-types/commands/RemoveCustomRoutingEndpointsCommand.d.ts +3 -8
  109. package/dist-types/commands/RemoveEndpointsCommand.d.ts +3 -8
  110. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  111. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  112. package/dist-types/commands/UpdateAcceleratorAttributesCommand.d.ts +3 -8
  113. package/dist-types/commands/UpdateAcceleratorCommand.d.ts +3 -8
  114. package/dist-types/commands/UpdateCrossAccountAttachmentCommand.d.ts +3 -8
  115. package/dist-types/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +3 -8
  116. package/dist-types/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +3 -8
  117. package/dist-types/commands/UpdateCustomRoutingListenerCommand.d.ts +3 -8
  118. package/dist-types/commands/UpdateEndpointGroupCommand.d.ts +3 -8
  119. package/dist-types/commands/UpdateListenerCommand.d.ts +3 -8
  120. package/dist-types/commands/WithdrawByoipCidrCommand.d.ts +3 -8
  121. package/dist-types/index.d.ts +1 -0
  122. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  123. package/dist-types/runtimeConfig.d.ts +1 -1
  124. package/dist-types/runtimeConfig.native.d.ts +1 -1
  125. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  126. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  127. package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +7 -16
  128. package/dist-types/ts3.4/commands/AddEndpointsCommand.d.ts +7 -16
  129. package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +7 -16
  130. package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +7 -16
  131. package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +7 -16
  132. package/dist-types/ts3.4/commands/CreateCrossAccountAttachmentCommand.d.ts +7 -16
  133. package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +7 -16
  134. package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +7 -16
  135. package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +7 -16
  136. package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +7 -16
  137. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +7 -16
  138. package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +7 -16
  139. package/dist-types/ts3.4/commands/DeleteCrossAccountAttachmentCommand.d.ts +7 -16
  140. package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +7 -16
  141. package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +7 -16
  142. package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +7 -16
  143. package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +7 -16
  144. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +7 -16
  145. package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +7 -16
  146. package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +7 -16
  147. package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +7 -16
  148. package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +7 -16
  149. package/dist-types/ts3.4/commands/DescribeCrossAccountAttachmentCommand.d.ts +7 -16
  150. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +7 -16
  151. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +7 -16
  152. package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +7 -16
  153. package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +7 -16
  154. package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +7 -16
  155. package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +7 -16
  156. package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +7 -16
  157. package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +7 -16
  158. package/dist-types/ts3.4/commands/ListCrossAccountAttachmentsCommand.d.ts +7 -16
  159. package/dist-types/ts3.4/commands/ListCrossAccountResourceAccountsCommand.d.ts +7 -16
  160. package/dist-types/ts3.4/commands/ListCrossAccountResourcesCommand.d.ts +7 -16
  161. package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +7 -16
  162. package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +7 -16
  163. package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +7 -16
  164. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +7 -16
  165. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +7 -16
  166. package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +7 -16
  167. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +7 -16
  168. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +7 -16
  169. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +7 -16
  170. package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +7 -16
  171. package/dist-types/ts3.4/commands/RemoveEndpointsCommand.d.ts +7 -16
  172. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  173. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  174. package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +7 -16
  175. package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +7 -16
  176. package/dist-types/ts3.4/commands/UpdateCrossAccountAttachmentCommand.d.ts +7 -16
  177. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +7 -16
  178. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +7 -16
  179. package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +7 -16
  180. package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +7 -16
  181. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +7 -16
  182. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +7 -16
  183. package/dist-types/ts3.4/index.d.ts +1 -0
  184. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  185. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  186. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  187. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  188. package/package.json +8 -10
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCrossAccountAttachments$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCrossAccountAttachmentsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCrossAccountAttachments", {})
13
- .n("GlobalAcceleratorClient", "ListCrossAccountAttachmentsCommand")
14
- .sc(ListCrossAccountAttachments$)
15
- .build() {
3
+ export class ListCrossAccountAttachmentsCommand extends command(_ep0, _mw0, "ListCrossAccountAttachments", ListCrossAccountAttachments$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCrossAccountResourceAccounts$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCrossAccountResourceAccountsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCrossAccountResourceAccounts", {})
13
- .n("GlobalAcceleratorClient", "ListCrossAccountResourceAccountsCommand")
14
- .sc(ListCrossAccountResourceAccounts$)
15
- .build() {
3
+ export class ListCrossAccountResourceAccountsCommand extends command(_ep0, _mw0, "ListCrossAccountResourceAccounts", ListCrossAccountResourceAccounts$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCrossAccountResources$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCrossAccountResourcesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCrossAccountResources", {})
13
- .n("GlobalAcceleratorClient", "ListCrossAccountResourcesCommand")
14
- .sc(ListCrossAccountResources$)
15
- .build() {
3
+ export class ListCrossAccountResourcesCommand extends command(_ep0, _mw0, "ListCrossAccountResources", ListCrossAccountResources$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCustomRoutingAccelerators$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomRoutingAcceleratorsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCustomRoutingAccelerators", {})
13
- .n("GlobalAcceleratorClient", "ListCustomRoutingAcceleratorsCommand")
14
- .sc(ListCustomRoutingAccelerators$)
15
- .build() {
3
+ export class ListCustomRoutingAcceleratorsCommand extends command(_ep0, _mw0, "ListCustomRoutingAccelerators", ListCustomRoutingAccelerators$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCustomRoutingEndpointGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomRoutingEndpointGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCustomRoutingEndpointGroups", {})
13
- .n("GlobalAcceleratorClient", "ListCustomRoutingEndpointGroupsCommand")
14
- .sc(ListCustomRoutingEndpointGroups$)
15
- .build() {
3
+ export class ListCustomRoutingEndpointGroupsCommand extends command(_ep0, _mw0, "ListCustomRoutingEndpointGroups", ListCustomRoutingEndpointGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCustomRoutingListeners$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomRoutingListenersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCustomRoutingListeners", {})
13
- .n("GlobalAcceleratorClient", "ListCustomRoutingListenersCommand")
14
- .sc(ListCustomRoutingListeners$)
15
- .build() {
3
+ export class ListCustomRoutingListenersCommand extends command(_ep0, _mw0, "ListCustomRoutingListeners", ListCustomRoutingListeners$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCustomRoutingPortMappingsByDestination$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomRoutingPortMappingsByDestinationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCustomRoutingPortMappingsByDestination", {})
13
- .n("GlobalAcceleratorClient", "ListCustomRoutingPortMappingsByDestinationCommand")
14
- .sc(ListCustomRoutingPortMappingsByDestination$)
15
- .build() {
3
+ export class ListCustomRoutingPortMappingsByDestinationCommand extends command(_ep0, _mw0, "ListCustomRoutingPortMappingsByDestination", ListCustomRoutingPortMappingsByDestination$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListCustomRoutingPortMappings$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListCustomRoutingPortMappingsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListCustomRoutingPortMappings", {})
13
- .n("GlobalAcceleratorClient", "ListCustomRoutingPortMappingsCommand")
14
- .sc(ListCustomRoutingPortMappings$)
15
- .build() {
3
+ export class ListCustomRoutingPortMappingsCommand extends command(_ep0, _mw0, "ListCustomRoutingPortMappings", ListCustomRoutingPortMappings$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListEndpointGroups$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListEndpointGroupsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListEndpointGroups", {})
13
- .n("GlobalAcceleratorClient", "ListEndpointGroupsCommand")
14
- .sc(ListEndpointGroups$)
15
- .build() {
3
+ export class ListEndpointGroupsCommand extends command(_ep0, _mw0, "ListEndpointGroups", ListEndpointGroups$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListListeners$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListListenersCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListListeners", {})
13
- .n("GlobalAcceleratorClient", "ListListenersCommand")
14
- .sc(ListListeners$)
15
- .build() {
3
+ export class ListListenersCommand extends command(_ep0, _mw0, "ListListeners", ListListeners$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListTagsForResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListTagsForResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ListTagsForResource", {})
13
- .n("GlobalAcceleratorClient", "ListTagsForResourceCommand")
14
- .sc(ListTagsForResource$)
15
- .build() {
3
+ export class ListTagsForResourceCommand extends command(_ep0, _mw0, "ListTagsForResource", ListTagsForResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ProvisionByoipCidr$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ProvisionByoipCidrCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "ProvisionByoipCidr", {})
13
- .n("GlobalAcceleratorClient", "ProvisionByoipCidrCommand")
14
- .sc(ProvisionByoipCidr$)
15
- .build() {
3
+ export class ProvisionByoipCidrCommand extends command(_ep0, _mw0, "ProvisionByoipCidr", ProvisionByoipCidr$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveCustomRoutingEndpoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveCustomRoutingEndpointsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "RemoveCustomRoutingEndpoints", {})
13
- .n("GlobalAcceleratorClient", "RemoveCustomRoutingEndpointsCommand")
14
- .sc(RemoveCustomRoutingEndpoints$)
15
- .build() {
3
+ export class RemoveCustomRoutingEndpointsCommand extends command(_ep0, _mw0, "RemoveCustomRoutingEndpoints", RemoveCustomRoutingEndpoints$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveEndpoints$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveEndpointsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "RemoveEndpoints", {})
13
- .n("GlobalAcceleratorClient", "RemoveEndpointsCommand")
14
- .sc(RemoveEndpoints$)
15
- .build() {
3
+ export class RemoveEndpointsCommand extends command(_ep0, _mw0, "RemoveEndpoints", RemoveEndpoints$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { TagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class TagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "TagResource", {})
13
- .n("GlobalAcceleratorClient", "TagResourceCommand")
14
- .sc(TagResource$)
15
- .build() {
3
+ export class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UntagResource$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UntagResourceCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UntagResource", {})
13
- .n("GlobalAcceleratorClient", "UntagResourceCommand")
14
- .sc(UntagResource$)
15
- .build() {
3
+ export class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateAcceleratorAttributes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAcceleratorAttributesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateAcceleratorAttributes", {})
13
- .n("GlobalAcceleratorClient", "UpdateAcceleratorAttributesCommand")
14
- .sc(UpdateAcceleratorAttributes$)
15
- .build() {
3
+ export class UpdateAcceleratorAttributesCommand extends command(_ep0, _mw0, "UpdateAcceleratorAttributes", UpdateAcceleratorAttributes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateAccelerator$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateAcceleratorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateAccelerator", {})
13
- .n("GlobalAcceleratorClient", "UpdateAcceleratorCommand")
14
- .sc(UpdateAccelerator$)
15
- .build() {
3
+ export class UpdateAcceleratorCommand extends command(_ep0, _mw0, "UpdateAccelerator", UpdateAccelerator$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCrossAccountAttachment$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCrossAccountAttachmentCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateCrossAccountAttachment", {})
13
- .n("GlobalAcceleratorClient", "UpdateCrossAccountAttachmentCommand")
14
- .sc(UpdateCrossAccountAttachment$)
15
- .build() {
3
+ export class UpdateCrossAccountAttachmentCommand extends command(_ep0, _mw0, "UpdateCrossAccountAttachment", UpdateCrossAccountAttachment$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCustomRoutingAcceleratorAttributes$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCustomRoutingAcceleratorAttributesCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateCustomRoutingAcceleratorAttributes", {})
13
- .n("GlobalAcceleratorClient", "UpdateCustomRoutingAcceleratorAttributesCommand")
14
- .sc(UpdateCustomRoutingAcceleratorAttributes$)
15
- .build() {
3
+ export class UpdateCustomRoutingAcceleratorAttributesCommand extends command(_ep0, _mw0, "UpdateCustomRoutingAcceleratorAttributes", UpdateCustomRoutingAcceleratorAttributes$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCustomRoutingAccelerator$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCustomRoutingAcceleratorCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateCustomRoutingAccelerator", {})
13
- .n("GlobalAcceleratorClient", "UpdateCustomRoutingAcceleratorCommand")
14
- .sc(UpdateCustomRoutingAccelerator$)
15
- .build() {
3
+ export class UpdateCustomRoutingAcceleratorCommand extends command(_ep0, _mw0, "UpdateCustomRoutingAccelerator", UpdateCustomRoutingAccelerator$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateCustomRoutingListener$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateCustomRoutingListenerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateCustomRoutingListener", {})
13
- .n("GlobalAcceleratorClient", "UpdateCustomRoutingListenerCommand")
14
- .sc(UpdateCustomRoutingListener$)
15
- .build() {
3
+ export class UpdateCustomRoutingListenerCommand extends command(_ep0, _mw0, "UpdateCustomRoutingListener", UpdateCustomRoutingListener$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateEndpointGroup$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateEndpointGroupCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateEndpointGroup", {})
13
- .n("GlobalAcceleratorClient", "UpdateEndpointGroupCommand")
14
- .sc(UpdateEndpointGroup$)
15
- .build() {
3
+ export class UpdateEndpointGroupCommand extends command(_ep0, _mw0, "UpdateEndpointGroup", UpdateEndpointGroup$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { UpdateListener$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class UpdateListenerCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "UpdateListener", {})
13
- .n("GlobalAcceleratorClient", "UpdateListenerCommand")
14
- .sc(UpdateListener$)
15
- .build() {
3
+ export class UpdateListenerCommand extends command(_ep0, _mw0, "UpdateListener", UpdateListener$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { WithdrawByoipCidr$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class WithdrawByoipCidrCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("GlobalAccelerator_V20180706", "WithdrawByoipCidr", {})
13
- .n("GlobalAcceleratorClient", "WithdrawByoipCidrCommand")
14
- .sc(WithdrawByoipCidr$)
15
- .build() {
3
+ export class WithdrawByoipCidrCommand extends command(_ep0, _mw0, "WithdrawByoipCidr", WithdrawByoipCidr$) {
16
4
  }
package/dist-es/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./GlobalAcceleratorClient";
2
2
  export * from "./GlobalAccelerator";
3
3
  export * from "./commands";
4
+ export { Command as $Command } from "@smithy/core/client";
4
5
  export * from "./schemas/schemas_0";
5
6
  export * from "./pagination";
6
7
  export * from "./models/enums";
@@ -1,5 +1,4 @@
1
1
  import packageInfo from "../package.json";
2
- import { Sha256 } from "@aws-crypto/sha256-browser";
3
2
  import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
4
3
  import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
5
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
@@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => {
23
22
  region: config?.region ?? invalidProvider("Region is missing"),
24
23
  requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
25
24
  retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
26
- sha256: config?.sha256 ?? Sha256,
27
25
  streamCollector: config?.streamCollector ?? streamCollector,
28
26
  useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
29
27
  useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT)),
@@ -5,7 +5,7 @@ import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credentia
5
5
  import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
6
6
  import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
7
7
  import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
8
- import { calculateBodyLength, Hash } from "@smithy/core/serde";
8
+ import { calculateBodyLength } from "@smithy/core/serde";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
10
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
11
11
  export const getRuntimeConfig = (config) => {
@@ -35,7 +35,6 @@ export const getRuntimeConfig = (config) => {
35
35
  ...NODE_RETRY_MODE_CONFIG_OPTIONS,
36
36
  default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
37
37
  }, config),
38
- sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
39
38
  streamCollector: config?.streamCollector ?? streamCollector,
40
39
  useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
41
40
  useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
@@ -1,4 +1,3 @@
1
- import { Sha256 } from "@aws-crypto/sha256-js";
2
1
  import { getRuntimeConfig as getBrowserRuntimeConfig } from "./runtimeConfig.browser";
3
2
  export const getRuntimeConfig = (config) => {
4
3
  const browserDefaults = getBrowserRuntimeConfig(config);
@@ -6,6 +5,5 @@ export const getRuntimeConfig = (config) => {
6
5
  ...browserDefaults,
7
6
  ...config,
8
7
  runtime: "react-native",
9
- sha256: config?.sha256 ?? Sha256,
10
8
  };
11
9
  };
@@ -1,5 +1,6 @@
1
1
  import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
2
2
  import { AwsJson1_1Protocol } from "@aws-sdk/core/protocols";
3
+ import { Sha256 } from "@smithy/core/checksum";
3
4
  import { NoOpLogger } from "@smithy/core/client";
4
5
  import { parseUrl } from "@smithy/core/protocols";
5
6
  import { fromBase64, fromUtf8, toBase64, toUtf8 } from "@smithy/core/serde";
@@ -31,6 +32,7 @@ export const getRuntimeConfig = (config) => {
31
32
  serviceTarget: "GlobalAccelerator_V20180706",
32
33
  },
33
34
  serviceId: config?.serviceId ?? "Global Accelerator",
35
+ sha256: config?.sha256 ?? Sha256,
34
36
  urlParser: config?.urlParser ?? parseUrl,
35
37
  utf8Decoder: config?.utf8Decoder ?? fromUtf8,
36
38
  utf8Encoder: config?.utf8Encoder ?? toUtf8,
@@ -0,0 +1,18 @@
1
+ import type { EndpointParameterInstructions } from "@smithy/types";
2
+ import type { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "./GlobalAcceleratorClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const command: <I extends ServiceInputTypes, O extends ServiceOutputTypes>(added: EndpointParameterInstructions, plugins: (CommandCtor: any, clientStack: any, config: any, options: any) => import("@smithy/types").Pluggable<any, any>[], op: string, $: import("@smithy/types").StaticOperationSchema, smithyContext?: Record<string, unknown>) => {
7
+ new (input: I): import("@smithy/core/client").CommandImpl<I, O, GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
8
+ new (...[input]: import("@smithy/types").OptionalParameter<I>): import("@smithy/core/client").CommandImpl<I, O, GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
9
+ getEndpointParameterInstructions(): EndpointParameterInstructions;
10
+ };
11
+ /**
12
+ * @internal
13
+ */
14
+ export declare const _ep0: EndpointParameterInstructions;
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const _mw0: (Command: any, cs: any, config: any, o: any) => never[];
@@ -1,12 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import type { GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GlobalAcceleratorClient";
4
2
  import type { AddCustomRoutingEndpointsRequest, AddCustomRoutingEndpointsResponse } from "../models/models_0";
5
3
  /**
6
4
  * @public
7
5
  */
8
6
  export type { __MetadataBearer };
9
- export { $Command };
10
7
  /**
11
8
  * @public
12
9
  *
@@ -22,11 +19,9 @@ export interface AddCustomRoutingEndpointsCommandInput extends AddCustomRoutingE
22
19
  export interface AddCustomRoutingEndpointsCommandOutput extends AddCustomRoutingEndpointsResponse, __MetadataBearer {
23
20
  }
24
21
  declare const AddCustomRoutingEndpointsCommand_base: {
25
- new (input: AddCustomRoutingEndpointsCommandInput): import("@smithy/core/client").CommandImpl<AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput, GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
- new (input: AddCustomRoutingEndpointsCommandInput): import("@smithy/core/client").CommandImpl<AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput, GlobalAcceleratorClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
- getEndpointParameterInstructions(): {
28
- [x: string]: unknown;
29
- };
22
+ new (input: AddCustomRoutingEndpointsCommandInput): import("@smithy/core/client").CommandImpl<AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput, import("..").GlobalAcceleratorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: AddCustomRoutingEndpointsCommandInput): import("@smithy/core/client").CommandImpl<AddCustomRoutingEndpointsCommandInput, AddCustomRoutingEndpointsCommandOutput, import("..").GlobalAcceleratorClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
25
  };
31
26
  /**
32
27
  * <p>Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.</p>