@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,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>The description of 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, DescribeCustomRoutingListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeCustomRoutingListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeCustomRoutingListenerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeCustomRoutingListenerCommandInput} for command's `input` shape.
21
- * @see {@link DescribeCustomRoutingListenerCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeCustomRoutingListenerCommand 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. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, DescribeEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeEndpointGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeEndpointGroupCommandInput} for command's `input` shape.
21
- * @see {@link DescribeEndpointGroupCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeEndpointGroupCommand 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 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, DescribeListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, DescribeListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new DescribeListenerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link DescribeListenerCommandInput} for command's `input` shape.
21
- * @see {@link DescribeListenerCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class DescribeListenerCommand 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>List the accelerators for an AWS account. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, ListAcceleratorsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, ListAcceleratorsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new ListAcceleratorsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListAcceleratorsCommandInput} for command's `input` shape.
21
- * @see {@link ListAcceleratorsCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListAcceleratorsCommand 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,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>Lists the IP address ranges that were specified in calls to <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html">ProvisionByoipCidr</a>, including
10
- * the current state and a history of state changes.</p>
11
- * @example
12
- * Use a bare-bones client and the command you need to make an API call.
13
- * ```javascript
14
- * import { GlobalAcceleratorClient, ListByoipCidrsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
15
- * // const { GlobalAcceleratorClient, ListByoipCidrsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
16
- * const client = new GlobalAcceleratorClient(config);
17
- * const command = new ListByoipCidrsCommand(input);
18
- * const response = await client.send(command);
19
- * ```
20
- *
21
- * @see {@link ListByoipCidrsCommandInput} for command's `input` shape.
22
- * @see {@link ListByoipCidrsCommandOutput} for command's `response` shape.
23
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
24
- *
25
- */
26
8
  class ListByoipCidrsCommand 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>List the custom routing accelerators for an AWS account. </p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, ListCustomRoutingAcceleratorsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, ListCustomRoutingAcceleratorsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new ListCustomRoutingAcceleratorsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListCustomRoutingAcceleratorsCommandInput} for command's `input` shape.
21
- * @see {@link ListCustomRoutingAcceleratorsCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListCustomRoutingAcceleratorsCommand 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>List the endpoint groups that are associated with 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, ListCustomRoutingEndpointGroupsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, ListCustomRoutingEndpointGroupsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new ListCustomRoutingEndpointGroupsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListCustomRoutingEndpointGroupsCommandInput} for command's `input` shape.
21
- * @see {@link ListCustomRoutingEndpointGroupsCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListCustomRoutingEndpointGroupsCommand 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>List the listeners 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, ListCustomRoutingListenersCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, ListCustomRoutingListenersCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new ListCustomRoutingListenersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListCustomRoutingListenersCommandInput} for command's `input` shape.
21
- * @see {@link ListCustomRoutingListenersCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListCustomRoutingListenersCommand 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,38 +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>List the port mappings for a specific EC2 instance (destination) in a VPC subnet endpoint. The
10
- * response is the mappings for one destination IP address. This is useful when your subnet endpoint has mappings that
11
- * span multiple custom routing accelerators in your account, or for scenarios where you only want to
12
- * list the port mappings for a specific destination instance.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { GlobalAcceleratorClient, ListCustomRoutingPortMappingsByDestinationCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
17
- * // const { GlobalAcceleratorClient, ListCustomRoutingPortMappingsByDestinationCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
18
- * const client = new GlobalAcceleratorClient(config);
19
- * const command = new ListCustomRoutingPortMappingsByDestinationCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link ListCustomRoutingPortMappingsByDestinationCommandInput} for command's `input` shape.
24
- * @see {@link ListCustomRoutingPortMappingsByDestinationCommandOutput} for command's `response` shape.
25
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class ListCustomRoutingPortMappingsByDestinationCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,43 +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>Provides a complete mapping from the public accelerator IP address and port to destination EC2 instance
10
- * IP addresses and ports in the virtual public cloud (VPC) subnet endpoint for a custom routing accelerator.
11
- * For each subnet endpoint that you add, Global Accelerator creates a new static port mapping for the accelerator. The port
12
- * mappings don't change after Global Accelerator generates them, so you can retrieve and cache the full mapping on your servers. </p>
13
- * <p>If you remove a subnet from your accelerator, Global Accelerator removes (reclaims) the port mappings. If you add a subnet to
14
- * your accelerator, Global Accelerator creates new port mappings (the existing ones don't change). If you add or remove EC2 instances
15
- * in your subnet, the port mappings don't change, because the mappings are created when you add the subnet to Global Accelerator.</p>
16
- * <p>The mappings also include a flag for each destination denoting which destination IP addresses and
17
- * ports are allowed or denied traffic.</p>
18
- * @example
19
- * Use a bare-bones client and the command you need to make an API call.
20
- * ```javascript
21
- * import { GlobalAcceleratorClient, ListCustomRoutingPortMappingsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
22
- * // const { GlobalAcceleratorClient, ListCustomRoutingPortMappingsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
23
- * const client = new GlobalAcceleratorClient(config);
24
- * const command = new ListCustomRoutingPortMappingsCommand(input);
25
- * const response = await client.send(command);
26
- * ```
27
- *
28
- * @see {@link ListCustomRoutingPortMappingsCommandInput} for command's `input` shape.
29
- * @see {@link ListCustomRoutingPortMappingsCommandOutput} for command's `response` shape.
30
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
31
- *
32
- */
33
8
  class ListCustomRoutingPortMappingsCommand extends smithy_client_1.Command {
34
- // Start section: command_properties
35
- // End section: command_properties
36
9
  constructor(input) {
37
- // Start section: command_constructor
38
10
  super();
39
11
  this.input = input;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  resolveMiddleware(clientStack, configuration, options) {
46
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
47
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>List the endpoint groups that are associated with 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, ListEndpointGroupsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, ListEndpointGroupsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new ListEndpointGroupsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListEndpointGroupsCommandInput} for command's `input` shape.
21
- * @see {@link ListEndpointGroupsCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListEndpointGroupsCommand 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>List the listeners for 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, ListListenersCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, ListListenersCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new ListListenersCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link ListListenersCommandInput} for command's `input` shape.
21
- * @see {@link ListListenersCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class ListListenersCommand 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,37 +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>List all tags for an accelerator. </p>
10
- * <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html">Tagging
11
- * in AWS Global Accelerator</a> in the <i>AWS Global Accelerator Developer Guide</i>. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { GlobalAcceleratorClient, ListTagsForResourceCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
16
- * // const { GlobalAcceleratorClient, ListTagsForResourceCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
17
- * const client = new GlobalAcceleratorClient(config);
18
- * const command = new ListTagsForResourceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
23
- * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
24
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class ListTagsForResourceCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
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>Provisions an IP address range to use with your AWS resources through bring your own IP
10
- * addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned,
11
- * it is ready to be advertised using <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/AdvertiseByoipCidr.html">
12
- * AdvertiseByoipCidr</a>.</p>
13
- * <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring Your Own
14
- * IP Addresses (BYOIP)</a> in the <i>AWS Global Accelerator Developer Guide</i>.</p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { GlobalAcceleratorClient, ProvisionByoipCidrCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
19
- * // const { GlobalAcceleratorClient, ProvisionByoipCidrCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
20
- * const client = new GlobalAcceleratorClient(config);
21
- * const command = new ProvisionByoipCidrCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link ProvisionByoipCidrCommandInput} for command's `input` shape.
26
- * @see {@link ProvisionByoipCidrCommandOutput} for command's `response` shape.
27
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class ProvisionByoipCidrCommand 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,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>Remove endpoints from 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, RemoveCustomRoutingEndpointsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, RemoveCustomRoutingEndpointsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new RemoveCustomRoutingEndpointsCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link RemoveCustomRoutingEndpointsCommandInput} for command's `input` shape.
21
- * @see {@link RemoveCustomRoutingEndpointsCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class RemoveCustomRoutingEndpointsCommand 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,37 +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>Add tags to an accelerator resource. </p>
10
- * <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html">Tagging
11
- * in AWS Global Accelerator</a> in the <i>AWS Global Accelerator Developer Guide</i>. </p>
12
- * @example
13
- * Use a bare-bones client and the command you need to make an API call.
14
- * ```javascript
15
- * import { GlobalAcceleratorClient, TagResourceCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
16
- * // const { GlobalAcceleratorClient, TagResourceCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
17
- * const client = new GlobalAcceleratorClient(config);
18
- * const command = new TagResourceCommand(input);
19
- * const response = await client.send(command);
20
- * ```
21
- *
22
- * @see {@link TagResourceCommandInput} for command's `input` shape.
23
- * @see {@link TagResourceCommandOutput} for command's `response` shape.
24
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
25
- *
26
- */
27
8
  class TagResourceCommand extends smithy_client_1.Command {
28
- // Start section: command_properties
29
- // End section: command_properties
30
9
  constructor(input) {
31
- // Start section: command_constructor
32
10
  super();
33
11
  this.input = input;
34
- // End section: command_constructor
35
12
  }
36
- /**
37
- * @internal
38
- */
39
13
  resolveMiddleware(clientStack, configuration, options) {
40
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
41
15
  const stack = clientStack.concat(this.middlewareStack);
@@ -5,38 +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>Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value.
10
- * The operation succeeds even if you attempt to remove tags from an accelerator that was already removed.</p>
11
- * <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html">Tagging
12
- * in AWS Global Accelerator</a> in the <i>AWS Global Accelerator Developer Guide</i>.</p>
13
- * @example
14
- * Use a bare-bones client and the command you need to make an API call.
15
- * ```javascript
16
- * import { GlobalAcceleratorClient, UntagResourceCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
17
- * // const { GlobalAcceleratorClient, UntagResourceCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
18
- * const client = new GlobalAcceleratorClient(config);
19
- * const command = new UntagResourceCommand(input);
20
- * const response = await client.send(command);
21
- * ```
22
- *
23
- * @see {@link UntagResourceCommandInput} for command's `input` shape.
24
- * @see {@link UntagResourceCommandOutput} for command's `response` shape.
25
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
26
- *
27
- */
28
8
  class UntagResourceCommand extends smithy_client_1.Command {
29
- // Start section: command_properties
30
- // End section: command_properties
31
9
  constructor(input) {
32
- // Start section: command_constructor
33
10
  super();
34
11
  this.input = input;
35
- // End section: command_constructor
36
12
  }
37
- /**
38
- * @internal
39
- */
40
13
  resolveMiddleware(clientStack, configuration, options) {
41
14
  this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
42
15
  const stack = clientStack.concat(this.middlewareStack);