@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>Update the attributes 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, UpdateAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, UpdateAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new UpdateAcceleratorAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateAcceleratorAttributesCommandInput} for command's `input` shape.
21
- * @see {@link UpdateAcceleratorAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateAcceleratorAttributesCommand 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>Update an accelerator. </p>
10
- *
11
- * <important>
12
- * <p>Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the
13
- * US West (Oregon) Region to create or update accelerators.</p>
14
- * </important>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { GlobalAcceleratorClient, UpdateAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
19
- * // const { GlobalAcceleratorClient, UpdateAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
20
- * const client = new GlobalAcceleratorClient(config);
21
- * const command = new UpdateAcceleratorCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link UpdateAcceleratorCommandInput} for command's `input` shape.
26
- * @see {@link UpdateAcceleratorCommandOutput} for command's `response` shape.
27
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
8
  class UpdateAcceleratorCommand 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>Update the attributes 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, UpdateCustomRoutingAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, UpdateCustomRoutingAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new UpdateCustomRoutingAcceleratorAttributesCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateCustomRoutingAcceleratorAttributesCommandInput} for command's `input` shape.
21
- * @see {@link UpdateCustomRoutingAcceleratorAttributesCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateCustomRoutingAcceleratorAttributesCommand 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>Update 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, UpdateCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, UpdateCustomRoutingAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new UpdateCustomRoutingAcceleratorCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateCustomRoutingAcceleratorCommandInput} for command's `input` shape.
21
- * @see {@link UpdateCustomRoutingAcceleratorCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateCustomRoutingAcceleratorCommand 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>Update 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, UpdateCustomRoutingListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, UpdateCustomRoutingListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new UpdateCustomRoutingListenerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateCustomRoutingListenerCommandInput} for command's `input` shape.
21
- * @see {@link UpdateCustomRoutingListenerCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateCustomRoutingListenerCommand 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>Update an endpoint group. A resource must be valid and active when you add it as an endpoint.</p>
10
- * @example
11
- * Use a bare-bones client and the command you need to make an API call.
12
- * ```javascript
13
- * import { GlobalAcceleratorClient, UpdateEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, UpdateEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new UpdateEndpointGroupCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateEndpointGroupCommandInput} for command's `input` shape.
21
- * @see {@link UpdateEndpointGroupCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateEndpointGroupCommand 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>Update 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, UpdateListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
14
- * // const { GlobalAcceleratorClient, UpdateListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
15
- * const client = new GlobalAcceleratorClient(config);
16
- * const command = new UpdateListenerCommand(input);
17
- * const response = await client.send(command);
18
- * ```
19
- *
20
- * @see {@link UpdateListenerCommandInput} for command's `input` shape.
21
- * @see {@link UpdateListenerCommandOutput} for command's `response` shape.
22
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
23
- *
24
- */
25
8
  class UpdateListenerCommand 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,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>Stops advertising an address range that is provisioned as an address pool.
10
- * You can perform this operation at most once every 10 seconds, even if you specify different address
11
- * ranges each time.</p>
12
- * <p>It can take a few minutes before traffic to the specified addresses stops routing to AWS because of
13
- * propagation delays.</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, WithdrawByoipCidrCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
20
- * // const { GlobalAcceleratorClient, WithdrawByoipCidrCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
21
- * const client = new GlobalAcceleratorClient(config);
22
- * const command = new WithdrawByoipCidrCommand(input);
23
- * const response = await client.send(command);
24
- * ```
25
- *
26
- * @see {@link WithdrawByoipCidrCommandInput} for command's `input` shape.
27
- * @see {@link WithdrawByoipCidrCommandOutput} for command's `response` shape.
28
- * @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
29
- *
30
- */
31
8
  class WithdrawByoipCidrCommand 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);
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./AddCustomRoutingEndpointsCommand"), exports);
5
+ tslib_1.__exportStar(require("./AdvertiseByoipCidrCommand"), exports);
6
+ tslib_1.__exportStar(require("./AllowCustomRoutingTrafficCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateAcceleratorCommand"), exports);
8
+ tslib_1.__exportStar(require("./CreateCustomRoutingAcceleratorCommand"), exports);
9
+ tslib_1.__exportStar(require("./CreateCustomRoutingEndpointGroupCommand"), exports);
10
+ tslib_1.__exportStar(require("./CreateCustomRoutingListenerCommand"), exports);
11
+ tslib_1.__exportStar(require("./CreateEndpointGroupCommand"), exports);
12
+ tslib_1.__exportStar(require("./CreateListenerCommand"), exports);
13
+ tslib_1.__exportStar(require("./DeleteAcceleratorCommand"), exports);
14
+ tslib_1.__exportStar(require("./DeleteCustomRoutingAcceleratorCommand"), exports);
15
+ tslib_1.__exportStar(require("./DeleteCustomRoutingEndpointGroupCommand"), exports);
16
+ tslib_1.__exportStar(require("./DeleteCustomRoutingListenerCommand"), exports);
17
+ tslib_1.__exportStar(require("./DeleteEndpointGroupCommand"), exports);
18
+ tslib_1.__exportStar(require("./DeleteListenerCommand"), exports);
19
+ tslib_1.__exportStar(require("./DenyCustomRoutingTrafficCommand"), exports);
20
+ tslib_1.__exportStar(require("./DeprovisionByoipCidrCommand"), exports);
21
+ tslib_1.__exportStar(require("./DescribeAcceleratorAttributesCommand"), exports);
22
+ tslib_1.__exportStar(require("./DescribeAcceleratorCommand"), exports);
23
+ tslib_1.__exportStar(require("./DescribeCustomRoutingAcceleratorAttributesCommand"), exports);
24
+ tslib_1.__exportStar(require("./DescribeCustomRoutingAcceleratorCommand"), exports);
25
+ tslib_1.__exportStar(require("./DescribeCustomRoutingEndpointGroupCommand"), exports);
26
+ tslib_1.__exportStar(require("./DescribeCustomRoutingListenerCommand"), exports);
27
+ tslib_1.__exportStar(require("./DescribeEndpointGroupCommand"), exports);
28
+ tslib_1.__exportStar(require("./DescribeListenerCommand"), exports);
29
+ tslib_1.__exportStar(require("./ListAcceleratorsCommand"), exports);
30
+ tslib_1.__exportStar(require("./ListByoipCidrsCommand"), exports);
31
+ tslib_1.__exportStar(require("./ListCustomRoutingAcceleratorsCommand"), exports);
32
+ tslib_1.__exportStar(require("./ListCustomRoutingEndpointGroupsCommand"), exports);
33
+ tslib_1.__exportStar(require("./ListCustomRoutingListenersCommand"), exports);
34
+ tslib_1.__exportStar(require("./ListCustomRoutingPortMappingsByDestinationCommand"), exports);
35
+ tslib_1.__exportStar(require("./ListCustomRoutingPortMappingsCommand"), exports);
36
+ tslib_1.__exportStar(require("./ListEndpointGroupsCommand"), exports);
37
+ tslib_1.__exportStar(require("./ListListenersCommand"), exports);
38
+ tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
39
+ tslib_1.__exportStar(require("./ProvisionByoipCidrCommand"), exports);
40
+ tslib_1.__exportStar(require("./RemoveCustomRoutingEndpointsCommand"), exports);
41
+ tslib_1.__exportStar(require("./TagResourceCommand"), exports);
42
+ tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
43
+ tslib_1.__exportStar(require("./UpdateAcceleratorAttributesCommand"), exports);
44
+ tslib_1.__exportStar(require("./UpdateAcceleratorCommand"), exports);
45
+ tslib_1.__exportStar(require("./UpdateCustomRoutingAcceleratorAttributesCommand"), exports);
46
+ tslib_1.__exportStar(require("./UpdateCustomRoutingAcceleratorCommand"), exports);
47
+ tslib_1.__exportStar(require("./UpdateCustomRoutingListenerCommand"), exports);
48
+ tslib_1.__exportStar(require("./UpdateEndpointGroupCommand"), exports);
49
+ tslib_1.__exportStar(require("./UpdateListenerCommand"), exports);
50
+ tslib_1.__exportStar(require("./WithdrawByoipCidrCommand"), exports);
@@ -28,22 +28,27 @@ const partitionHash = {
28
28
  "us-west-1",
29
29
  "us-west-2",
30
30
  ],
31
+ regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
31
32
  hostname: "globalaccelerator.{region}.amazonaws.com",
32
33
  },
33
34
  "aws-cn": {
34
35
  regions: ["cn-north-1", "cn-northwest-1"],
36
+ regionRegex: "^cn\\-\\w+\\-\\d+$",
35
37
  hostname: "globalaccelerator.{region}.amazonaws.com.cn",
36
38
  },
37
39
  "aws-iso": {
38
- regions: ["us-iso-east-1"],
40
+ regions: ["us-iso-east-1", "us-iso-west-1"],
41
+ regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
39
42
  hostname: "globalaccelerator.{region}.c2s.ic.gov",
40
43
  },
41
44
  "aws-iso-b": {
42
45
  regions: ["us-isob-east-1"],
46
+ regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
43
47
  hostname: "globalaccelerator.{region}.sc2s.sgov.gov",
44
48
  },
45
49
  "aws-us-gov": {
46
50
  regions: ["us-gov-east-1", "us-gov-west-1"],
51
+ regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
47
52
  hostname: "globalaccelerator.{region}.amazonaws.com",
48
53
  },
49
54
  };
package/dist-cjs/index.js CHANGED
@@ -1,63 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./GlobalAcceleratorClient"), exports);
5
4
  tslib_1.__exportStar(require("./GlobalAccelerator"), exports);
6
- tslib_1.__exportStar(require("./commands/AddCustomRoutingEndpointsCommand"), exports);
7
- tslib_1.__exportStar(require("./commands/AdvertiseByoipCidrCommand"), exports);
8
- tslib_1.__exportStar(require("./commands/AllowCustomRoutingTrafficCommand"), exports);
9
- tslib_1.__exportStar(require("./commands/CreateAcceleratorCommand"), exports);
10
- tslib_1.__exportStar(require("./commands/CreateCustomRoutingAcceleratorCommand"), exports);
11
- tslib_1.__exportStar(require("./commands/CreateCustomRoutingEndpointGroupCommand"), exports);
12
- tslib_1.__exportStar(require("./commands/CreateCustomRoutingListenerCommand"), exports);
13
- tslib_1.__exportStar(require("./commands/CreateEndpointGroupCommand"), exports);
14
- tslib_1.__exportStar(require("./commands/CreateListenerCommand"), exports);
15
- tslib_1.__exportStar(require("./commands/DeleteAcceleratorCommand"), exports);
16
- tslib_1.__exportStar(require("./commands/DeleteCustomRoutingAcceleratorCommand"), exports);
17
- tslib_1.__exportStar(require("./commands/DeleteCustomRoutingEndpointGroupCommand"), exports);
18
- tslib_1.__exportStar(require("./commands/DeleteCustomRoutingListenerCommand"), exports);
19
- tslib_1.__exportStar(require("./commands/DeleteEndpointGroupCommand"), exports);
20
- tslib_1.__exportStar(require("./commands/DeleteListenerCommand"), exports);
21
- tslib_1.__exportStar(require("./commands/DenyCustomRoutingTrafficCommand"), exports);
22
- tslib_1.__exportStar(require("./commands/DeprovisionByoipCidrCommand"), exports);
23
- tslib_1.__exportStar(require("./commands/DescribeAcceleratorCommand"), exports);
24
- tslib_1.__exportStar(require("./commands/DescribeAcceleratorAttributesCommand"), exports);
25
- tslib_1.__exportStar(require("./commands/DescribeCustomRoutingAcceleratorCommand"), exports);
26
- tslib_1.__exportStar(require("./commands/DescribeCustomRoutingAcceleratorAttributesCommand"), exports);
27
- tslib_1.__exportStar(require("./commands/DescribeCustomRoutingEndpointGroupCommand"), exports);
28
- tslib_1.__exportStar(require("./commands/DescribeCustomRoutingListenerCommand"), exports);
29
- tslib_1.__exportStar(require("./commands/DescribeEndpointGroupCommand"), exports);
30
- tslib_1.__exportStar(require("./commands/DescribeListenerCommand"), exports);
31
- tslib_1.__exportStar(require("./commands/ListAcceleratorsCommand"), exports);
32
- tslib_1.__exportStar(require("./pagination/ListAcceleratorsPaginator"), exports);
33
- tslib_1.__exportStar(require("./commands/ListByoipCidrsCommand"), exports);
34
- tslib_1.__exportStar(require("./pagination/ListByoipCidrsPaginator"), exports);
35
- tslib_1.__exportStar(require("./commands/ListCustomRoutingAcceleratorsCommand"), exports);
36
- tslib_1.__exportStar(require("./pagination/ListCustomRoutingAcceleratorsPaginator"), exports);
37
- tslib_1.__exportStar(require("./commands/ListCustomRoutingEndpointGroupsCommand"), exports);
38
- tslib_1.__exportStar(require("./pagination/ListCustomRoutingEndpointGroupsPaginator"), exports);
39
- tslib_1.__exportStar(require("./commands/ListCustomRoutingListenersCommand"), exports);
40
- tslib_1.__exportStar(require("./pagination/ListCustomRoutingListenersPaginator"), exports);
41
- tslib_1.__exportStar(require("./commands/ListCustomRoutingPortMappingsCommand"), exports);
42
- tslib_1.__exportStar(require("./pagination/ListCustomRoutingPortMappingsPaginator"), exports);
43
- tslib_1.__exportStar(require("./commands/ListCustomRoutingPortMappingsByDestinationCommand"), exports);
44
- tslib_1.__exportStar(require("./pagination/ListCustomRoutingPortMappingsByDestinationPaginator"), exports);
45
- tslib_1.__exportStar(require("./commands/ListEndpointGroupsCommand"), exports);
46
- tslib_1.__exportStar(require("./pagination/ListEndpointGroupsPaginator"), exports);
47
- tslib_1.__exportStar(require("./commands/ListListenersCommand"), exports);
48
- tslib_1.__exportStar(require("./pagination/ListListenersPaginator"), exports);
49
- tslib_1.__exportStar(require("./commands/ListTagsForResourceCommand"), exports);
50
- tslib_1.__exportStar(require("./commands/ProvisionByoipCidrCommand"), exports);
51
- tslib_1.__exportStar(require("./commands/RemoveCustomRoutingEndpointsCommand"), exports);
52
- tslib_1.__exportStar(require("./commands/TagResourceCommand"), exports);
53
- tslib_1.__exportStar(require("./commands/UntagResourceCommand"), exports);
54
- tslib_1.__exportStar(require("./commands/UpdateAcceleratorCommand"), exports);
55
- tslib_1.__exportStar(require("./commands/UpdateAcceleratorAttributesCommand"), exports);
56
- tslib_1.__exportStar(require("./commands/UpdateCustomRoutingAcceleratorCommand"), exports);
57
- tslib_1.__exportStar(require("./commands/UpdateCustomRoutingAcceleratorAttributesCommand"), exports);
58
- tslib_1.__exportStar(require("./commands/UpdateCustomRoutingListenerCommand"), exports);
59
- tslib_1.__exportStar(require("./commands/UpdateEndpointGroupCommand"), exports);
60
- tslib_1.__exportStar(require("./commands/UpdateListenerCommand"), exports);
61
- tslib_1.__exportStar(require("./commands/WithdrawByoipCidrCommand"), exports);
62
- tslib_1.__exportStar(require("./pagination/Interfaces"), exports);
63
- tslib_1.__exportStar(require("./models/index"), exports);
5
+ tslib_1.__exportStar(require("./GlobalAcceleratorClient"), exports);
6
+ tslib_1.__exportStar(require("./commands"), exports);
7
+ tslib_1.__exportStar(require("./models"), exports);
8
+ tslib_1.__exportStar(require("./pagination"), exports);