UNPKG

60 kBTypeScriptView Raw
1import {Request} from '../lib/request';
2import {Response} from '../lib/response';
3import {AWSError} from '../lib/error';
4import {Service} from '../lib/service';
5import {ServiceConfigurationOptions} from '../lib/service';
6import {ConfigBase as Config} from '../lib/config';
7interface Blob {}
8declare class GlobalAccelerator extends Service {
9 /**
10 * Constructs a service object. This object has one method for each API operation.
11 */
12 constructor(options?: GlobalAccelerator.Types.ClientConfiguration)
13 config: Config & GlobalAccelerator.Types.ClientConfiguration;
14 /**
15 * Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays. To see an AWS CLI example of advertising an address range, scroll down to Example. To stop advertising the BYOIP address range, use WithdrawByoipCidr. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
16 */
17 advertiseByoipCidr(params: GlobalAccelerator.Types.AdvertiseByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.AdvertiseByoipCidrResponse) => void): Request<GlobalAccelerator.Types.AdvertiseByoipCidrResponse, AWSError>;
18 /**
19 * Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP). It can take a few minutes before traffic to the specified addresses starts routing to AWS because of propagation delays. To see an AWS CLI example of advertising an address range, scroll down to Example. To stop advertising the BYOIP address range, use WithdrawByoipCidr. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
20 */
21 advertiseByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.AdvertiseByoipCidrResponse) => void): Request<GlobalAccelerator.Types.AdvertiseByoipCidrResponse, AWSError>;
22 /**
23 * Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. To see an AWS CLI example of creating an accelerator, scroll down to Example. If you bring your own IP address ranges to AWS Global Accelerator (BYOIP), you can assign IP addresses from your own pool to your accelerator as the static IP address entry points. Only one IP address from each of your IP address ranges can be used for each accelerator. You must specify the US West (Oregon) Region to create or update accelerators.
24 */
25 createAccelerator(params: GlobalAccelerator.Types.CreateAcceleratorRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.CreateAcceleratorResponse, AWSError>;
26 /**
27 * Create an accelerator. An accelerator includes one or more listeners that process inbound connections and direct traffic to one or more endpoint groups, each of which includes endpoints, such as Network Load Balancers. To see an AWS CLI example of creating an accelerator, scroll down to Example. If you bring your own IP address ranges to AWS Global Accelerator (BYOIP), you can assign IP addresses from your own pool to your accelerator as the static IP address entry points. Only one IP address from each of your IP address ranges can be used for each accelerator. You must specify the US West (Oregon) Region to create or update accelerators.
28 */
29 createAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.CreateAcceleratorResponse, AWSError>;
30 /**
31 * Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS Region. To see an AWS CLI example of creating an endpoint group, scroll down to Example.
32 */
33 createEndpointGroup(params: GlobalAccelerator.Types.CreateEndpointGroupRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.CreateEndpointGroupResponse, AWSError>;
34 /**
35 * Create an endpoint group for the specified listener. An endpoint group is a collection of endpoints in one AWS Region. To see an AWS CLI example of creating an endpoint group, scroll down to Example.
36 */
37 createEndpointGroup(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.CreateEndpointGroupResponse, AWSError>;
38 /**
39 * Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static IP addresses on a port, port range, or list of port ranges that you specify. To see an AWS CLI example of creating a listener, scroll down to Example.
40 */
41 createListener(params: GlobalAccelerator.Types.CreateListenerRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateListenerResponse) => void): Request<GlobalAccelerator.Types.CreateListenerResponse, AWSError>;
42 /**
43 * Create a listener to process inbound connections from clients to an accelerator. Connections arrive to assigned static IP addresses on a port, port range, or list of port ranges that you specify. To see an AWS CLI example of creating a listener, scroll down to Example.
44 */
45 createListener(callback?: (err: AWSError, data: GlobalAccelerator.Types.CreateListenerResponse) => void): Request<GlobalAccelerator.Types.CreateListenerResponse, AWSError>;
46 /**
47 * Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false. When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges. The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Authentication and Access Control in the AWS Global Accelerator Developer Guide.
48 */
49 deleteAccelerator(params: GlobalAccelerator.Types.DeleteAcceleratorRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
50 /**
51 * Delete an accelerator. Before you can delete an accelerator, you must disable it and remove all dependent resources (listeners and endpoint groups). To disable the accelerator, update the accelerator to set Enabled to false. When you create an accelerator, by default, Global Accelerator provides you with a set of two static IP addresses. Alternatively, you can bring your own IP address ranges to Global Accelerator and assign IP addresses from those ranges. The IP addresses are assigned to your accelerator for as long as it exists, even if you disable the accelerator and it no longer accepts or routes traffic. However, when you delete an accelerator, you lose the static IP addresses that are assigned to the accelerator, so you can no longer route traffic by using them. As a best practice, ensure that you have permissions in place to avoid inadvertently deleting accelerators. You can use IAM policies with Global Accelerator to limit the users who have permissions to delete an accelerator. For more information, see Authentication and Access Control in the AWS Global Accelerator Developer Guide.
52 */
53 deleteAccelerator(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
54 /**
55 * Delete an endpoint group from a listener.
56 */
57 deleteEndpointGroup(params: GlobalAccelerator.Types.DeleteEndpointGroupRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
58 /**
59 * Delete an endpoint group from a listener.
60 */
61 deleteEndpointGroup(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
62 /**
63 * Delete a listener from an accelerator.
64 */
65 deleteListener(params: GlobalAccelerator.Types.DeleteListenerRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
66 /**
67 * Delete a listener from an accelerator.
68 */
69 deleteListener(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
70 /**
71 * Releases the specified address range that you provisioned to use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. To see an AWS CLI example of deprovisioning an address range, scroll down to Example. Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and you must not have any accelerators that are using static IP addresses allocated from its address range. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
72 */
73 deprovisionByoipCidr(params: GlobalAccelerator.Types.DeprovisionByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DeprovisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.DeprovisionByoipCidrResponse, AWSError>;
74 /**
75 * Releases the specified address range that you provisioned to use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool. To see an AWS CLI example of deprovisioning an address range, scroll down to Example. Before you can release an address range, you must stop advertising it by using WithdrawByoipCidr and you must not have any accelerators that are using static IP addresses allocated from its address range. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
76 */
77 deprovisionByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.DeprovisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.DeprovisionByoipCidrResponse, AWSError>;
78 /**
79 * Describe an accelerator. To see an AWS CLI example of describing an accelerator, scroll down to Example.
80 */
81 describeAccelerator(params: GlobalAccelerator.Types.DescribeAcceleratorRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorResponse, AWSError>;
82 /**
83 * Describe an accelerator. To see an AWS CLI example of describing an accelerator, scroll down to Example.
84 */
85 describeAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorResponse, AWSError>;
86 /**
87 * Describe the attributes of an accelerator. To see an AWS CLI example of describing the attributes of an accelerator, scroll down to Example.
88 */
89 describeAcceleratorAttributes(params: GlobalAccelerator.Types.DescribeAcceleratorAttributesRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse, AWSError>;
90 /**
91 * Describe the attributes of an accelerator. To see an AWS CLI example of describing the attributes of an accelerator, scroll down to Example.
92 */
93 describeAcceleratorAttributes(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.DescribeAcceleratorAttributesResponse, AWSError>;
94 /**
95 * Describe an endpoint group. To see an AWS CLI example of describing an endpoint group, scroll down to Example.
96 */
97 describeEndpointGroup(params: GlobalAccelerator.Types.DescribeEndpointGroupRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.DescribeEndpointGroupResponse, AWSError>;
98 /**
99 * Describe an endpoint group. To see an AWS CLI example of describing an endpoint group, scroll down to Example.
100 */
101 describeEndpointGroup(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.DescribeEndpointGroupResponse, AWSError>;
102 /**
103 * Describe a listener. To see an AWS CLI example of describing a listener, scroll down to Example.
104 */
105 describeListener(params: GlobalAccelerator.Types.DescribeListenerRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeListenerResponse) => void): Request<GlobalAccelerator.Types.DescribeListenerResponse, AWSError>;
106 /**
107 * Describe a listener. To see an AWS CLI example of describing a listener, scroll down to Example.
108 */
109 describeListener(callback?: (err: AWSError, data: GlobalAccelerator.Types.DescribeListenerResponse) => void): Request<GlobalAccelerator.Types.DescribeListenerResponse, AWSError>;
110 /**
111 * List the accelerators for an AWS account. To see an AWS CLI example of listing the accelerators for an AWS account, scroll down to Example.
112 */
113 listAccelerators(params: GlobalAccelerator.Types.ListAcceleratorsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListAcceleratorsResponse) => void): Request<GlobalAccelerator.Types.ListAcceleratorsResponse, AWSError>;
114 /**
115 * List the accelerators for an AWS account. To see an AWS CLI example of listing the accelerators for an AWS account, scroll down to Example.
116 */
117 listAccelerators(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListAcceleratorsResponse) => void): Request<GlobalAccelerator.Types.ListAcceleratorsResponse, AWSError>;
118 /**
119 * Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes. To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down to Example.
120 */
121 listByoipCidrs(params: GlobalAccelerator.Types.ListByoipCidrsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListByoipCidrsResponse) => void): Request<GlobalAccelerator.Types.ListByoipCidrsResponse, AWSError>;
122 /**
123 * Lists the IP address ranges that were specified in calls to ProvisionByoipCidr, including the current state and a history of state changes. To see an AWS CLI example of listing BYOIP CIDR addresses, scroll down to Example.
124 */
125 listByoipCidrs(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListByoipCidrsResponse) => void): Request<GlobalAccelerator.Types.ListByoipCidrsResponse, AWSError>;
126 /**
127 * List the endpoint groups that are associated with a listener. To see an AWS CLI example of listing the endpoint groups for listener, scroll down to Example.
128 */
129 listEndpointGroups(params: GlobalAccelerator.Types.ListEndpointGroupsRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListEndpointGroupsResponse) => void): Request<GlobalAccelerator.Types.ListEndpointGroupsResponse, AWSError>;
130 /**
131 * List the endpoint groups that are associated with a listener. To see an AWS CLI example of listing the endpoint groups for listener, scroll down to Example.
132 */
133 listEndpointGroups(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListEndpointGroupsResponse) => void): Request<GlobalAccelerator.Types.ListEndpointGroupsResponse, AWSError>;
134 /**
135 * List the listeners for an accelerator. To see an AWS CLI example of listing the listeners for an accelerator, scroll down to Example.
136 */
137 listListeners(params: GlobalAccelerator.Types.ListListenersRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListListenersResponse) => void): Request<GlobalAccelerator.Types.ListListenersResponse, AWSError>;
138 /**
139 * List the listeners for an accelerator. To see an AWS CLI example of listing the listeners for an accelerator, scroll down to Example.
140 */
141 listListeners(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListListenersResponse) => void): Request<GlobalAccelerator.Types.ListListenersResponse, AWSError>;
142 /**
143 * List all tags for an accelerator. To see an AWS CLI example of listing tags for an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
144 */
145 listTagsForResource(params: GlobalAccelerator.Types.ListTagsForResourceRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ListTagsForResourceResponse) => void): Request<GlobalAccelerator.Types.ListTagsForResourceResponse, AWSError>;
146 /**
147 * List all tags for an accelerator. To see an AWS CLI example of listing tags for an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
148 */
149 listTagsForResource(callback?: (err: AWSError, data: GlobalAccelerator.Types.ListTagsForResourceResponse) => void): Request<GlobalAccelerator.Types.ListTagsForResourceResponse, AWSError>;
150 /**
151 * Provisions an IP address range to use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. To see an AWS CLI example of provisioning an address range for BYOIP, scroll down to Example. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
152 */
153 provisionByoipCidr(params: GlobalAccelerator.Types.ProvisionByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.ProvisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.ProvisionByoipCidrResponse, AWSError>;
154 /**
155 * Provisions an IP address range to use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool. After the address range is provisioned, it is ready to be advertised using AdvertiseByoipCidr. To see an AWS CLI example of provisioning an address range for BYOIP, scroll down to Example. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
156 */
157 provisionByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.ProvisionByoipCidrResponse) => void): Request<GlobalAccelerator.Types.ProvisionByoipCidrResponse, AWSError>;
158 /**
159 * Add tags to an accelerator resource. To see an AWS CLI example of adding tags to an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
160 */
161 tagResource(params: GlobalAccelerator.Types.TagResourceRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.TagResourceResponse) => void): Request<GlobalAccelerator.Types.TagResourceResponse, AWSError>;
162 /**
163 * Add tags to an accelerator resource. To see an AWS CLI example of adding tags to an accelerator, scroll down to Example. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
164 */
165 tagResource(callback?: (err: AWSError, data: GlobalAccelerator.Types.TagResourceResponse) => void): Request<GlobalAccelerator.Types.TagResourceResponse, AWSError>;
166 /**
167 * Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. To see an AWS CLI example of removing tags from an accelerator, scroll down to Example. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
168 */
169 untagResource(params: GlobalAccelerator.Types.UntagResourceRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UntagResourceResponse) => void): Request<GlobalAccelerator.Types.UntagResourceResponse, AWSError>;
170 /**
171 * Remove tags from a Global Accelerator resource. When you specify a tag key, the action removes both that key and its associated value. To see an AWS CLI example of removing tags from an accelerator, scroll down to Example. The operation succeeds even if you attempt to remove tags from an accelerator that was already removed. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
172 */
173 untagResource(callback?: (err: AWSError, data: GlobalAccelerator.Types.UntagResourceResponse) => void): Request<GlobalAccelerator.Types.UntagResourceResponse, AWSError>;
174 /**
175 * Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example. You must specify the US West (Oregon) Region to create or update accelerators.
176 */
177 updateAccelerator(params: GlobalAccelerator.Types.UpdateAcceleratorRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorResponse, AWSError>;
178 /**
179 * Update an accelerator. To see an AWS CLI example of updating an accelerator, scroll down to Example. You must specify the US West (Oregon) Region to create or update accelerators.
180 */
181 updateAccelerator(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorResponse, AWSError>;
182 /**
183 * Update the attributes for an accelerator. To see an AWS CLI example of updating an accelerator to enable flow logs, scroll down to Example.
184 */
185 updateAcceleratorAttributes(params: GlobalAccelerator.Types.UpdateAcceleratorAttributesRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorAttributesResponse, AWSError>;
186 /**
187 * Update the attributes for an accelerator. To see an AWS CLI example of updating an accelerator to enable flow logs, scroll down to Example.
188 */
189 updateAcceleratorAttributes(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateAcceleratorAttributesResponse) => void): Request<GlobalAccelerator.Types.UpdateAcceleratorAttributesResponse, AWSError>;
190 /**
191 * Update an endpoint group. To see an AWS CLI example of updating an endpoint group, scroll down to Example.
192 */
193 updateEndpointGroup(params: GlobalAccelerator.Types.UpdateEndpointGroupRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.UpdateEndpointGroupResponse, AWSError>;
194 /**
195 * Update an endpoint group. To see an AWS CLI example of updating an endpoint group, scroll down to Example.
196 */
197 updateEndpointGroup(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateEndpointGroupResponse) => void): Request<GlobalAccelerator.Types.UpdateEndpointGroupResponse, AWSError>;
198 /**
199 * Update a listener. To see an AWS CLI example of updating listener, scroll down to Example.
200 */
201 updateListener(params: GlobalAccelerator.Types.UpdateListenerRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateListenerResponse) => void): Request<GlobalAccelerator.Types.UpdateListenerResponse, AWSError>;
202 /**
203 * Update a listener. To see an AWS CLI example of updating listener, scroll down to Example.
204 */
205 updateListener(callback?: (err: AWSError, data: GlobalAccelerator.Types.UpdateListenerResponse) => void): Request<GlobalAccelerator.Types.UpdateListenerResponse, AWSError>;
206 /**
207 * Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time. To see an AWS CLI example of withdrawing an address range for BYOIP so it will no longer be advertised by AWS, scroll down to Example. It can take a few minutes before traffic to the specified addresses stops routing to AWS because of propagation delays. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
208 */
209 withdrawByoipCidr(params: GlobalAccelerator.Types.WithdrawByoipCidrRequest, callback?: (err: AWSError, data: GlobalAccelerator.Types.WithdrawByoipCidrResponse) => void): Request<GlobalAccelerator.Types.WithdrawByoipCidrResponse, AWSError>;
210 /**
211 * Stops advertising an address range that is provisioned as an address pool. You can perform this operation at most once every 10 seconds, even if you specify different address ranges each time. To see an AWS CLI example of withdrawing an address range for BYOIP so it will no longer be advertised by AWS, scroll down to Example. It can take a few minutes before traffic to the specified addresses stops routing to AWS because of propagation delays. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
212 */
213 withdrawByoipCidr(callback?: (err: AWSError, data: GlobalAccelerator.Types.WithdrawByoipCidrResponse) => void): Request<GlobalAccelerator.Types.WithdrawByoipCidrResponse, AWSError>;
214}
215declare namespace GlobalAccelerator {
216 export interface Accelerator {
217 /**
218 * The Amazon Resource Name (ARN) of the accelerator.
219 */
220 AcceleratorArn?: GenericString;
221 /**
222 * The name of the accelerator. The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
223 */
224 Name?: GenericString;
225 /**
226 * The value for the address type must be IPv4.
227 */
228 IpAddressType?: IpAddressType;
229 /**
230 * Indicates whether the accelerator is enabled. The value is true or false. The default value is true. If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
231 */
232 Enabled?: GenericBoolean;
233 /**
234 * The static IP addresses that Global Accelerator associates with the accelerator.
235 */
236 IpSets?: IpSets;
237 /**
238 * The Domain Name System (DNS) name that Global Accelerator creates that points to your accelerator's static IP addresses. The naming convention for the DNS name is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com. For more information about the default DNS name, see Support for DNS Addressing in Global Accelerator in the AWS Global Accelerator Developer Guide.
239 */
240 DnsName?: GenericString;
241 /**
242 * Describes the deployment status of the accelerator.
243 */
244 Status?: AcceleratorStatus;
245 /**
246 * The date and time that the accelerator was created.
247 */
248 CreatedTime?: Timestamp;
249 /**
250 * The date and time that the accelerator was last modified.
251 */
252 LastModifiedTime?: Timestamp;
253 }
254 export interface AcceleratorAttributes {
255 /**
256 * Indicates whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified. For more information, see Flow Logs in the AWS Global Accelerator Developer Guide.
257 */
258 FlowLogsEnabled?: GenericBoolean;
259 /**
260 * The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the bucket.
261 */
262 FlowLogsS3Bucket?: GenericString;
263 /**
264 * The prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following: s3-bucket_name//AWSLogs/aws_account_id
265 */
266 FlowLogsS3Prefix?: GenericString;
267 }
268 export type AcceleratorStatus = "DEPLOYED"|"IN_PROGRESS"|string;
269 export type Accelerators = Accelerator[];
270 export interface AdvertiseByoipCidrRequest {
271 /**
272 * The address range, in CIDR notation. This must be the exact range that you provisioned. You can't advertise only a portion of the provisioned range.
273 */
274 Cidr: GenericString;
275 }
276 export interface AdvertiseByoipCidrResponse {
277 /**
278 * Information about the address range.
279 */
280 ByoipCidr?: ByoipCidr;
281 }
282 export interface ByoipCidr {
283 /**
284 * The address range, in CIDR notation.
285 */
286 Cidr?: GenericString;
287 /**
288 * The state of the address pool.
289 */
290 State?: ByoipCidrState;
291 /**
292 * A history of status changes for an IP address range that that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
293 */
294 Events?: ByoipCidrEvents;
295 }
296 export interface ByoipCidrEvent {
297 /**
298 * A string that contains an Event message describing changes that you make in the status of an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
299 */
300 Message?: GenericString;
301 /**
302 * A timestamp when you make a status change for an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
303 */
304 Timestamp?: Timestamp;
305 }
306 export type ByoipCidrEvents = ByoipCidrEvent[];
307 export type ByoipCidrState = "PENDING_PROVISIONING"|"READY"|"PENDING_ADVERTISING"|"ADVERTISING"|"PENDING_WITHDRAWING"|"PENDING_DEPROVISIONING"|"DEPROVISIONED"|"FAILED_PROVISION"|"FAILED_ADVERTISING"|"FAILED_WITHDRAW"|"FAILED_DEPROVISION"|string;
308 export type ByoipCidrs = ByoipCidr[];
309 export interface CidrAuthorizationContext {
310 /**
311 * The plain-text authorization message for the prefix and account.
312 */
313 Message: GenericString;
314 /**
315 * The signed authorization message for the prefix and account.
316 */
317 Signature: GenericString;
318 }
319 export type ClientAffinity = "NONE"|"SOURCE_IP"|string;
320 export interface CreateAcceleratorRequest {
321 /**
322 * The name of an accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
323 */
324 Name: GenericString;
325 /**
326 * The value for the address type must be IPv4.
327 */
328 IpAddressType?: IpAddressType;
329 /**
330 * Optionally, if you've added your own IP address pool to Global Accelerator, you can choose IP addresses from your own pool to use for the accelerator's static IP addresses. You can specify one or two addresses, separated by a comma. Do not include the /32 suffix. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool. For more information, see Bring Your Own IP Addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
331 */
332 IpAddresses?: IpAddresses;
333 /**
334 * Indicates whether an accelerator is enabled. The value is true or false. The default value is true. If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
335 */
336 Enabled?: GenericBoolean;
337 /**
338 * A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of an accelerator.
339 */
340 IdempotencyToken: IdempotencyToken;
341 /**
342 * Create tags for an accelerator. For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
343 */
344 Tags?: Tags;
345 }
346 export interface CreateAcceleratorResponse {
347 /**
348 * The accelerator that is created by specifying a listener and the supported IP address types.
349 */
350 Accelerator?: Accelerator;
351 }
352 export interface CreateEndpointGroupRequest {
353 /**
354 * The Amazon Resource Name (ARN) of the listener.
355 */
356 ListenerArn: GenericString;
357 /**
358 * The name of the AWS Region where the endpoint group is located. A listener can have only one endpoint group in a specific Region.
359 */
360 EndpointGroupRegion: GenericString;
361 /**
362 * The list of endpoint objects.
363 */
364 EndpointConfigurations?: EndpointConfigurations;
365 /**
366 * The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing. The default value is 100.
367 */
368 TrafficDialPercentage?: TrafficDialPercentage;
369 /**
370 * The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If listener port is a list of ports, Global Accelerator uses the first port in the list.
371 */
372 HealthCheckPort?: HealthCheckPort;
373 /**
374 * The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
375 */
376 HealthCheckProtocol?: HealthCheckProtocol;
377 /**
378 * If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
379 */
380 HealthCheckPath?: GenericString;
381 /**
382 * The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
383 */
384 HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds;
385 /**
386 * The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
387 */
388 ThresholdCount?: ThresholdCount;
389 /**
390 * A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
391 */
392 IdempotencyToken: IdempotencyToken;
393 }
394 export interface CreateEndpointGroupResponse {
395 /**
396 * The information about the endpoint group that was created.
397 */
398 EndpointGroup?: EndpointGroup;
399 }
400 export interface CreateListenerRequest {
401 /**
402 * The Amazon Resource Name (ARN) of your accelerator.
403 */
404 AcceleratorArn: GenericString;
405 /**
406 * The list of port ranges to support for connections from clients to your accelerator.
407 */
408 PortRanges: PortRanges;
409 /**
410 * The protocol for connections from clients to your accelerator.
411 */
412 Protocol: Protocol;
413 /**
414 * Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Clienty affinity gives you control over whether to always route each client to the same specific endpoint. AWS Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If client affinity is NONE, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, source port, destination IP address, destination port, and protocol—to select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global Accelerator, their connections might not be always routed to the same endpoint because the hash value changes. If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP instead. When you use the SOURCE_IP setting, Global Accelerator uses the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value. The default value is NONE.
415 */
416 ClientAffinity?: ClientAffinity;
417 /**
418 * A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
419 */
420 IdempotencyToken: IdempotencyToken;
421 }
422 export interface CreateListenerResponse {
423 /**
424 * The listener that you've created.
425 */
426 Listener?: Listener;
427 }
428 export interface DeleteAcceleratorRequest {
429 /**
430 * The Amazon Resource Name (ARN) of an accelerator.
431 */
432 AcceleratorArn: GenericString;
433 }
434 export interface DeleteEndpointGroupRequest {
435 /**
436 * The Amazon Resource Name (ARN) of the endpoint group to delete.
437 */
438 EndpointGroupArn: GenericString;
439 }
440 export interface DeleteListenerRequest {
441 /**
442 * The Amazon Resource Name (ARN) of the listener.
443 */
444 ListenerArn: GenericString;
445 }
446 export interface DeprovisionByoipCidrRequest {
447 /**
448 * The address range, in CIDR notation. The prefix must be the same prefix that you specified when you provisioned the address range.
449 */
450 Cidr: GenericString;
451 }
452 export interface DeprovisionByoipCidrResponse {
453 /**
454 * Information about the address range.
455 */
456 ByoipCidr?: ByoipCidr;
457 }
458 export interface DescribeAcceleratorAttributesRequest {
459 /**
460 * The Amazon Resource Name (ARN) of the accelerator with the attributes that you want to describe.
461 */
462 AcceleratorArn: GenericString;
463 }
464 export interface DescribeAcceleratorAttributesResponse {
465 /**
466 * The attributes of the accelerator.
467 */
468 AcceleratorAttributes?: AcceleratorAttributes;
469 }
470 export interface DescribeAcceleratorRequest {
471 /**
472 * The Amazon Resource Name (ARN) of the accelerator to describe.
473 */
474 AcceleratorArn: GenericString;
475 }
476 export interface DescribeAcceleratorResponse {
477 /**
478 * The description of the accelerator.
479 */
480 Accelerator?: Accelerator;
481 }
482 export interface DescribeEndpointGroupRequest {
483 /**
484 * The Amazon Resource Name (ARN) of the endpoint group to describe.
485 */
486 EndpointGroupArn: GenericString;
487 }
488 export interface DescribeEndpointGroupResponse {
489 /**
490 * The description of an endpoint group.
491 */
492 EndpointGroup?: EndpointGroup;
493 }
494 export interface DescribeListenerRequest {
495 /**
496 * The Amazon Resource Name (ARN) of the listener to describe.
497 */
498 ListenerArn: GenericString;
499 }
500 export interface DescribeListenerResponse {
501 /**
502 * The description of a listener.
503 */
504 Listener?: Listener;
505 }
506 export interface EndpointConfiguration {
507 /**
508 * An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For EC2 instances, this is the EC2 instance ID. An Application Load Balancer can be either internal or internet-facing.
509 */
510 EndpointId?: GenericString;
511 /**
512 * The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint. For more information, see Endpoint Weights in the AWS Global Accelerator Developer Guide.
513 */
514 Weight?: EndpointWeight;
515 /**
516 * Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the Application Load Balancer endpoint fronted by the accelerator. For more information, see Preserve Client IP Addresses in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
517 */
518 ClientIPPreservationEnabled?: GenericBoolean;
519 }
520 export type EndpointConfigurations = EndpointConfiguration[];
521 export interface EndpointDescription {
522 /**
523 * An ID for the endpoint. If the endpoint is a Network Load Balancer or Application Load Balancer, this is the Amazon Resource Name (ARN) of the resource. If the endpoint is an Elastic IP address, this is the Elastic IP address allocation ID. For EC2 instances, this is the EC2 instance ID. An Application Load Balancer can be either internal or internet-facing.
524 */
525 EndpointId?: GenericString;
526 /**
527 * The weight associated with the endpoint. When you add weights to endpoints, you configure AWS Global Accelerator to route traffic based on proportions that you specify. For example, you might specify endpoint weights of 4, 5, 5, and 6 (sum=20). The result is that 4/20 of your traffic, on average, is routed to the first endpoint, 5/20 is routed both to the second and third endpoints, and 6/20 is routed to the last endpoint. For more information, see Endpoint Weights in the AWS Global Accelerator Developer Guide.
528 */
529 Weight?: EndpointWeight;
530 /**
531 * The health status of the endpoint.
532 */
533 HealthState?: HealthState;
534 /**
535 * The reason code associated with why the endpoint is not healthy. If the endpoint state is healthy, a reason code is not provided. If the endpoint state is unhealthy, the reason code can be one of the following values: Timeout: The health check requests to the endpoint are timing out before returning a status. Failed: The health check failed, for example because the endpoint response was invalid (malformed). If the endpoint state is initial, the reason code can be one of the following values: ProvisioningInProgress: The endpoint is in the process of being provisioned. InitialHealthChecking: Global Accelerator is still setting up the minimum number of health checks for the endpoint that are required to determine its health status.
536 */
537 HealthReason?: GenericString;
538 /**
539 * Indicates whether client IP address preservation is enabled for an Application Load Balancer endpoint. The value is true or false. The default value is true for new accelerators. If the value is set to true, the client's IP address is preserved in the X-Forwarded-For request header as traffic travels to applications on the Application Load Balancer endpoint fronted by the accelerator. For more information, see Viewing Client IP Addresses in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
540 */
541 ClientIPPreservationEnabled?: GenericBoolean;
542 }
543 export type EndpointDescriptions = EndpointDescription[];
544 export interface EndpointGroup {
545 /**
546 * The Amazon Resource Name (ARN) of the endpoint group.
547 */
548 EndpointGroupArn?: GenericString;
549 /**
550 * The AWS Region that this endpoint group belongs.
551 */
552 EndpointGroupRegion?: GenericString;
553 /**
554 * The list of endpoint objects.
555 */
556 EndpointDescriptions?: EndpointDescriptions;
557 /**
558 * The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing. The default value is 100.
559 */
560 TrafficDialPercentage?: TrafficDialPercentage;
561 /**
562 * The port that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group. The default port is the port for the listener that this endpoint group is associated with. If the listener port is a list, Global Accelerator uses the first specified port in the list of ports.
563 */
564 HealthCheckPort?: HealthCheckPort;
565 /**
566 * The protocol that Global Accelerator uses to perform health checks on endpoints that are part of this endpoint group. The default value is TCP.
567 */
568 HealthCheckProtocol?: HealthCheckProtocol;
569 /**
570 * If the protocol is HTTP/S, then this value provides the ping path that Global Accelerator uses for the destination on the endpoints for health checks. The default is slash (/).
571 */
572 HealthCheckPath?: GenericString;
573 /**
574 * The time—10 seconds or 30 seconds—between health checks for each endpoint. The default value is 30.
575 */
576 HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds;
577 /**
578 * The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
579 */
580 ThresholdCount?: ThresholdCount;
581 }
582 export type EndpointGroups = EndpointGroup[];
583 export type EndpointWeight = number;
584 export type GenericBoolean = boolean;
585 export type GenericString = string;
586 export type HealthCheckIntervalSeconds = number;
587 export type HealthCheckPort = number;
588 export type HealthCheckProtocol = "TCP"|"HTTP"|"HTTPS"|string;
589 export type HealthState = "INITIAL"|"HEALTHY"|"UNHEALTHY"|string;
590 export type IdempotencyToken = string;
591 export type IpAddress = string;
592 export type IpAddressType = "IPV4"|string;
593 export type IpAddresses = IpAddress[];
594 export interface IpSet {
595 /**
596 * The types of IP addresses included in this IP set.
597 */
598 IpFamily?: GenericString;
599 /**
600 * The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
601 */
602 IpAddresses?: IpAddresses;
603 }
604 export type IpSets = IpSet[];
605 export interface ListAcceleratorsRequest {
606 /**
607 * The number of Global Accelerator objects that you want to return with this call. The default value is 10.
608 */
609 MaxResults?: MaxResults;
610 /**
611 * The token for the next set of results. You receive this token from a previous call.
612 */
613 NextToken?: GenericString;
614 }
615 export interface ListAcceleratorsResponse {
616 /**
617 * The list of accelerators for a customer account.
618 */
619 Accelerators?: Accelerators;
620 /**
621 * The token for the next set of results. You receive this token from a previous call.
622 */
623 NextToken?: GenericString;
624 }
625 export interface ListByoipCidrsRequest {
626 /**
627 * The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.
628 */
629 MaxResults?: MaxResults;
630 /**
631 * The token for the next page of results.
632 */
633 NextToken?: GenericString;
634 }
635 export interface ListByoipCidrsResponse {
636 /**
637 * Information about your address ranges.
638 */
639 ByoipCidrs?: ByoipCidrs;
640 /**
641 * The token for the next page of results.
642 */
643 NextToken?: GenericString;
644 }
645 export interface ListEndpointGroupsRequest {
646 /**
647 * The Amazon Resource Name (ARN) of the listener.
648 */
649 ListenerArn: GenericString;
650 /**
651 * The number of endpoint group objects that you want to return with this call. The default value is 10.
652 */
653 MaxResults?: MaxResults;
654 /**
655 * The token for the next set of results. You receive this token from a previous call.
656 */
657 NextToken?: GenericString;
658 }
659 export interface ListEndpointGroupsResponse {
660 /**
661 * The list of the endpoint groups associated with a listener.
662 */
663 EndpointGroups?: EndpointGroups;
664 /**
665 * The token for the next set of results. You receive this token from a previous call.
666 */
667 NextToken?: GenericString;
668 }
669 export interface ListListenersRequest {
670 /**
671 * The Amazon Resource Name (ARN) of the accelerator for which you want to list listener objects.
672 */
673 AcceleratorArn: GenericString;
674 /**
675 * The number of listener objects that you want to return with this call. The default value is 10.
676 */
677 MaxResults?: MaxResults;
678 /**
679 * The token for the next set of results. You receive this token from a previous call.
680 */
681 NextToken?: GenericString;
682 }
683 export interface ListListenersResponse {
684 /**
685 * The list of listeners for an accelerator.
686 */
687 Listeners?: Listeners;
688 /**
689 * The token for the next set of results. You receive this token from a previous call.
690 */
691 NextToken?: GenericString;
692 }
693 export interface ListTagsForResourceRequest {
694 /**
695 * The Amazon Resource Name (ARN) of the accelerator to list tags for. An ARN uniquely identifies an accelerator.
696 */
697 ResourceArn: ResourceArn;
698 }
699 export interface ListTagsForResourceResponse {
700 /**
701 * Root level tag for the Tags parameters.
702 */
703 Tags?: Tags;
704 }
705 export interface Listener {
706 /**
707 * The Amazon Resource Name (ARN) of the listener.
708 */
709 ListenerArn?: GenericString;
710 /**
711 * The list of port ranges for the connections from clients to the accelerator.
712 */
713 PortRanges?: PortRanges;
714 /**
715 * The protocol for the connections from clients to the accelerator.
716 */
717 Protocol?: Protocol;
718 /**
719 * Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Clienty affinity gives you control over whether to always route each client to the same specific endpoint. AWS Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If client affinity is NONE, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, source port, destination IP address, destination port, and protocol—to select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global Accelerator, their connections might not be always routed to the same endpoint because the hash value changes. If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP instead. When you use the SOURCE_IP setting, Global Accelerator uses the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value. The default value is NONE.
720 */
721 ClientAffinity?: ClientAffinity;
722 }
723 export type Listeners = Listener[];
724 export type MaxResults = number;
725 export type PortNumber = number;
726 export interface PortRange {
727 /**
728 * The first port in the range of ports, inclusive.
729 */
730 FromPort?: PortNumber;
731 /**
732 * The last port in the range of ports, inclusive.
733 */
734 ToPort?: PortNumber;
735 }
736 export type PortRanges = PortRange[];
737 export type Protocol = "TCP"|"UDP"|string;
738 export interface ProvisionByoipCidrRequest {
739 /**
740 * The public IPv4 address range, in CIDR notation. The most specific IP prefix that you can specify is /24. The address range cannot overlap with another address range that you've brought to this or another Region.
741 */
742 Cidr: GenericString;
743 /**
744 * A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP.
745 */
746 CidrAuthorizationContext: CidrAuthorizationContext;
747 }
748 export interface ProvisionByoipCidrResponse {
749 /**
750 * Information about the address range.
751 */
752 ByoipCidr?: ByoipCidr;
753 }
754 export type ResourceArn = string;
755 export interface Tag {
756 /**
757 * A string that contains a Tag key.
758 */
759 Key: TagKey;
760 /**
761 * A string that contains a Tag value.
762 */
763 Value: TagValue;
764 }
765 export type TagKey = string;
766 export type TagKeys = TagKey[];
767 export interface TagResourceRequest {
768 /**
769 * The Amazon Resource Name (ARN) of the Global Accelerator resource to add tags to. An ARN uniquely identifies a resource.
770 */
771 ResourceArn: ResourceArn;
772 /**
773 * The tags to add to a resource. A tag consists of a key and a value that you define.
774 */
775 Tags: Tags;
776 }
777 export interface TagResourceResponse {
778 }
779 export type TagValue = string;
780 export type Tags = Tag[];
781 export type ThresholdCount = number;
782 export type Timestamp = Date;
783 export type TrafficDialPercentage = number;
784 export interface UntagResourceRequest {
785 /**
786 * The Amazon Resource Name (ARN) of the Global Accelerator resource to remove tags from. An ARN uniquely identifies a resource.
787 */
788 ResourceArn: ResourceArn;
789 /**
790 * The tag key pairs that you want to remove from the specified resources.
791 */
792 TagKeys: TagKeys;
793 }
794 export interface UntagResourceResponse {
795 }
796 export interface UpdateAcceleratorAttributesRequest {
797 /**
798 * The Amazon Resource Name (ARN) of the accelerator that you want to update.
799 */
800 AcceleratorArn: GenericString;
801 /**
802 * Update whether flow logs are enabled. The default value is false. If the value is true, FlowLogsS3Bucket and FlowLogsS3Prefix must be specified. For more information, see Flow Logs in the AWS Global Accelerator Developer Guide.
803 */
804 FlowLogsEnabled?: GenericBoolean;
805 /**
806 * The name of the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. The bucket must exist and have a bucket policy that grants AWS Global Accelerator permission to write to the bucket.
807 */
808 FlowLogsS3Bucket?: GenericString;
809 /**
810 * Update the prefix for the location in the Amazon S3 bucket for the flow logs. Attribute is required if FlowLogsEnabled is true. If you don’t specify a prefix, the flow logs are stored in the root of the bucket. If you specify slash (/) for the S3 bucket prefix, the log file bucket folder structure will include a double slash (//), like the following: s3-bucket_name//AWSLogs/aws_account_id
811 */
812 FlowLogsS3Prefix?: GenericString;
813 }
814 export interface UpdateAcceleratorAttributesResponse {
815 /**
816 * Updated attributes for the accelerator.
817 */
818 AcceleratorAttributes?: AcceleratorAttributes;
819 }
820 export interface UpdateAcceleratorRequest {
821 /**
822 * The Amazon Resource Name (ARN) of the accelerator to update.
823 */
824 AcceleratorArn: GenericString;
825 /**
826 * The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
827 */
828 Name?: GenericString;
829 /**
830 * The value for the address type must be IPv4.
831 */
832 IpAddressType?: IpAddressType;
833 /**
834 * Indicates whether an accelerator is enabled. The value is true or false. The default value is true. If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
835 */
836 Enabled?: GenericBoolean;
837 }
838 export interface UpdateAcceleratorResponse {
839 /**
840 * Information about the updated accelerator.
841 */
842 Accelerator?: Accelerator;
843 }
844 export interface UpdateEndpointGroupRequest {
845 /**
846 * The Amazon Resource Name (ARN) of the endpoint group.
847 */
848 EndpointGroupArn: GenericString;
849 /**
850 * The list of endpoint objects.
851 */
852 EndpointConfigurations?: EndpointConfigurations;
853 /**
854 * The percentage of traffic to send to an AWS Region. Additional traffic is distributed to other endpoint groups for this listener. Use this action to increase (dial up) or decrease (dial down) traffic to a specific Region. The percentage is applied to the traffic that would otherwise have been routed to the Region based on optimal routing. The default value is 100.
855 */
856 TrafficDialPercentage?: TrafficDialPercentage;
857 /**
858 * The port that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default port is the listener port that this endpoint group is associated with. If the listener port is a list of ports, Global Accelerator uses the first port in the list.
859 */
860 HealthCheckPort?: HealthCheckPort;
861 /**
862 * The protocol that AWS Global Accelerator uses to check the health of endpoints that are part of this endpoint group. The default value is TCP.
863 */
864 HealthCheckProtocol?: HealthCheckProtocol;
865 /**
866 * If the protocol is HTTP/S, then this specifies the path that is the destination for health check targets. The default value is slash (/).
867 */
868 HealthCheckPath?: GenericString;
869 /**
870 * The time—10 seconds or 30 seconds—between each health check for an endpoint. The default value is 30.
871 */
872 HealthCheckIntervalSeconds?: HealthCheckIntervalSeconds;
873 /**
874 * The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set an unhealthy endpoint to healthy. The default value is 3.
875 */
876 ThresholdCount?: ThresholdCount;
877 }
878 export interface UpdateEndpointGroupResponse {
879 /**
880 * The information about the endpoint group that was updated.
881 */
882 EndpointGroup?: EndpointGroup;
883 }
884 export interface UpdateListenerRequest {
885 /**
886 * The Amazon Resource Name (ARN) of the listener to update.
887 */
888 ListenerArn: GenericString;
889 /**
890 * The updated list of port ranges for the connections from clients to the accelerator.
891 */
892 PortRanges?: PortRanges;
893 /**
894 * The updated protocol for the connections from clients to the accelerator.
895 */
896 Protocol?: Protocol;
897 /**
898 * Client affinity lets you direct all requests from a user to the same endpoint, if you have stateful applications, regardless of the port and protocol of the client request. Clienty affinity gives you control over whether to always route each client to the same specific endpoint. AWS Global Accelerator uses a consistent-flow hashing algorithm to choose the optimal endpoint for a connection. If client affinity is NONE, Global Accelerator uses the "five-tuple" (5-tuple) properties—source IP address, source port, destination IP address, destination port, and protocol—to select the hash value, and then chooses the best endpoint. However, with this setting, if someone uses different ports to connect to Global Accelerator, their connections might not be always routed to the same endpoint because the hash value changes. If you want a given client to always be routed to the same endpoint, set client affinity to SOURCE_IP instead. When you use the SOURCE_IP setting, Global Accelerator uses the "two-tuple" (2-tuple) properties— source (client) IP address and destination IP address—to select the hash value. The default value is NONE.
899 */
900 ClientAffinity?: ClientAffinity;
901 }
902 export interface UpdateListenerResponse {
903 /**
904 * Information for the updated listener.
905 */
906 Listener?: Listener;
907 }
908 export interface WithdrawByoipCidrRequest {
909 /**
910 * The address range, in CIDR notation.
911 */
912 Cidr: GenericString;
913 }
914 export interface WithdrawByoipCidrResponse {
915 /**
916 * Information about the address pool.
917 */
918 ByoipCidr?: ByoipCidr;
919 }
920 /**
921 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
922 */
923 export type apiVersion = "2018-08-08"|"latest"|string;
924 export interface ClientApiVersions {
925 /**
926 * A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
927 */
928 apiVersion?: apiVersion;
929 }
930 export type ClientConfiguration = ServiceConfigurationOptions & ClientApiVersions;
931 /**
932 * Contains interfaces for use with the GlobalAccelerator client.
933 */
934 export import Types = GlobalAccelerator;
935}
936export = GlobalAccelerator;