@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,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Create a listener to process inbound connections from clients to a custom routing accelerator.
|
|
10
|
-
* Connections arrive to assigned static IP addresses on the port range that you specify. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { GlobalAcceleratorClient, CreateCustomRoutingListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
15
|
-
* // const { GlobalAcceleratorClient, CreateCustomRoutingListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
16
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
17
|
-
* const command = new CreateCustomRoutingListenerCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateCustomRoutingListenerCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateCustomRoutingListenerCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateCustomRoutingListenerCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS
|
|
10
|
-
* Region. A resource must be valid and active when you add it as an endpoint.</p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { GlobalAcceleratorClient, CreateEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
15
|
-
* // const { GlobalAcceleratorClient, CreateEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
16
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
17
|
-
* const command = new CreateEndpointGroupCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateEndpointGroupCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateEndpointGroupCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateEndpointGroupCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static
|
|
10
|
-
* IP addresses on a port, port range, or list of port ranges that you specify. </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { GlobalAcceleratorClient, CreateListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
15
|
-
* // const { GlobalAcceleratorClient, CreateListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
16
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
17
|
-
* const command = new CreateListenerCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link CreateListenerCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link CreateListenerCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class CreateListenerCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources
|
|
10
|
-
* (listeners and endpoint groups). To disable the accelerator, update the accelerator to set <code>Enabled</code> to false.</p>
|
|
11
|
-
* <important>
|
|
12
|
-
* <p>When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.
|
|
13
|
-
* Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges.
|
|
14
|
-
* </p>
|
|
15
|
-
* <p>The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and
|
|
16
|
-
* it no longer accepts or routes traffic. However, when you <i>delete</i> an accelerator, you lose the
|
|
17
|
-
* static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them.
|
|
18
|
-
* As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You
|
|
19
|
-
* can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information,
|
|
20
|
-
* see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html">Authentication and Access Control</a> in
|
|
21
|
-
* the <i>AWS Global Accelerator Developer Guide</i>.</p>
|
|
22
|
-
* </important>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { GlobalAcceleratorClient, DeleteAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
27
|
-
* // const { GlobalAcceleratorClient, DeleteAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
28
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
29
|
-
* const command = new DeleteAcceleratorCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link DeleteAcceleratorCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link DeleteAcceleratorCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class DeleteAcceleratorCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete a custom routing accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources
|
|
10
|
-
* (listeners and endpoint groups). To disable the accelerator, update the accelerator to set <code>Enabled</code> to false.</p>
|
|
11
|
-
* <important>
|
|
12
|
-
* <p>When you create a custom routing accelerator, by default, Global Accelerator provides you with a set of two static IP addresses.
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>The IP
|
|
15
|
-
* addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and
|
|
16
|
-
* it no longer accepts or routes traffic. However, when you <i>delete</i> an accelerator, you lose the
|
|
17
|
-
* static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them.
|
|
18
|
-
* As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You
|
|
19
|
-
* can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information,
|
|
20
|
-
* see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html">Authentication and Access Control</a> in
|
|
21
|
-
* the <i>AWS Global Accelerator Developer Guide</i>.</p>
|
|
22
|
-
* </important>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { GlobalAcceleratorClient, DeleteCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
27
|
-
* // const { GlobalAcceleratorClient, DeleteCustomRoutingAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
28
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
29
|
-
* const command = new DeleteCustomRoutingAcceleratorCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link DeleteCustomRoutingAcceleratorCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link DeleteCustomRoutingAcceleratorCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class DeleteCustomRoutingAcceleratorCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete an endpoint group from a listener for a custom routing accelerator.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DeleteCustomRoutingEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DeleteCustomRoutingEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DeleteCustomRoutingEndpointGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteCustomRoutingEndpointGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteCustomRoutingEndpointGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteCustomRoutingEndpointGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete a listener for a custom routing accelerator.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DeleteCustomRoutingListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DeleteCustomRoutingListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DeleteCustomRoutingListenerCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteCustomRoutingListenerCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteCustomRoutingListenerCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteCustomRoutingListenerCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete an endpoint group from a listener.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DeleteEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DeleteEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DeleteEndpointGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteEndpointGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteEndpointGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteEndpointGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Delete a listener from an accelerator.</p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DeleteListenerCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DeleteListenerCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DeleteListenerCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DeleteListenerCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DeleteListenerCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DeleteListenerCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,40 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Specify the Amazon EC2 instance (destination) IP addresses and ports for a VPC subnet endpoint that cannot receive traffic
|
|
10
|
-
* for a custom routing accelerator. You can deny traffic to all destinations in the VPC endpoint, or deny traffic to a
|
|
11
|
-
* specified list of destination IP addresses and ports. Note that you cannot specify IP addresses
|
|
12
|
-
* or ports outside of the range that you configured for the endpoint group.</p>
|
|
13
|
-
* <p>After you make changes, you can verify that the updates are complete by checking the status of your
|
|
14
|
-
* accelerator: the status changes from IN_PROGRESS to DEPLOYED.</p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { GlobalAcceleratorClient, DenyCustomRoutingTrafficCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
19
|
-
* // const { GlobalAcceleratorClient, DenyCustomRoutingTrafficCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
20
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
21
|
-
* const command = new DenyCustomRoutingTrafficCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link DenyCustomRoutingTrafficCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link DenyCustomRoutingTrafficCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class DenyCustomRoutingTrafficCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
9
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
10
|
super();
|
|
36
11
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
12
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,41 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Releases the specified address range that you provisioned to use with your AWS resources
|
|
10
|
-
* through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. </p>
|
|
11
|
-
* <p>Before you can release an address range, you must stop advertising it by using <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html">WithdrawByoipCidr</a> and you must not have
|
|
12
|
-
* any accelerators that are using static IP addresses allocated from its address range.
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">Bring Your Own
|
|
15
|
-
* IP Addresses (BYOIP)</a> in the <i>AWS Global Accelerator Developer Guide</i>.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { GlobalAcceleratorClient, DeprovisionByoipCidrCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
20
|
-
* // const { GlobalAcceleratorClient, DeprovisionByoipCidrCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
21
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
22
|
-
* const command = new DeprovisionByoipCidrCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DeprovisionByoipCidrCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DeprovisionByoipCidrCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class DeprovisionByoipCidrCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
9
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
10
|
super();
|
|
37
11
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
12
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,36 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describe the attributes of an accelerator.
|
|
10
|
-
* </p>
|
|
11
|
-
* @example
|
|
12
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
-
* ```javascript
|
|
14
|
-
* import { GlobalAcceleratorClient, DescribeAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
15
|
-
* // const { GlobalAcceleratorClient, DescribeAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
16
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
17
|
-
* const command = new DescribeAcceleratorAttributesCommand(input);
|
|
18
|
-
* const response = await client.send(command);
|
|
19
|
-
* ```
|
|
20
|
-
*
|
|
21
|
-
* @see {@link DescribeAcceleratorAttributesCommandInput} for command's `input` shape.
|
|
22
|
-
* @see {@link DescribeAcceleratorAttributesCommandOutput} for command's `response` shape.
|
|
23
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
24
|
-
*
|
|
25
|
-
*/
|
|
26
8
|
class DescribeAcceleratorAttributesCommand extends smithy_client_1.Command {
|
|
27
|
-
// Start section: command_properties
|
|
28
|
-
// End section: command_properties
|
|
29
9
|
constructor(input) {
|
|
30
|
-
// Start section: command_constructor
|
|
31
10
|
super();
|
|
32
11
|
this.input = input;
|
|
33
|
-
// End section: command_constructor
|
|
34
12
|
}
|
|
35
|
-
/**
|
|
36
|
-
* @internal
|
|
37
|
-
*/
|
|
38
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
39
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
40
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describe an accelerator. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DescribeAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DescribeAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DescribeAcceleratorCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeAcceleratorCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeAcceleratorCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeAcceleratorCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describe the attributes of a custom routing accelerator. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorAttributesCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorAttributesCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DescribeCustomRoutingAcceleratorAttributesCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeCustomRoutingAcceleratorAttributesCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeCustomRoutingAcceleratorAttributesCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeCustomRoutingAcceleratorAttributesCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describe a custom routing accelerator. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DescribeCustomRoutingAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DescribeCustomRoutingAcceleratorCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeCustomRoutingAcceleratorCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeCustomRoutingAcceleratorCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeCustomRoutingAcceleratorCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,35 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Describe an endpoint group for a custom routing accelerator. </p>
|
|
10
|
-
* @example
|
|
11
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
12
|
-
* ```javascript
|
|
13
|
-
* import { GlobalAcceleratorClient, DescribeCustomRoutingEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
14
|
-
* // const { GlobalAcceleratorClient, DescribeCustomRoutingEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
15
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
16
|
-
* const command = new DescribeCustomRoutingEndpointGroupCommand(input);
|
|
17
|
-
* const response = await client.send(command);
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* @see {@link DescribeCustomRoutingEndpointGroupCommandInput} for command's `input` shape.
|
|
21
|
-
* @see {@link DescribeCustomRoutingEndpointGroupCommandOutput} for command's `response` shape.
|
|
22
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
23
|
-
*
|
|
24
|
-
*/
|
|
25
8
|
class DescribeCustomRoutingEndpointGroupCommand extends smithy_client_1.Command {
|
|
26
|
-
// Start section: command_properties
|
|
27
|
-
// End section: command_properties
|
|
28
9
|
constructor(input) {
|
|
29
|
-
// Start section: command_constructor
|
|
30
10
|
super();
|
|
31
11
|
this.input = input;
|
|
32
|
-
// End section: command_constructor
|
|
33
12
|
}
|
|
34
|
-
/**
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
37
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
38
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
39
15
|
const stack = clientStack.concat(this.middlewareStack);
|