@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-global-accelerator
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
20
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Bug Fixes
|
|
41
|
+
|
|
42
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
6
48
|
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
7
49
|
|
|
8
50
|
|
|
@@ -49,156 +49,6 @@ const UpdateEndpointGroupCommand_1 = require("./commands/UpdateEndpointGroupComm
|
|
|
49
49
|
const UpdateListenerCommand_1 = require("./commands/UpdateListenerCommand");
|
|
50
50
|
const WithdrawByoipCidrCommand_1 = require("./commands/WithdrawByoipCidrCommand");
|
|
51
51
|
const GlobalAcceleratorClient_1 = require("./GlobalAcceleratorClient");
|
|
52
|
-
/**
|
|
53
|
-
* <fullname>AWS Global Accelerator</fullname>
|
|
54
|
-
* <p>This is the <i>AWS Global Accelerator API Reference</i>. This guide is for developers who need detailed information about
|
|
55
|
-
* AWS Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the
|
|
56
|
-
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/Welcome.html">AWS Global Accelerator Developer Guide</a>.</p>
|
|
57
|
-
*
|
|
58
|
-
* <p>AWS Global Accelerator is a service in which you create <i>accelerators</i> to improve the performance
|
|
59
|
-
* of your applications for local and global users. Depending on the type of accelerator you choose, you can
|
|
60
|
-
* gain additional benefits. </p>
|
|
61
|
-
* <ul>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>By using a standard accelerator, you can improve availability of your internet applications
|
|
64
|
-
* that are used by a global audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the AWS
|
|
65
|
-
* global network. </p>
|
|
66
|
-
* </li>
|
|
67
|
-
* <li>
|
|
68
|
-
* <p>For other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you
|
|
69
|
-
* can use application logic to directly map one or more users to a specific endpoint among many endpoints.</p>
|
|
70
|
-
* </li>
|
|
71
|
-
* </ul>
|
|
72
|
-
* <important>
|
|
73
|
-
* <p>Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the
|
|
74
|
-
* US West (Oregon) Region to create or update accelerators.</p>
|
|
75
|
-
* </important>
|
|
76
|
-
* <p>By default, Global Accelerator provides you with two static IP addresses that you associate with your accelerator. With
|
|
77
|
-
* a standard accelerator, instead of using the
|
|
78
|
-
* IP addresses that Global Accelerator provides, you can configure these entry points to be IPv4 addresses from your own IP address ranges
|
|
79
|
-
* that you bring to Global Accelerator. The static IP addresses are anycast from the AWS edge network. For a standard accelerator,
|
|
80
|
-
* they distribute incoming application traffic across multiple endpoint resources in multiple AWS Regions, which increases
|
|
81
|
-
* the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers,
|
|
82
|
-
* Amazon EC2 instances, or Elastic IP addresses that are located in one AWS Region or multiple Regions. For custom routing
|
|
83
|
-
* accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that
|
|
84
|
-
* are virtual private cloud (VPC) subnets.</p>
|
|
85
|
-
*
|
|
86
|
-
* <important>
|
|
87
|
-
* <p>The static IP addresses remain assigned to your accelerator for as long as it exists, even if you
|
|
88
|
-
* disable the accelerator and it no longer accepts or routes traffic. However, when you
|
|
89
|
-
* <i>delete</i> an accelerator, you lose the static IP addresses that
|
|
90
|
-
* are assigned to it, so you can no longer route traffic by using them. You can use
|
|
91
|
-
* IAM policies like tag-based permissions with Global Accelerator to limit the users who have
|
|
92
|
-
* permissions to delete an accelerator. For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html">Tag-based policies</a>.</p>
|
|
93
|
-
* </important>
|
|
94
|
-
* <p>For standard accelerators, Global Accelerator uses the AWS global network to route traffic to the optimal regional endpoint based
|
|
95
|
-
* on health, client location, and policies that you configure. The service reacts instantly to
|
|
96
|
-
* changes in health or configuration to ensure that internet traffic from clients is always
|
|
97
|
-
* directed to healthy endpoints.</p>
|
|
98
|
-
*
|
|
99
|
-
* <p>For a list of the AWS Regions where Global Accelerator and other services are currently supported, see the
|
|
100
|
-
* <a href="https://docs.aws.amazon.com/about-aws/global-infrastructure/regional-product-services/">AWS
|
|
101
|
-
* Region Table</a>.</p>
|
|
102
|
-
*
|
|
103
|
-
* <p>AWS Global Accelerator includes the following components:</p>
|
|
104
|
-
* <dl>
|
|
105
|
-
* <dt>Static IP addresses</dt>
|
|
106
|
-
* <dd>
|
|
107
|
-
* <p>Global Accelerator provides you with a set of two static IP addresses that are anycast from the AWS edge
|
|
108
|
-
* network. If you bring your own IP address range to AWS (BYOIP) to use with a standard accelerator, you
|
|
109
|
-
* can instead assign IP addresses from your own pool to use with your accelerator. For more information,
|
|
110
|
-
* see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">
|
|
111
|
-
* Bring your own IP addresses (BYOIP) in AWS Global Accelerator</a>.</p>
|
|
112
|
-
* <p>The IP addresses serve as single fixed entry points for your clients. If you already have Elastic
|
|
113
|
-
* Load Balancing load balancers, Amazon EC2 instances, or Elastic IP address resources set up for your applications,
|
|
114
|
-
* you can easily add those to a standard accelerator in Global Accelerator. This allows Global Accelerator to use static IP addresses
|
|
115
|
-
* to access the resources.</p>
|
|
116
|
-
* <p>The static IP addresses remain assigned to your accelerator for as long as it exists, even
|
|
117
|
-
* if you disable the accelerator and it no longer accepts or routes traffic.
|
|
118
|
-
* However, when you <i>delete</i> an accelerator, you lose the
|
|
119
|
-
* static IP addresses that are assigned to it, so you can no longer route
|
|
120
|
-
* traffic by using them. You can use IAM policies like tag-based permissions
|
|
121
|
-
* with Global Accelerator to delete an accelerator. For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html">Tag-based policies</a>.</p>
|
|
122
|
-
* </dd>
|
|
123
|
-
* <dt>Accelerator</dt>
|
|
124
|
-
* <dd>
|
|
125
|
-
* <p>An accelerator directs traffic to endpoints over the AWS global network to improve the
|
|
126
|
-
* performance of your internet applications. Each accelerator includes one or more listeners.</p>
|
|
127
|
-
* <p>There are two types of accelerators:</p>
|
|
128
|
-
* <ul>
|
|
129
|
-
* <li>
|
|
130
|
-
* <p>A <i>standard</i> accelerator directs traffic to the optimal AWS endpoint based
|
|
131
|
-
* on several factors, including the user’s location, the health of the endpoint, and the endpoint weights
|
|
132
|
-
* that you configure. This improves the availability and performance of your applications.
|
|
133
|
-
* Endpoints can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses.</p>
|
|
134
|
-
* </li>
|
|
135
|
-
* <li>
|
|
136
|
-
* <p>A <i>custom routing</i> accelerator directs traffic to one of possibly thousands of
|
|
137
|
-
* Amazon EC2 instances running in a single or multiple virtual private
|
|
138
|
-
* clouds (VPCs). With custom routing, listener ports are mapped to
|
|
139
|
-
* statically associate port ranges with VPC subnets, which
|
|
140
|
-
* allows Global Accelerator to determine an EC2 instance IP address at the time of
|
|
141
|
-
* connection. By default, all port mapping destinations in a VPC
|
|
142
|
-
* subnet can't receive traffic. You can choose to configure all
|
|
143
|
-
* destinations in the subnet to receive traffic, or to specify
|
|
144
|
-
* individual port mappings that can receive traffic.</p>
|
|
145
|
-
* </li>
|
|
146
|
-
* </ul>
|
|
147
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-accelerator-types.html">Types of accelerators</a>.</p>
|
|
148
|
-
* </dd>
|
|
149
|
-
* <dt>DNS name</dt>
|
|
150
|
-
* <dd>
|
|
151
|
-
* <p>Global Accelerator assigns each accelerator a default Domain Name System (DNS) name, similar to
|
|
152
|
-
* <code>a1234567890abcdef.awsglobalaccelerator.com</code>, that points to
|
|
153
|
-
* the static IP addresses that Global Accelerator assigns to you or that you choose from your
|
|
154
|
-
* own IP address range. Depending on the use
|
|
155
|
-
* case, you can use your accelerator's static IP addresses or DNS name to
|
|
156
|
-
* route traffic to your accelerator, or set up DNS records to route traffic using
|
|
157
|
-
* your own custom domain name.</p>
|
|
158
|
-
* </dd>
|
|
159
|
-
* <dt>Network zone</dt>
|
|
160
|
-
* <dd>
|
|
161
|
-
* <p>A network zone services the static IP addresses for your accelerator from a unique IP subnet. Similar to an
|
|
162
|
-
* AWS Availability Zone, a network zone is an isolated unit with its own set of physical infrastructure.
|
|
163
|
-
* When you configure an accelerator, by default, Global Accelerator allocates two IPv4 addresses for it. If one IP address from a
|
|
164
|
-
* network zone becomes unavailable due to IP address blocking by certain client networks, or network
|
|
165
|
-
* disruptions, then client applications can retry on the healthy static IP address from the other isolated
|
|
166
|
-
* network zone.</p>
|
|
167
|
-
* </dd>
|
|
168
|
-
* <dt>Listener</dt>
|
|
169
|
-
* <dd>
|
|
170
|
-
* <p>A listener processes inbound connections from clients to Global Accelerator, based on the port (or port range)
|
|
171
|
-
* and protocol (or protocols) that you configure. A listener can be configured for TCP, UDP, or both TCP and UDP protocols. Each
|
|
172
|
-
* listener has one or more endpoint groups associated with it, and traffic is forwarded
|
|
173
|
-
* to endpoints in one of the groups. You associate endpoint groups with listeners by specifying the Regions that you
|
|
174
|
-
* want to distribute traffic to. With a standard accelerator, traffic is distributed to optimal endpoints within the endpoint
|
|
175
|
-
* groups associated with a listener.</p>
|
|
176
|
-
* </dd>
|
|
177
|
-
* <dt>Endpoint group</dt>
|
|
178
|
-
* <dd>
|
|
179
|
-
* <p>Each endpoint group is associated with a specific AWS Region. Endpoint groups include one or
|
|
180
|
-
* more endpoints in the Region. With a standard accelerator, you can increase or reduce the percentage of
|
|
181
|
-
* traffic that would be otherwise directed to an endpoint group by adjusting a
|
|
182
|
-
* setting called a <i>traffic dial</i>. The traffic dial lets
|
|
183
|
-
* you easily do performance testing or blue/green deployment testing, for example, for new
|
|
184
|
-
* releases across different AWS Regions. </p>
|
|
185
|
-
* </dd>
|
|
186
|
-
* <dt>Endpoint</dt>
|
|
187
|
-
* <dd>
|
|
188
|
-
* <p>An endpoint is a resource that Global Accelerator directs traffic to.</p>
|
|
189
|
-
* <p>Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP
|
|
190
|
-
* addresses. An Application Load Balancer endpoint can be internet-facing or internal. Traffic for
|
|
191
|
-
* standard accelerators is routed to endpoints based on the health of the
|
|
192
|
-
* endpoint along with configuration options that you choose, such as endpoint
|
|
193
|
-
* weights. For each endpoint, you can configure weights, which are numbers
|
|
194
|
-
* that you can use to specify the proportion of traffic to route to each one.
|
|
195
|
-
* This can be useful, for example, to do performance testing within a
|
|
196
|
-
* Region.</p>
|
|
197
|
-
* <p>Endpoints for custom routing accelerators are virtual private cloud (VPC) subnets with one
|
|
198
|
-
* or many EC2 instances.</p>
|
|
199
|
-
* </dd>
|
|
200
|
-
* </dl>
|
|
201
|
-
*/
|
|
202
52
|
class GlobalAccelerator extends GlobalAcceleratorClient_1.GlobalAcceleratorClient {
|
|
203
53
|
addCustomRoutingEndpoints(args, optionsOrCb, cb) {
|
|
204
54
|
const command = new AddCustomRoutingEndpointsCommand_1.AddCustomRoutingEndpointsCommand(args);
|
|
@@ -10,156 +10,6 @@ const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
|
10
10
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
11
11
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
12
12
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
13
|
-
/**
|
|
14
|
-
* <fullname>AWS Global Accelerator</fullname>
|
|
15
|
-
* <p>This is the <i>AWS Global Accelerator API Reference</i>. This guide is for developers who need detailed information about
|
|
16
|
-
* AWS Global Accelerator API actions, data types, and errors. For more information about Global Accelerator features, see the
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/Welcome.html">AWS Global Accelerator Developer Guide</a>.</p>
|
|
18
|
-
*
|
|
19
|
-
* <p>AWS Global Accelerator is a service in which you create <i>accelerators</i> to improve the performance
|
|
20
|
-
* of your applications for local and global users. Depending on the type of accelerator you choose, you can
|
|
21
|
-
* gain additional benefits. </p>
|
|
22
|
-
* <ul>
|
|
23
|
-
* <li>
|
|
24
|
-
* <p>By using a standard accelerator, you can improve availability of your internet applications
|
|
25
|
-
* that are used by a global audience. With a standard accelerator, Global Accelerator directs traffic to optimal endpoints over the AWS
|
|
26
|
-
* global network. </p>
|
|
27
|
-
* </li>
|
|
28
|
-
* <li>
|
|
29
|
-
* <p>For other scenarios, you might choose a custom routing accelerator. With a custom routing accelerator, you
|
|
30
|
-
* can use application logic to directly map one or more users to a specific endpoint among many endpoints.</p>
|
|
31
|
-
* </li>
|
|
32
|
-
* </ul>
|
|
33
|
-
* <important>
|
|
34
|
-
* <p>Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the
|
|
35
|
-
* US West (Oregon) Region to create or update accelerators.</p>
|
|
36
|
-
* </important>
|
|
37
|
-
* <p>By default, Global Accelerator provides you with two static IP addresses that you associate with your accelerator. With
|
|
38
|
-
* a standard accelerator, instead of using the
|
|
39
|
-
* IP addresses that Global Accelerator provides, you can configure these entry points to be IPv4 addresses from your own IP address ranges
|
|
40
|
-
* that you bring to Global Accelerator. The static IP addresses are anycast from the AWS edge network. For a standard accelerator,
|
|
41
|
-
* they distribute incoming application traffic across multiple endpoint resources in multiple AWS Regions, which increases
|
|
42
|
-
* the availability of your applications. Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers,
|
|
43
|
-
* Amazon EC2 instances, or Elastic IP addresses that are located in one AWS Region or multiple Regions. For custom routing
|
|
44
|
-
* accelerators, you map traffic that arrives to the static IP addresses to specific Amazon EC2 servers in endpoints that
|
|
45
|
-
* are virtual private cloud (VPC) subnets.</p>
|
|
46
|
-
*
|
|
47
|
-
* <important>
|
|
48
|
-
* <p>The static IP addresses remain assigned to your accelerator for as long as it exists, even if you
|
|
49
|
-
* disable the accelerator and it no longer accepts or routes traffic. However, when you
|
|
50
|
-
* <i>delete</i> an accelerator, you lose the static IP addresses that
|
|
51
|
-
* are assigned to it, so you can no longer route traffic by using them. You can use
|
|
52
|
-
* IAM policies like tag-based permissions with Global Accelerator to limit the users who have
|
|
53
|
-
* permissions to delete an accelerator. For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html">Tag-based policies</a>.</p>
|
|
54
|
-
* </important>
|
|
55
|
-
* <p>For standard accelerators, Global Accelerator uses the AWS global network to route traffic to the optimal regional endpoint based
|
|
56
|
-
* on health, client location, and policies that you configure. The service reacts instantly to
|
|
57
|
-
* changes in health or configuration to ensure that internet traffic from clients is always
|
|
58
|
-
* directed to healthy endpoints.</p>
|
|
59
|
-
*
|
|
60
|
-
* <p>For a list of the AWS Regions where Global Accelerator and other services are currently supported, see the
|
|
61
|
-
* <a href="https://docs.aws.amazon.com/about-aws/global-infrastructure/regional-product-services/">AWS
|
|
62
|
-
* Region Table</a>.</p>
|
|
63
|
-
*
|
|
64
|
-
* <p>AWS Global Accelerator includes the following components:</p>
|
|
65
|
-
* <dl>
|
|
66
|
-
* <dt>Static IP addresses</dt>
|
|
67
|
-
* <dd>
|
|
68
|
-
* <p>Global Accelerator provides you with a set of two static IP addresses that are anycast from the AWS edge
|
|
69
|
-
* network. If you bring your own IP address range to AWS (BYOIP) to use with a standard accelerator, you
|
|
70
|
-
* can instead assign IP addresses from your own pool to use with your accelerator. For more information,
|
|
71
|
-
* see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html">
|
|
72
|
-
* Bring your own IP addresses (BYOIP) in AWS Global Accelerator</a>.</p>
|
|
73
|
-
* <p>The IP addresses serve as single fixed entry points for your clients. If you already have Elastic
|
|
74
|
-
* Load Balancing load balancers, Amazon EC2 instances, or Elastic IP address resources set up for your applications,
|
|
75
|
-
* you can easily add those to a standard accelerator in Global Accelerator. This allows Global Accelerator to use static IP addresses
|
|
76
|
-
* to access the resources.</p>
|
|
77
|
-
* <p>The static IP addresses remain assigned to your accelerator for as long as it exists, even
|
|
78
|
-
* if you disable the accelerator and it no longer accepts or routes traffic.
|
|
79
|
-
* However, when you <i>delete</i> an accelerator, you lose the
|
|
80
|
-
* static IP addresses that are assigned to it, so you can no longer route
|
|
81
|
-
* traffic by using them. You can use IAM policies like tag-based permissions
|
|
82
|
-
* with Global Accelerator to delete an accelerator. For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html">Tag-based policies</a>.</p>
|
|
83
|
-
* </dd>
|
|
84
|
-
* <dt>Accelerator</dt>
|
|
85
|
-
* <dd>
|
|
86
|
-
* <p>An accelerator directs traffic to endpoints over the AWS global network to improve the
|
|
87
|
-
* performance of your internet applications. Each accelerator includes one or more listeners.</p>
|
|
88
|
-
* <p>There are two types of accelerators:</p>
|
|
89
|
-
* <ul>
|
|
90
|
-
* <li>
|
|
91
|
-
* <p>A <i>standard</i> accelerator directs traffic to the optimal AWS endpoint based
|
|
92
|
-
* on several factors, including the user’s location, the health of the endpoint, and the endpoint weights
|
|
93
|
-
* that you configure. This improves the availability and performance of your applications.
|
|
94
|
-
* Endpoints can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP addresses.</p>
|
|
95
|
-
* </li>
|
|
96
|
-
* <li>
|
|
97
|
-
* <p>A <i>custom routing</i> accelerator directs traffic to one of possibly thousands of
|
|
98
|
-
* Amazon EC2 instances running in a single or multiple virtual private
|
|
99
|
-
* clouds (VPCs). With custom routing, listener ports are mapped to
|
|
100
|
-
* statically associate port ranges with VPC subnets, which
|
|
101
|
-
* allows Global Accelerator to determine an EC2 instance IP address at the time of
|
|
102
|
-
* connection. By default, all port mapping destinations in a VPC
|
|
103
|
-
* subnet can't receive traffic. You can choose to configure all
|
|
104
|
-
* destinations in the subnet to receive traffic, or to specify
|
|
105
|
-
* individual port mappings that can receive traffic.</p>
|
|
106
|
-
* </li>
|
|
107
|
-
* </ul>
|
|
108
|
-
* <p>For more information, see <a href="https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-accelerator-types.html">Types of accelerators</a>.</p>
|
|
109
|
-
* </dd>
|
|
110
|
-
* <dt>DNS name</dt>
|
|
111
|
-
* <dd>
|
|
112
|
-
* <p>Global Accelerator assigns each accelerator a default Domain Name System (DNS) name, similar to
|
|
113
|
-
* <code>a1234567890abcdef.awsglobalaccelerator.com</code>, that points to
|
|
114
|
-
* the static IP addresses that Global Accelerator assigns to you or that you choose from your
|
|
115
|
-
* own IP address range. Depending on the use
|
|
116
|
-
* case, you can use your accelerator's static IP addresses or DNS name to
|
|
117
|
-
* route traffic to your accelerator, or set up DNS records to route traffic using
|
|
118
|
-
* your own custom domain name.</p>
|
|
119
|
-
* </dd>
|
|
120
|
-
* <dt>Network zone</dt>
|
|
121
|
-
* <dd>
|
|
122
|
-
* <p>A network zone services the static IP addresses for your accelerator from a unique IP subnet. Similar to an
|
|
123
|
-
* AWS Availability Zone, a network zone is an isolated unit with its own set of physical infrastructure.
|
|
124
|
-
* When you configure an accelerator, by default, Global Accelerator allocates two IPv4 addresses for it. If one IP address from a
|
|
125
|
-
* network zone becomes unavailable due to IP address blocking by certain client networks, or network
|
|
126
|
-
* disruptions, then client applications can retry on the healthy static IP address from the other isolated
|
|
127
|
-
* network zone.</p>
|
|
128
|
-
* </dd>
|
|
129
|
-
* <dt>Listener</dt>
|
|
130
|
-
* <dd>
|
|
131
|
-
* <p>A listener processes inbound connections from clients to Global Accelerator, based on the port (or port range)
|
|
132
|
-
* and protocol (or protocols) that you configure. A listener can be configured for TCP, UDP, or both TCP and UDP protocols. Each
|
|
133
|
-
* listener has one or more endpoint groups associated with it, and traffic is forwarded
|
|
134
|
-
* to endpoints in one of the groups. You associate endpoint groups with listeners by specifying the Regions that you
|
|
135
|
-
* want to distribute traffic to. With a standard accelerator, traffic is distributed to optimal endpoints within the endpoint
|
|
136
|
-
* groups associated with a listener.</p>
|
|
137
|
-
* </dd>
|
|
138
|
-
* <dt>Endpoint group</dt>
|
|
139
|
-
* <dd>
|
|
140
|
-
* <p>Each endpoint group is associated with a specific AWS Region. Endpoint groups include one or
|
|
141
|
-
* more endpoints in the Region. With a standard accelerator, you can increase or reduce the percentage of
|
|
142
|
-
* traffic that would be otherwise directed to an endpoint group by adjusting a
|
|
143
|
-
* setting called a <i>traffic dial</i>. The traffic dial lets
|
|
144
|
-
* you easily do performance testing or blue/green deployment testing, for example, for new
|
|
145
|
-
* releases across different AWS Regions. </p>
|
|
146
|
-
* </dd>
|
|
147
|
-
* <dt>Endpoint</dt>
|
|
148
|
-
* <dd>
|
|
149
|
-
* <p>An endpoint is a resource that Global Accelerator directs traffic to.</p>
|
|
150
|
-
* <p>Endpoints for standard accelerators can be Network Load Balancers, Application Load Balancers, Amazon EC2 instances, or Elastic IP
|
|
151
|
-
* addresses. An Application Load Balancer endpoint can be internet-facing or internal. Traffic for
|
|
152
|
-
* standard accelerators is routed to endpoints based on the health of the
|
|
153
|
-
* endpoint along with configuration options that you choose, such as endpoint
|
|
154
|
-
* weights. For each endpoint, you can configure weights, which are numbers
|
|
155
|
-
* that you can use to specify the proportion of traffic to route to each one.
|
|
156
|
-
* This can be useful, for example, to do performance testing within a
|
|
157
|
-
* Region.</p>
|
|
158
|
-
* <p>Endpoints for custom routing accelerators are virtual private cloud (VPC) subnets with one
|
|
159
|
-
* or many EC2 instances.</p>
|
|
160
|
-
* </dd>
|
|
161
|
-
* </dl>
|
|
162
|
-
*/
|
|
163
13
|
class GlobalAcceleratorClient extends smithy_client_1.Client {
|
|
164
14
|
constructor(configuration) {
|
|
165
15
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -178,11 +28,6 @@ class GlobalAcceleratorClient extends smithy_client_1.Client {
|
|
|
178
28
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
179
29
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
180
30
|
}
|
|
181
|
-
/**
|
|
182
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
183
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
184
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
185
|
-
*/
|
|
186
31
|
destroy() {
|
|
187
32
|
super.destroy();
|
|
188
33
|
}
|
|
@@ -5,45 +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>Associate a virtual private cloud (VPC) subnet endpoint with your custom routing accelerator.</p>
|
|
10
|
-
* <p>The listener port range must be large enough to support the number of IP addresses that can be
|
|
11
|
-
* specified in your subnet. The number of ports required is: subnet size times the number
|
|
12
|
-
* of ports per destination EC2 instances. For example, a subnet defined as /24 requires a listener
|
|
13
|
-
* port range of at least 255 ports. </p>
|
|
14
|
-
* <p>Note: You must have enough remaining listener ports available to
|
|
15
|
-
* map to the subnet ports, or the call will fail with a LimitExceededException.</p>
|
|
16
|
-
* <p>By default, all destinations in a subnet in a custom routing accelerator cannot receive traffic. To enable all
|
|
17
|
-
* destinations to receive traffic, or to specify individual port mappings that can receive
|
|
18
|
-
* traffic, see the <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html">
|
|
19
|
-
* AllowCustomRoutingTraffic</a> operation.</p>
|
|
20
|
-
* @example
|
|
21
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
-
* ```javascript
|
|
23
|
-
* import { GlobalAcceleratorClient, AddCustomRoutingEndpointsCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
24
|
-
* // const { GlobalAcceleratorClient, AddCustomRoutingEndpointsCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
25
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
26
|
-
* const command = new AddCustomRoutingEndpointsCommand(input);
|
|
27
|
-
* const response = await client.send(command);
|
|
28
|
-
* ```
|
|
29
|
-
*
|
|
30
|
-
* @see {@link AddCustomRoutingEndpointsCommandInput} for command's `input` shape.
|
|
31
|
-
* @see {@link AddCustomRoutingEndpointsCommandOutput} for command's `response` shape.
|
|
32
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
8
|
class AddCustomRoutingEndpointsCommand extends smithy_client_1.Command {
|
|
36
|
-
// Start section: command_properties
|
|
37
|
-
// End section: command_properties
|
|
38
9
|
constructor(input) {
|
|
39
|
-
// Start section: command_constructor
|
|
40
10
|
super();
|
|
41
11
|
this.input = input;
|
|
42
|
-
// End section: command_constructor
|
|
43
12
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
48
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
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>Advertises an IPv4 address range that is provisioned for use with your AWS resources
|
|
10
|
-
* through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to
|
|
11
|
-
* the specified addresses starts routing to AWS because of propagation delays. </p>
|
|
12
|
-
* <p>To stop advertising the BYOIP address range, use <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html">
|
|
13
|
-
* WithdrawByoipCidr</a>.</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, AdvertiseByoipCidrCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
20
|
-
* // const { GlobalAcceleratorClient, AdvertiseByoipCidrCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
21
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
22
|
-
* const command = new AdvertiseByoipCidrCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link AdvertiseByoipCidrCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link AdvertiseByoipCidrCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
31
8
|
class AdvertiseByoipCidrCommand 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,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 can receive traffic
|
|
10
|
-
* for a custom routing accelerator. You can allow traffic to all destinations in the subnet endpoint, or allow traffic to a
|
|
11
|
-
* specified list of destination IP addresses and ports in the subnet. Note that you cannot specify IP addresses or ports
|
|
12
|
-
* 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, AllowCustomRoutingTrafficCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
19
|
-
* // const { GlobalAcceleratorClient, AllowCustomRoutingTrafficCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
20
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
21
|
-
* const command = new AllowCustomRoutingTrafficCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link AllowCustomRoutingTrafficCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link AllowCustomRoutingTrafficCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class AllowCustomRoutingTrafficCommand 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,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>Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic
|
|
10
|
-
* to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. </p>
|
|
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, CreateAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
19
|
-
* // const { GlobalAcceleratorClient, CreateAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
20
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
21
|
-
* const command = new CreateAcceleratorCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link CreateAcceleratorCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link CreateAcceleratorCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
8
|
class CreateAcceleratorCommand 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,44 +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 custom routing accelerator. A custom routing accelerator directs traffic to one of possibly thousands
|
|
10
|
-
* of Amazon EC2 instance destinations running in a single or multiple virtual private clouds (VPC) subnet endpoints.</p>
|
|
11
|
-
* <p>Be aware that, by default, all destination EC2 instances in a VPC subnet endpoint cannot receive
|
|
12
|
-
* traffic. To enable all destinations to receive traffic, or to specify individual port
|
|
13
|
-
* mappings that can receive traffic, see the <a href="https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html">
|
|
14
|
-
* AllowCustomRoutingTraffic</a> operation.</p>
|
|
15
|
-
* <important>
|
|
16
|
-
* <p>Global Accelerator is a global service that supports endpoints in multiple AWS Regions but you must specify the
|
|
17
|
-
* US West (Oregon) Region to create or update accelerators.</p>
|
|
18
|
-
* </important>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { GlobalAcceleratorClient, CreateCustomRoutingAcceleratorCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
23
|
-
* // const { GlobalAcceleratorClient, CreateCustomRoutingAcceleratorCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
24
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
25
|
-
* const command = new CreateCustomRoutingAcceleratorCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link CreateCustomRoutingAcceleratorCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link CreateCustomRoutingAcceleratorCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
8
|
class CreateCustomRoutingAcceleratorCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
10
|
super();
|
|
40
11
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
12
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -5,37 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
-
/**
|
|
9
|
-
* <p>Create an endpoint group for the specified listener for a custom routing accelerator.
|
|
10
|
-
* An endpoint group is a collection of endpoints in one AWS
|
|
11
|
-
* Region. </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { GlobalAcceleratorClient, CreateCustomRoutingEndpointGroupCommand } from "@aws-sdk/client-global-accelerator"; // ES Modules import
|
|
16
|
-
* // const { GlobalAcceleratorClient, CreateCustomRoutingEndpointGroupCommand } = require("@aws-sdk/client-global-accelerator"); // CommonJS import
|
|
17
|
-
* const client = new GlobalAcceleratorClient(config);
|
|
18
|
-
* const command = new CreateCustomRoutingEndpointGroupCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link CreateCustomRoutingEndpointGroupCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link CreateCustomRoutingEndpointGroupCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link GlobalAcceleratorClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
8
|
class CreateCustomRoutingEndpointGroupCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
9
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
10
|
super();
|
|
33
11
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
12
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
15
|
const stack = clientStack.concat(this.middlewareStack);
|