@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.
- package/CHANGELOG.md +42 -0
- package/dist-cjs/GlobalAccelerator.js +0 -150
- package/dist-cjs/GlobalAcceleratorClient.js +0 -155
- package/dist-cjs/commands/AddCustomRoutingEndpointsCommand.js +0 -34
- package/dist-cjs/commands/AdvertiseByoipCidrCommand.js +0 -30
- package/dist-cjs/commands/AllowCustomRoutingTrafficCommand.js +0 -29
- package/dist-cjs/commands/CreateAcceleratorCommand.js +0 -29
- package/dist-cjs/commands/CreateCustomRoutingAcceleratorCommand.js +0 -33
- package/dist-cjs/commands/CreateCustomRoutingEndpointGroupCommand.js +0 -26
- package/dist-cjs/commands/CreateCustomRoutingListenerCommand.js +0 -25
- package/dist-cjs/commands/CreateEndpointGroupCommand.js +0 -25
- package/dist-cjs/commands/CreateListenerCommand.js +0 -25
- package/dist-cjs/commands/DeleteAcceleratorCommand.js +0 -37
- package/dist-cjs/commands/DeleteCustomRoutingAcceleratorCommand.js +0 -37
- package/dist-cjs/commands/DeleteCustomRoutingEndpointGroupCommand.js +0 -24
- package/dist-cjs/commands/DeleteCustomRoutingListenerCommand.js +0 -24
- package/dist-cjs/commands/DeleteEndpointGroupCommand.js +0 -24
- package/dist-cjs/commands/DeleteListenerCommand.js +0 -24
- package/dist-cjs/commands/DenyCustomRoutingTrafficCommand.js +0 -29
- package/dist-cjs/commands/DeprovisionByoipCidrCommand.js +0 -30
- package/dist-cjs/commands/DescribeAcceleratorAttributesCommand.js +0 -25
- package/dist-cjs/commands/DescribeAcceleratorCommand.js +0 -24
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorAttributesCommand.js +0 -24
- package/dist-cjs/commands/DescribeCustomRoutingAcceleratorCommand.js +0 -24
- package/dist-cjs/commands/DescribeCustomRoutingEndpointGroupCommand.js +0 -24
- package/dist-cjs/commands/DescribeCustomRoutingListenerCommand.js +0 -24
- package/dist-cjs/commands/DescribeEndpointGroupCommand.js +0 -24
- package/dist-cjs/commands/DescribeListenerCommand.js +0 -24
- package/dist-cjs/commands/ListAcceleratorsCommand.js +0 -24
- package/dist-cjs/commands/ListByoipCidrsCommand.js +0 -25
- package/dist-cjs/commands/ListCustomRoutingAcceleratorsCommand.js +0 -24
- package/dist-cjs/commands/ListCustomRoutingEndpointGroupsCommand.js +0 -24
- package/dist-cjs/commands/ListCustomRoutingListenersCommand.js +0 -24
- package/dist-cjs/commands/ListCustomRoutingPortMappingsByDestinationCommand.js +0 -27
- package/dist-cjs/commands/ListCustomRoutingPortMappingsCommand.js +0 -32
- package/dist-cjs/commands/ListEndpointGroupsCommand.js +0 -24
- package/dist-cjs/commands/ListListenersCommand.js +0 -24
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/ProvisionByoipCidrCommand.js +0 -29
- package/dist-cjs/commands/RemoveCustomRoutingEndpointsCommand.js +0 -24
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -27
- package/dist-cjs/commands/UpdateAcceleratorAttributesCommand.js +0 -24
- package/dist-cjs/commands/UpdateAcceleratorCommand.js +0 -29
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorAttributesCommand.js +0 -24
- package/dist-cjs/commands/UpdateCustomRoutingAcceleratorCommand.js +0 -24
- package/dist-cjs/commands/UpdateCustomRoutingListenerCommand.js +0 -24
- package/dist-cjs/commands/UpdateEndpointGroupCommand.js +0 -24
- package/dist-cjs/commands/UpdateListenerCommand.js +0 -24
- package/dist-cjs/commands/WithdrawByoipCidrCommand.js +0 -30
- package/dist-cjs/commands/index.js +50 -0
- package/dist-cjs/endpoints.js +6 -1
- package/dist-cjs/index.js +4 -59
- package/dist-cjs/models/models_0.js +0 -381
- package/dist-cjs/pagination/ListAcceleratorsPaginator.js +0 -10
- package/dist-cjs/pagination/ListByoipCidrsPaginator.js +0 -10
- package/dist-cjs/pagination/ListCustomRoutingAcceleratorsPaginator.js +0 -10
- package/dist-cjs/pagination/ListCustomRoutingEndpointGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListCustomRoutingListenersPaginator.js +0 -10
- package/dist-cjs/pagination/ListCustomRoutingPortMappingsByDestinationPaginator.js +0 -10
- package/dist-cjs/pagination/ListCustomRoutingPortMappingsPaginator.js +0 -10
- package/dist-cjs/pagination/ListEndpointGroupsPaginator.js +0 -10
- package/dist-cjs/pagination/ListListenersPaginator.js +0 -10
- package/dist-cjs/pagination/index.js +13 -0
- package/dist-cjs/protocols/Aws_json1_1.js +0 -5
- package/dist-cjs/runtimeConfig.browser.js +1 -5
- package/dist-cjs/runtimeConfig.js +1 -5
- package/dist-cjs/runtimeConfig.native.js +0 -3
- package/dist-cjs/runtimeConfig.shared.js +0 -3
- package/dist-es/commands/index.js +47 -0
- package/dist-es/endpoints.js +6 -1
- package/dist-es/index.js +4 -59
- package/dist-es/pagination/index.js +10 -0
- package/dist-types/commands/index.d.ts +47 -0
- package/dist-types/index.d.ts +4 -59
- package/dist-types/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/GlobalAccelerator.d.ts +48 -404
- package/dist-types/ts3.4/GlobalAcceleratorClient.d.ts +24 -236
- package/dist-types/ts3.4/commands/AddCustomRoutingEndpointsCommand.d.ts +2 -30
- package/dist-types/ts3.4/commands/AdvertiseByoipCidrCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/AllowCustomRoutingTrafficCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateAcceleratorCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/CreateCustomRoutingAcceleratorCommand.d.ts +2 -29
- package/dist-types/ts3.4/commands/CreateCustomRoutingEndpointGroupCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/CreateCustomRoutingListenerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateEndpointGroupCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/CreateListenerCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DeleteAcceleratorCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DeleteCustomRoutingAcceleratorCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DeleteCustomRoutingEndpointGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteCustomRoutingListenerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteEndpointGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DeleteListenerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DenyCustomRoutingTrafficCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DeprovisionByoipCidrCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/DescribeAcceleratorAttributesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/DescribeAcceleratorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCustomRoutingAcceleratorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCustomRoutingEndpointGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeCustomRoutingListenerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeEndpointGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/DescribeListenerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListAcceleratorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListByoipCidrsCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListCustomRoutingAcceleratorsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCustomRoutingEndpointGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCustomRoutingListenersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsByDestinationCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListCustomRoutingPortMappingsCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/ListEndpointGroupsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListListenersCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ProvisionByoipCidrCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/RemoveCustomRoutingEndpointsCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/UpdateAcceleratorAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateAcceleratorCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorAttributesCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCustomRoutingAcceleratorCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateCustomRoutingListenerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateEndpointGroupCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/UpdateListenerCommand.d.ts +2 -20
- package/dist-types/ts3.4/commands/WithdrawByoipCidrCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/index.d.ts +47 -0
- package/dist-types/ts3.4/index.d.ts +4 -59
- package/dist-types/ts3.4/models/models_0.d.ts +436 -1639
- package/dist-types/ts3.4/pagination/index.d.ts +10 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- 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);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -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("./
|
|
7
|
-
tslib_1.__exportStar(require("./commands
|
|
8
|
-
tslib_1.__exportStar(require("./
|
|
9
|
-
tslib_1.__exportStar(require("./
|
|
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);
|