@aws-sdk/client-global-accelerator 3.36.0 → 3.39.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 (134) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/dist-cjs/GlobalAccelerator.js +0 -150
  3. package/dist-cjs/GlobalAcceleratorClient.js +0 -155
  4. package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +0 -34
  5. package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +0 -30
  6. package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +0 -29
  7. package/dist-cjs/commands/CreateAcceleratorCommand.js +0 -29
  8. package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +0 -33
  9. package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +0 -26
  10. package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +0 -25
  11. package/dist-cjs/commands/CreateEndpointGroupCommand.js +0 -25
  12. package/dist-cjs/commands/CreateListenerCommand.js +0 -25
  13. package/dist-cjs/commands/DeleteAcceleratorCommand.js +0 -37
  14. package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +0 -37
  15. package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +0 -24
  16. package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +0 -24
  17. package/dist-cjs/commands/DeleteEndpointGroupCommand.js +0 -24
  18. package/dist-cjs/commands/DeleteListenerCommand.js +0 -24
  19. package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +0 -29
  20. package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +0 -30
  21. package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +0 -25
  22. package/dist-cjs/commands/DescribeAcceleratorCommand.js +0 -24
  23. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +0 -24
  24. package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +0 -24
  25. package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +0 -24
  26. package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +0 -24
  27. package/dist-cjs/commands/DescribeEndpointGroupCommand.js +0 -24
  28. package/dist-cjs/commands/DescribeListenerCommand.js +0 -24
  29. package/dist-cjs/commands/ListAcceleratorsCommand.js +0 -24
  30. package/dist-cjs/commands/ListByoipCidrsCommand.js +0 -25
  31. package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +0 -24
  32. package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +0 -24
  33. package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +0 -24
  34. package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +0 -27
  35. package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +0 -32
  36. package/dist-cjs/commands/ListEndpointGroupsCommand.js +0 -24
  37. package/dist-cjs/commands/ListListenersCommand.js +0 -24
  38. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  39. package/dist-cjs/commands/ProvisionByoipCidrCommand.js +0 -29
  40. package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +0 -24
  41. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  42. package/dist-cjs/commands/UntagResourceCommand.js +0 -27
  43. package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +0 -24
  44. package/dist-cjs/commands/UpdateAcceleratorCommand.js +0 -29
  45. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +0 -24
  46. package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +0 -24
  47. package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +0 -24
  48. package/dist-cjs/commands/UpdateEndpointGroupCommand.js +0 -24
  49. package/dist-cjs/commands/UpdateListenerCommand.js +0 -24
  50. package/dist-cjs/commands/WithdrawByoipCidrCommand.js +0 -30
  51. package/dist-cjs/commands/index.js +50 -0
  52. package/dist-cjs/endpoints.js +6 -1
  53. package/dist-cjs/index.js +4 -59
  54. package/dist-cjs/models/models_0.js +0 -381
  55. package/dist-cjs/pagination/ListAcceleratorsPaginator.js +0 -10
  56. package/dist-cjs/pagination/ListByoipCidrsPaginator.js +0 -10
  57. package/dist-cjs/pagination/ListCustomRoutingAcceleratorsPaginator.js +0 -10
  58. package/dist-cjs/pagination/ListCustomRoutingEndpointGroupsPaginator.js +0 -10
  59. package/dist-cjs/pagination/ListCustomRoutingListenersPaginator.js +0 -10
  60. package/dist-cjs/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +0 -10
  61. package/dist-cjs/pagination/ListCustomRoutingPortMappingsPaginator.js +0 -10
  62. package/dist-cjs/pagination/ListEndpointGroupsPaginator.js +0 -10
  63. package/dist-cjs/pagination/ListListenersPaginator.js +0 -10
  64. package/dist-cjs/pagination/index.js +13 -0
  65. package/dist-cjs/protocols/Aws_json1_1.js +0 -5
  66. package/dist-cjs/runtimeConfig.browser.js +1 -5
  67. package/dist-cjs/runtimeConfig.js +1 -5
  68. package/dist-cjs/runtimeConfig.native.js +0 -3
  69. package/dist-cjs/runtimeConfig.shared.js +0 -3
  70. package/dist-es/commands/index.js +47 -0
  71. package/dist-es/endpoints.js +6 -1
  72. package/dist-es/index.js +4 -59
  73. package/dist-es/pagination/index.js +10 -0
  74. package/dist-types/commands/index.d.ts +47 -0
  75. package/dist-types/index.d.ts +4 -59
  76. package/dist-types/pagination/index.d.ts +10 -0
  77. package/dist-types/ts3.4/GlobalAccelerator.d.ts +48 -404
  78. package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +24 -236
  79. package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -30
  80. package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +2 -26
  81. package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -25
  82. package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +2 -25
  83. package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -29
  84. package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -22
  85. package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +2 -21
  86. package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +2 -21
  87. package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -21
  88. package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +2 -33
  89. package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -33
  90. package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -20
  91. package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -20
  92. package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +2 -20
  93. package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -20
  94. package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -25
  95. package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +2 -26
  96. package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -21
  97. package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +2 -20
  98. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -20
  99. package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -20
  100. package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -20
  101. package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -20
  102. package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +2 -20
  103. package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +2 -20
  104. package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +2 -20
  105. package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +2 -21
  106. package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -20
  107. package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -20
  108. package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +2 -20
  109. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -23
  110. package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -28
  111. package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +2 -20
  112. package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +2 -20
  113. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
  114. package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +2 -25
  115. package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -20
  116. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
  117. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -23
  118. package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -20
  119. package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +2 -25
  120. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -20
  121. package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -20
  122. package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -20
  123. package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +2 -20
  124. package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +2 -20
  125. package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -26
  126. package/dist-types/ts3.4/commands/index.d.ts +47 -0
  127. package/dist-types/ts3.4/index.d.ts +4 -59
  128. package/dist-types/ts3.4/models/models_0.d.ts +436 -1639
  129. package/dist-types/ts3.4/pagination/index.d.ts +10 -0
  130. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
  131. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
  132. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
  133. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
  134. package/package.json +32 -32
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Create a listener to process inbound connections from clients to a custom routing accelerator.
10
- * Connections arrive to assigned static IP addresses on the port range that you specify. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GlobalAcceleratorClient, CreateCustomRoutingListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
15
- * // const { GlobalAcceleratorClient, CreateCustomRoutingListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
16
- * const client = new GlobalAcceleratorClient(config);
17
- * const command = new CreateCustomRoutingListenerCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateCustomRoutingListenerCommandInput} for command's `input` shape.
22
- * @see {@link CreateCustomRoutingListenerCommandOutput} for command's `response` shape.
23
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateCustomRoutingListenerCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS
10
- * Region. A resource must be valid and active when you add it as an endpoint.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GlobalAcceleratorClient, CreateEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
15
- * // const { GlobalAcceleratorClient, CreateEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
16
- * const client = new GlobalAcceleratorClient(config);
17
- * const command = new CreateEndpointGroupCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateEndpointGroupCommandInput} for command's `input` shape.
22
- * @see {@link CreateEndpointGroupCommandOutput} for command's `response` shape.
23
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateEndpointGroupCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static
10
- * IP addresses on a port, port range, or list of port ranges that you specify. </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GlobalAcceleratorClient, CreateListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
15
- * // const { GlobalAcceleratorClient, CreateListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
16
- * const client = new GlobalAcceleratorClient(config);
17
- * const command = new CreateListenerCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link CreateListenerCommandInput} for command's `input` shape.
22
- * @see {@link CreateListenerCommandOutput} for command's `response` shape.
23
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class CreateListenerCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources
10
- * (listeners and endpoint groups). To disable the accelerator, update the accelerator to set <code>Enabled</code> to false.</p>
11
- * <important>
12
- * <p>When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.
13
- * Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
14
- * </p>
15
- * <p>The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and
16
- * it no longer accepts or routes traffic. However, when you <i>delete</i> an accelerator, you lose the
17
- * static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them.
18
- * As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You
19
- * can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information,
20
- * see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html">Authentication and Access Control</a> in
21
- * the <i>AWS Global Accelerator Developer Guide</i>.</p>
22
- * </important>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { GlobalAcceleratorClient, DeleteAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
27
- * // const { GlobalAcceleratorClient, DeleteAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
28
- * const client = new GlobalAcceleratorClient(config);
29
- * const command = new DeleteAcceleratorCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link DeleteAcceleratorCommandInput} for command's `input` shape.
34
- * @see {@link DeleteAcceleratorCommandOutput} for command's `response` shape.
35
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class DeleteAcceleratorCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources
10
- * (listeners and endpoint groups). To disable the accelerator, update the accelerator to set <code>Enabled</code> to false.</p>
11
- * <important>
12
- * <p>When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.
13
- * </p>
14
- * <p>The IP
15
- * addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and
16
- * it no longer accepts or routes traffic. However, when you <i>delete</i> an accelerator, you lose the
17
- * static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them.
18
- * As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You
19
- * can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information,
20
- * see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html">Authentication and Access Control</a> in
21
- * the <i>AWS Global Accelerator Developer Guide</i>.</p>
22
- * </important>
23
- * @example
24
- * Use a bare-bones client and the command you need to make an API call.
25
- * ```javascript
26
- * import { GlobalAcceleratorClient, DeleteCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
27
- * // const { GlobalAcceleratorClient, DeleteCustomRoutingAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
28
- * const client = new GlobalAcceleratorClient(config);
29
- * const command = new DeleteCustomRoutingAcceleratorCommand(input);
30
- * const response = await client.send(command);
31
- * ```
32
- *
33
- * @see {@link DeleteCustomRoutingAcceleratorCommandInput} for command's `input` shape.
34
- * @see {@link DeleteCustomRoutingAcceleratorCommandOutput} for command's `response` shape.
35
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
36
- *
37
- */
38
8
  class DeleteCustomRoutingAcceleratorCommand extends smithy_client_1.Command {
39
- // Start section: command_properties
40
- // End section: command_properties
41
9
  constructor(input) {
42
- // Start section: command_constructor
43
10
  super();
44
11
  this.input = input;
45
- // End section: command_constructor
46
12
  }
47
- /**
48
- * @internal
49
- */
50
13
  resolveMiddleware(clientStack, configuration, options) {
51
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
52
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Delete an endpoint group from a listener for a custom routing accelerator.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DeleteCustomRoutingEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DeleteCustomRoutingEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DeleteCustomRoutingEndpointGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteCustomRoutingEndpointGroupCommandInput} for command's `input` shape.
21
- * @see {@link DeleteCustomRoutingEndpointGroupCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteCustomRoutingEndpointGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Delete a listener for a custom routing accelerator.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DeleteCustomRoutingListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DeleteCustomRoutingListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DeleteCustomRoutingListenerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteCustomRoutingListenerCommandInput} for command's `input` shape.
21
- * @see {@link DeleteCustomRoutingListenerCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteCustomRoutingListenerCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Delete an endpoint group from a listener.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DeleteEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DeleteEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DeleteEndpointGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteEndpointGroupCommandInput} for command's `input` shape.
21
- * @see {@link DeleteEndpointGroupCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteEndpointGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Delete a listener from an accelerator.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DeleteListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DeleteListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DeleteListenerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DeleteListenerCommandInput} for command's `input` shape.
21
- * @see {@link DeleteListenerCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DeleteListenerCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic
10
- * for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, or deny traffic to a
11
- * specified list of destination IP addresses and ports. Note that you cannot specify IP addresses
12
- * or ports outside of the range that you configured for the endpoint group.</p>
13
- * <p>After you make changes, you can verify that the updates are complete by checking the status of your
14
- * accelerator: the status changes from IN_PROGRESS to DEPLOYED.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { GlobalAcceleratorClient, DenyCustomRoutingTrafficCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
19
- * // const { GlobalAcceleratorClient, DenyCustomRoutingTrafficCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
20
- * const client = new GlobalAcceleratorClient(config);
21
- * const command = new DenyCustomRoutingTrafficCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link DenyCustomRoutingTrafficCommandInput} for command's `input` shape.
26
- * @see {@link DenyCustomRoutingTrafficCommandOutput} for command's `response` shape.
27
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class DenyCustomRoutingTrafficCommand extends smithy_client_1.Command {
31
- // Start section: command_properties
32
- // End section: command_properties
33
9
  constructor(input) {
34
- // Start section: command_constructor
35
10
  super();
36
11
  this.input = input;
37
- // End section: command_constructor
38
12
  }
39
- /**
40
- * @internal
41
- */
42
13
  resolveMiddleware(clientStack, configuration, options) {
43
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
44
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Releases the specified address range that you provisioned to use with your AWS resources
10
- * through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. </p>
11
- * <p>Before you can release an address range, you must stop advertising it by using <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html">WithdrawByoipCidr</a> and you must not have
12
- * any accelerators that are using static IP addresses allocated from its address range.
13
- * </p>
14
- * <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring Your Own
15
- * IP Addresses (BYOIP)</a> in the <i>AWS Global Accelerator Developer Guide</i>.</p>
16
- * @example
17
- * Use a bare-bones client and the command you need to make an API call.
18
- * ```javascript
19
- * import { GlobalAcceleratorClient, DeprovisionByoipCidrCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
20
- * // const { GlobalAcceleratorClient, DeprovisionByoipCidrCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
21
- * const client = new GlobalAcceleratorClient(config);
22
- * const command = new DeprovisionByoipCidrCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link DeprovisionByoipCidrCommandInput} for command's `input` shape.
27
- * @see {@link DeprovisionByoipCidrCommandOutput} for command's `response` shape.
28
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class DeprovisionByoipCidrCommand extends smithy_client_1.Command {
32
- // Start section: command_properties
33
- // End section: command_properties
34
9
  constructor(input) {
35
- // Start section: command_constructor
36
10
  super();
37
11
  this.input = input;
38
- // End section: command_constructor
39
12
  }
40
- /**
41
- * @internal
42
- */
43
13
  resolveMiddleware(clientStack, configuration, options) {
44
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
45
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describe the attributes of an accelerator.
10
- * </p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GlobalAcceleratorClient, DescribeAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
15
- * // const { GlobalAcceleratorClient, DescribeAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
16
- * const client = new GlobalAcceleratorClient(config);
17
- * const command = new DescribeAcceleratorAttributesCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link DescribeAcceleratorAttributesCommandInput} for command's `input` shape.
22
- * @see {@link DescribeAcceleratorAttributesCommandOutput} for command's `response` shape.
23
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class DescribeAcceleratorAttributesCommand extends smithy_client_1.Command {
27
- // Start section: command_properties
28
- // End section: command_properties
29
9
  constructor(input) {
30
- // Start section: command_constructor
31
10
  super();
32
11
  this.input = input;
33
- // End section: command_constructor
34
12
  }
35
- /**
36
- * @internal
37
- */
38
13
  resolveMiddleware(clientStack, configuration, options) {
39
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
40
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describe an accelerator. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DescribeAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeAcceleratorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeAcceleratorCommandInput} for command's `input` shape.
21
- * @see {@link DescribeAcceleratorCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeAcceleratorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describe the attributes of a custom routing accelerator. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeCustomRoutingAcceleratorAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeCustomRoutingAcceleratorAttributesCommandInput} for command's `input` shape.
21
- * @see {@link DescribeCustomRoutingAcceleratorAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeCustomRoutingAcceleratorAttributesCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describe a custom routing accelerator. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeCustomRoutingAcceleratorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeCustomRoutingAcceleratorCommandInput} for command's `input` shape.
21
- * @see {@link DescribeCustomRoutingAcceleratorCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeCustomRoutingAcceleratorCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
5
  const smithy_client_1 = require("@aws-sdk/smithy-client");
6
6
  const models_0_1 = require("../models/models_0");
7
7
  const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
8
- /**
9
- * <p>Describe an endpoint group for a custom routing accelerator. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DescribeCustomRoutingEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeCustomRoutingEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeCustomRoutingEndpointGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeCustomRoutingEndpointGroupCommandInput} for command's `input` shape.
21
- * @see {@link DescribeCustomRoutingEndpointGroupCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeCustomRoutingEndpointGroupCommand extends smithy_client_1.Command {
26
- // Start section: command_properties
27
- // End section: command_properties
28
9
  constructor(input) {
29
- // Start section: command_constructor
30
10
  super();
31
11
  this.input = input;
32
- // End section: command_constructor
33
12
  }
34
- /**
35
- * @internal
36
- */
37
13
  resolveMiddleware(clientStack, configuration, options) {
38
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
39
15
  const stack = clientStack.concat(this.middlewareStack);