blib/lib/Paws/GlobalAccelerator.pm untested

filter: Statementstmt 0.0% 0 / 316 Branchbran 0.0% 0 / 32 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 62 Podpod 0.0% 0 / 61 totaltotal 0.0% 0 / 471 CC 17 SCAR 16.2
CC
17
Cov
0%
ListAllAccelerators
12.0
ListAllByoipCidrs
12.0
ListAllCustomRoutingAccelerators
12.0
CRAP 5.1
1 package Paws::GlobalAccelerator;
2 use Moose;
3 sub service { 'globalaccelerator' }
4 sub signing_name { 'globalaccelerator' }
5 sub version { '2018-08-08' }
6 sub target_prefix { 'GlobalAccelerator_V20180706' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub AddCustomRoutingEndpoints {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::AddCustomRoutingEndpoints', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub AdvertiseByoipCidr {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::AdvertiseByoipCidr', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub AllowCustomRoutingTraffic {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::AllowCustomRoutingTraffic', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub CreateAccelerator {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::CreateAccelerator', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub CreateCustomRoutingAccelerator {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::CreateCustomRoutingAccelerator', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub CreateCustomRoutingEndpointGroup {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::CreateCustomRoutingEndpointGroup', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub CreateCustomRoutingListener {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::CreateCustomRoutingListener', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub CreateEndpointGroup {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::CreateEndpointGroup', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub CreateListener {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::CreateListener', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DeleteAccelerator {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeleteAccelerator', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub DeleteCustomRoutingAccelerator {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeleteCustomRoutingAccelerator', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub DeleteCustomRoutingEndpointGroup {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeleteCustomRoutingEndpointGroup', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub DeleteCustomRoutingListener {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeleteCustomRoutingListener', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DeleteEndpointGroup {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeleteEndpointGroup', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub DeleteListener {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeleteListener', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub DenyCustomRoutingTraffic {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DenyCustomRoutingTraffic', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub DeprovisionByoipCidr {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DeprovisionByoipCidr', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub DescribeAccelerator {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeAccelerator', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub DescribeAcceleratorAttributes {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeAcceleratorAttributes', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub DescribeCustomRoutingAccelerator {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeCustomRoutingAccelerator', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub DescribeCustomRoutingAcceleratorAttributes {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeCustomRoutingAcceleratorAttributes', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub DescribeCustomRoutingEndpointGroup {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeCustomRoutingEndpointGroup', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub DescribeCustomRoutingListener {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeCustomRoutingListener', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub DescribeEndpointGroup {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeEndpointGroup', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub DescribeListener {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::DescribeListener', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub ListAccelerators {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListAccelerators', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub ListByoipCidrs {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListByoipCidrs', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub ListCustomRoutingAccelerators {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListCustomRoutingAccelerators', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub ListCustomRoutingEndpointGroups {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListCustomRoutingEndpointGroups', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub ListCustomRoutingListeners {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListCustomRoutingListeners', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168 sub ListCustomRoutingPortMappings {
169 my $self = shift;
170 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListCustomRoutingPortMappings', @_);
171 return $self->caller->do_call($self, $call_object);
172 }
173 sub ListCustomRoutingPortMappingsByDestination {
174 my $self = shift;
175 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListCustomRoutingPortMappingsByDestination', @_);
176 return $self->caller->do_call($self, $call_object);
177 }
178 sub ListEndpointGroups {
179 my $self = shift;
180 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListEndpointGroups', @_);
181 return $self->caller->do_call($self, $call_object);
182 }
183 sub ListListeners {
184 my $self = shift;
185 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListListeners', @_);
186 return $self->caller->do_call($self, $call_object);
187 }
188 sub ListTagsForResource {
189 my $self = shift;
190 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ListTagsForResource', @_);
191 return $self->caller->do_call($self, $call_object);
192 }
193 sub ProvisionByoipCidr {
194 my $self = shift;
195 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::ProvisionByoipCidr', @_);
196 return $self->caller->do_call($self, $call_object);
197 }
198 sub RemoveCustomRoutingEndpoints {
199 my $self = shift;
200 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::RemoveCustomRoutingEndpoints', @_);
201 return $self->caller->do_call($self, $call_object);
202 }
203 sub TagResource {
204 my $self = shift;
205 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::TagResource', @_);
206 return $self->caller->do_call($self, $call_object);
207 }
208 sub UntagResource {
209 my $self = shift;
210 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UntagResource', @_);
211 return $self->caller->do_call($self, $call_object);
212 }
213 sub UpdateAccelerator {
214 my $self = shift;
215 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateAccelerator', @_);
216 return $self->caller->do_call($self, $call_object);
217 }
218 sub UpdateAcceleratorAttributes {
219 my $self = shift;
220 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateAcceleratorAttributes', @_);
221 return $self->caller->do_call($self, $call_object);
222 }
223 sub UpdateCustomRoutingAccelerator {
224 my $self = shift;
225 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateCustomRoutingAccelerator', @_);
226 return $self->caller->do_call($self, $call_object);
227 }
228 sub UpdateCustomRoutingAcceleratorAttributes {
229 my $self = shift;
230 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateCustomRoutingAcceleratorAttributes', @_);
231 return $self->caller->do_call($self, $call_object);
232 }
233 sub UpdateCustomRoutingListener {
234 my $self = shift;
235 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateCustomRoutingListener', @_);
236 return $self->caller->do_call($self, $call_object);
237 }
238 sub UpdateEndpointGroup {
239 my $self = shift;
240 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateEndpointGroup', @_);
241 return $self->caller->do_call($self, $call_object);
242 }
243 sub UpdateListener {
244 my $self = shift;
245 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::UpdateListener', @_);
246 return $self->caller->do_call($self, $call_object);
247 }
248 sub WithdrawByoipCidr {
249 my $self = shift;
250 my $call_object = $self->new_with_coercions('Paws::GlobalAccelerator::WithdrawByoipCidr', @_);
251 return $self->caller->do_call($self, $call_object);
252 }
253
254 sub ListAllAccelerators {
255 my $self = shift;
256  
257 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
258 my $result = $self->ListAccelerators(@_);
259 my $next_result = $result;
260  
261 if (not defined $callback) {
262 while ($next_result->NextToken) {
263 $next_result = $self->ListAccelerators(@_, NextToken => $next_result->NextToken);
264 push @{ $result->Accelerators }, @{ $next_result->Accelerators };
265 }
266 return $result;
267 } else {
268 while ($result->NextToken) {
269 $callback->($_ => 'Accelerators') foreach (@{ $result->Accelerators });
270 $result = $self->ListAccelerators(@_, NextToken => $result->NextToken);
271 }
272 $callback->($_ => 'Accelerators') foreach (@{ $result->Accelerators });
273 }
274  
275 return undef
276 }
277 sub ListAllByoipCidrs {
278 my $self = shift;
279  
280 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
281 my $result = $self->ListByoipCidrs(@_);
282 my $next_result = $result;
283  
284 if (not defined $callback) {
285 while ($next_result->NextToken) {
286 $next_result = $self->ListByoipCidrs(@_, NextToken => $next_result->NextToken);
287 push @{ $result->ByoipCidrs }, @{ $next_result->ByoipCidrs };
288 }
289 return $result;
290 } else {
291 while ($result->NextToken) {
292 $callback->($_ => 'ByoipCidrs') foreach (@{ $result->ByoipCidrs });
293 $result = $self->ListByoipCidrs(@_, NextToken => $result->NextToken);
294 }
295 $callback->($_ => 'ByoipCidrs') foreach (@{ $result->ByoipCidrs });
296 }
297  
298 return undef
299 }
300 sub ListAllCustomRoutingAccelerators {
301 my $self = shift;
302  
303 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
304 my $result = $self->ListCustomRoutingAccelerators(@_);
305 my $next_result = $result;
306  
307 if (not defined $callback) {
308 while ($next_result->NextToken) {
309 $next_result = $self->ListCustomRoutingAccelerators(@_, NextToken => $next_result->NextToken);
310 push @{ $result->Accelerators }, @{ $next_result->Accelerators };
311 }
312 return $result;
313 } else {
314 while ($result->NextToken) {
315 $callback->($_ => 'Accelerators') foreach (@{ $result->Accelerators });
316 $result = $self->ListCustomRoutingAccelerators(@_, NextToken => $result->NextToken);
317 }
318 $callback->($_ => 'Accelerators') foreach (@{ $result->Accelerators });
319 }
320  
321 return undef
322 }
323 sub ListAllCustomRoutingListeners {
324 my $self = shift;
325  
326 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
327 my $result = $self->ListCustomRoutingListeners(@_);
328 my $next_result = $result;
329  
330 if (not defined $callback) {
331 while ($next_result->NextToken) {
332 $next_result = $self->ListCustomRoutingListeners(@_, NextToken => $next_result->NextToken);
333 push @{ $result->Listeners }, @{ $next_result->Listeners };
334 }
335 return $result;
336 } else {
337 while ($result->NextToken) {
338 $callback->($_ => 'Listeners') foreach (@{ $result->Listeners });
339 $result = $self->ListCustomRoutingListeners(@_, NextToken => $result->NextToken);
340 }
341 $callback->($_ => 'Listeners') foreach (@{ $result->Listeners });
342 }
343  
344 return undef
345 }
346 sub ListAllCustomRoutingPortMappings {
347 my $self = shift;
348  
349 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
350 my $result = $self->ListCustomRoutingPortMappings(@_);
351 my $next_result = $result;
352  
353 if (not defined $callback) {
354 while ($next_result->NextToken) {
355 $next_result = $self->ListCustomRoutingPortMappings(@_, NextToken => $next_result->NextToken);
356 push @{ $result->PortMappings }, @{ $next_result->PortMappings };
357 }
358 return $result;
359 } else {
360 while ($result->NextToken) {
361 $callback->($_ => 'PortMappings') foreach (@{ $result->PortMappings });
362 $result = $self->ListCustomRoutingPortMappings(@_, NextToken => $result->NextToken);
363 }
364 $callback->($_ => 'PortMappings') foreach (@{ $result->PortMappings });
365 }
366  
367 return undef
368 }
369 sub ListAllCustomRoutingPortMappingsByDestination {
370 my $self = shift;
371  
372 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
373 my $result = $self->ListCustomRoutingPortMappingsByDestination(@_);
374 my $next_result = $result;
375  
376 if (not defined $callback) {
377 while ($next_result->NextToken) {
378 $next_result = $self->ListCustomRoutingPortMappingsByDestination(@_, NextToken => $next_result->NextToken);
379 push @{ $result->DestinationPortMappings }, @{ $next_result->DestinationPortMappings };
380 }
381 return $result;
382 } else {
383 while ($result->NextToken) {
384 $callback->($_ => 'DestinationPortMappings') foreach (@{ $result->DestinationPortMappings });
385 $result = $self->ListCustomRoutingPortMappingsByDestination(@_, NextToken => $result->NextToken);
386 }
387 $callback->($_ => 'DestinationPortMappings') foreach (@{ $result->DestinationPortMappings });
388 }
389  
390 return undef
391 }
392 sub ListAllEndpointGroups {
393 my $self = shift;
394  
395 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
396 my $result = $self->ListEndpointGroups(@_);
397 my $next_result = $result;
398  
399 if (not defined $callback) {
400 while ($next_result->NextToken) {
401 $next_result = $self->ListEndpointGroups(@_, NextToken => $next_result->NextToken);
402 push @{ $result->EndpointGroups }, @{ $next_result->EndpointGroups };
403 }
404 return $result;
405 } else {
406 while ($result->NextToken) {
407 $callback->($_ => 'EndpointGroups') foreach (@{ $result->EndpointGroups });
408 $result = $self->ListEndpointGroups(@_, NextToken => $result->NextToken);
409 }
410 $callback->($_ => 'EndpointGroups') foreach (@{ $result->EndpointGroups });
411 }
412  
413 return undef
414 }
415 sub ListAllListeners {
416 my $self = shift;
417  
418 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
419 my $result = $self->ListListeners(@_);
420 my $next_result = $result;
421  
422 if (not defined $callback) {
423 while ($next_result->NextToken) {
424 $next_result = $self->ListListeners(@_, NextToken => $next_result->NextToken);
425 push @{ $result->Listeners }, @{ $next_result->Listeners };
426 }
427 return $result;
428 } else {
429 while ($result->NextToken) {
430 $callback->($_ => 'Listeners') foreach (@{ $result->Listeners });
431 $result = $self->ListListeners(@_, NextToken => $result->NextToken);
432 }
433 $callback->($_ => 'Listeners') foreach (@{ $result->Listeners });
434 }
435  
436 return undef
437 }
438  
439  
440 sub operations { qw/AddCustomRoutingEndpoints AdvertiseByoipCidr AllowCustomRoutingTraffic CreateAccelerator CreateCustomRoutingAccelerator CreateCustomRoutingEndpointGroup CreateCustomRoutingListener CreateEndpointGroup CreateListener DeleteAccelerator DeleteCustomRoutingAccelerator DeleteCustomRoutingEndpointGroup DeleteCustomRoutingListener DeleteEndpointGroup DeleteListener DenyCustomRoutingTraffic DeprovisionByoipCidr DescribeAccelerator DescribeAcceleratorAttributes DescribeCustomRoutingAccelerator DescribeCustomRoutingAcceleratorAttributes DescribeCustomRoutingEndpointGroup DescribeCustomRoutingListener DescribeEndpointGroup DescribeListener ListAccelerators ListByoipCidrs ListCustomRoutingAccelerators ListCustomRoutingEndpointGroups ListCustomRoutingListeners ListCustomRoutingPortMappings ListCustomRoutingPortMappingsByDestination ListEndpointGroups ListListeners ListTagsForResource ProvisionByoipCidr RemoveCustomRoutingEndpoints TagResource UntagResource UpdateAccelerator UpdateAcceleratorAttributes UpdateCustomRoutingAccelerator UpdateCustomRoutingAcceleratorAttributes UpdateCustomRoutingListener UpdateEndpointGroup UpdateListener WithdrawByoipCidr / }
441  
442 1;
443  
444 ### main pod documentation begin ###
445  
446 =head1 NAME
447  
448 Paws::GlobalAccelerator - Perl Interface to AWS AWS Global Accelerator
449  
450 =head1 SYNOPSIS
451  
452 use Paws;
453  
454 my $obj = Paws->service('GlobalAccelerator');
455 my $res = $obj->Method(
456 Arg1 => $val1,
457 Arg2 => [ 'V1', 'V2' ],
458 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
459 # of the arguments type
460 Arg3 => { Att1 => 'Val1' },
461 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
462 # the constructor of the arguments type
463 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
464 );
465  
466 =head1 DESCRIPTION
467  
468 AWS Global Accelerator
469  
470 This is the I<AWS Global Accelerator API Reference>. This guide is for
471 developers who need detailed information about AWS Global Accelerator
472 API actions, data types, and errors. For more information about Global
473 Accelerator features, see the AWS Global Accelerator Developer Guide
474 (https://docs.aws.amazon.com/global-accelerator/latest/dg/Welcome.html).
475  
476 AWS Global Accelerator is a service in which you create I<accelerators>
477 to improve the performance of your applications for local and global
478 users. Depending on the type of accelerator you choose, you can gain
479 additional benefits.
480  
481 =over
482  
483 =item *
484  
485 By using a standard accelerator, you can improve availability of your
486 internet applications that are used by a global audience. With a
487 standard accelerator, Global Accelerator directs traffic to optimal
488 endpoints over the AWS global network.
489  
490 =item *
491  
492 For other scenarios, you might choose a custom routing accelerator.
493 With a custom routing accelerator, you can use application logic to
494 directly map one or more users to a specific endpoint among many
495 endpoints.
496  
497 =back
498  
499 Global Accelerator is a global service that supports endpoints in
500 multiple AWS Regions but you must specify the US West (Oregon) Region
501 to create or update accelerators.
502  
503 By default, Global Accelerator provides you with two static IP
504 addresses that you associate with your accelerator. With a standard
505 accelerator, instead of using the IP addresses that Global Accelerator
506 provides, you can configure these entry points to be IPv4 addresses
507 from your own IP address ranges that you bring to Global Accelerator.
508 The static IP addresses are anycast from the AWS edge network. For a
509 standard accelerator, they distribute incoming application traffic
510 across multiple endpoint resources in multiple AWS Regions, which
511 increases the availability of your applications. Endpoints for standard
512 accelerators can be Network Load Balancers, Application Load Balancers,
513 Amazon EC2 instances, or Elastic IP addresses that are located in one
514 AWS Region or multiple Regions. For custom routing accelerators, you
515 map traffic that arrives to the static IP addresses to specific Amazon
516 EC2 servers in endpoints that are virtual private cloud (VPC) subnets.
517  
518 The static IP addresses remain assigned to your accelerator for as long
519 as it exists, even if you disable the accelerator and it no longer
520 accepts or routes traffic. However, when you I<delete> an accelerator,
521 you lose the static IP addresses that are assigned to it, so you can no
522 longer route traffic by using them. You can use IAM policies like
523 tag-based permissions with Global Accelerator to limit the users who
524 have permissions to delete an accelerator. For more information, see
525 Tag-based policies
526 (https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html).
527  
528 For standard accelerators, Global Accelerator uses the AWS global
529 network to route traffic to the optimal regional endpoint based on
530 health, client location, and policies that you configure. The service
531 reacts instantly to changes in health or configuration to ensure that
532 internet traffic from clients is always directed to healthy endpoints.
533  
534 For a list of the AWS Regions where Global Accelerator and other
535 services are currently supported, see the AWS Region Table
536 (https://docs.aws.amazon.com/about-aws/global-infrastructure/regional-product-services/).
537  
538 AWS Global Accelerator includes the following components:
539  
540 =over
541  
542 =item Static IP addresses
543  
544 Global Accelerator provides you with a set of two static IP addresses
545 that are anycast from the AWS edge network. If you bring your own IP
546 address range to AWS (BYOIP) to use with a standard accelerator, you
547 can instead assign IP addresses from your own pool to use with your
548 accelerator. For more information, see Bring your own IP addresses
549 (BYOIP) in AWS Global Accelerator
550 (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html).
551  
552 The IP addresses serve as single fixed entry points for your clients.
553 If you already have Elastic Load Balancing load balancers, Amazon EC2
554 instances, or Elastic IP address resources set up for your
555 applications, you can easily add those to a standard accelerator in
556 Global Accelerator. This allows Global Accelerator to use static IP
557 addresses to access the resources.
558  
559 The static IP addresses remain assigned to your accelerator for as long
560 as it exists, even if you disable the accelerator and it no longer
561 accepts or routes traffic. However, when you I<delete> an accelerator,
562 you lose the static IP addresses that are assigned to it, so you can no
563 longer route traffic by using them. You can use IAM policies like
564 tag-based permissions with Global Accelerator to delete an accelerator.
565 For more information, see Tag-based policies
566 (https://docs.aws.amazon.com/global-accelerator/latest/dg/access-control-manage-access-tag-policies.html).
567  
568 =item Accelerator
569  
570 An accelerator directs traffic to endpoints over the AWS global network
571 to improve the performance of your internet applications. Each
572 accelerator includes one or more listeners.
573  
574 There are two types of accelerators:
575  
576 =over
577  
578 =item *
579  
580 A I<standard> accelerator directs traffic to the optimal AWS endpoint
581 based on several factors, including the userE<rsquo>s location, the
582 health of the endpoint, and the endpoint weights that you configure.
583 This improves the availability and performance of your applications.
584 Endpoints can be Network Load Balancers, Application Load Balancers,
585 Amazon EC2 instances, or Elastic IP addresses.
586  
587 =item *
588  
589 A I<custom routing> accelerator directs traffic to one of possibly
590 thousands of Amazon EC2 instances running in a single or multiple
591 virtual private clouds (VPCs). With custom routing, listener ports are
592 mapped to statically associate port ranges with VPC subnets, which
593 allows Global Accelerator to determine an EC2 instance IP address at
594 the time of connection. By default, all port mapping destinations in a
595 VPC subnet can't receive traffic. You can choose to configure all
596 destinations in the subnet to receive traffic, or to specify individual
597 port mappings that can receive traffic.
598  
599 =back
600  
601 For more information, see Types of accelerators
602 (https://docs.aws.amazon.com/global-accelerator/latest/dg/introduction-accelerator-types.html).
603  
604 =item DNS name
605  
606 Global Accelerator assigns each accelerator a default Domain Name
607 System (DNS) name, similar to
608 C<a1234567890abcdef.awsglobalaccelerator.com>, that points to the
609 static IP addresses that Global Accelerator assigns to you or that you
610 choose from your own IP address range. Depending on the use case, you
611 can use your accelerator's static IP addresses or DNS name to route
612 traffic to your accelerator, or set up DNS records to route traffic
613 using your own custom domain name.
614  
615 =item Network zone
616  
617 A network zone services the static IP addresses for your accelerator
618 from a unique IP subnet. Similar to an AWS Availability Zone, a network
619 zone is an isolated unit with its own set of physical infrastructure.
620 When you configure an accelerator, by default, Global Accelerator
621 allocates two IPv4 addresses for it. If one IP address from a network
622 zone becomes unavailable due to IP address blocking by certain client
623 networks, or network disruptions, then client applications can retry on
624 the healthy static IP address from the other isolated network zone.
625  
626 =item Listener
627  
628 A listener processes inbound connections from clients to Global
629 Accelerator, based on the port (or port range) and protocol (or
630 protocols) that you configure. A listener can be configured for TCP,
631 UDP, or both TCP and UDP protocols. Each listener has one or more
632 endpoint groups associated with it, and traffic is forwarded to
633 endpoints in one of the groups. You associate endpoint groups with
634 listeners by specifying the Regions that you want to distribute traffic
635 to. With a standard accelerator, traffic is distributed to optimal
636 endpoints within the endpoint groups associated with a listener.
637  
638 =item Endpoint group
639  
640 Each endpoint group is associated with a specific AWS Region. Endpoint
641 groups include one or more endpoints in the Region. With a standard
642 accelerator, you can increase or reduce the percentage of traffic that
643 would be otherwise directed to an endpoint group by adjusting a setting
644 called a I<traffic dial>. The traffic dial lets you easily do
645 performance testing or blue/green deployment testing, for example, for
646 new releases across different AWS Regions.
647  
648 =item Endpoint
649  
650 An endpoint is a resource that Global Accelerator directs traffic to.
651  
652 Endpoints for standard accelerators can be Network Load Balancers,
653 Application Load Balancers, Amazon EC2 instances, or Elastic IP
654 addresses. An Application Load Balancer endpoint can be internet-facing
655 or internal. Traffic for standard accelerators is routed to endpoints
656 based on the health of the endpoint along with configuration options
657 that you choose, such as endpoint weights. For each endpoint, you can
658 configure weights, which are numbers that you can use to specify the
659 proportion of traffic to route to each one. This can be useful, for
660 example, to do performance testing within a Region.
661  
662 Endpoints for custom routing accelerators are virtual private cloud
663 (VPC) subnets with one or many EC2 instances.
664  
665 =back
666  
667  
668 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/globalaccelerator-2018-08-08>
669  
670  
671 =head1 METHODS
672  
673 =head2 AddCustomRoutingEndpoints
674  
675 =over
676  
677 =item EndpointConfigurations => ArrayRef[L<Paws::GlobalAccelerator::CustomRoutingEndpointConfiguration>]
678  
679 =item EndpointGroupArn => Str
680  
681  
682 =back
683  
684 Each argument is described in detail in: L<Paws::GlobalAccelerator::AddCustomRoutingEndpoints>
685  
686 Returns: a L<Paws::GlobalAccelerator::AddCustomRoutingEndpointsResponse> instance
687  
688 Associate a virtual private cloud (VPC) subnet endpoint with your
689 custom routing accelerator.
690  
691 The listener port range must be large enough to support the number of
692 IP addresses that can be specified in your subnet. The number of ports
693 required is: subnet size times the number of ports per destination EC2
694 instances. For example, a subnet defined as /24 requires a listener
695 port range of at least 255 ports.
696  
697 Note: You must have enough remaining listener ports available to map to
698 the subnet ports, or the call will fail with a LimitExceededException.
699  
700 By default, all destinations in a subnet in a custom routing
701 accelerator cannot receive traffic. To enable all destinations to
702 receive traffic, or to specify individual port mappings that can
703 receive traffic, see the AllowCustomRoutingTraffic
704 (https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html)
705 operation.
706  
707  
708 =head2 AdvertiseByoipCidr
709  
710 =over
711  
712 =item Cidr => Str
713  
714  
715 =back
716  
717 Each argument is described in detail in: L<Paws::GlobalAccelerator::AdvertiseByoipCidr>
718  
719 Returns: a L<Paws::GlobalAccelerator::AdvertiseByoipCidrResponse> instance
720  
721 Advertises an IPv4 address range that is provisioned for use with your
722 AWS resources through bring your own IP addresses (BYOIP). It can take
723 a few minutes before traffic to the specified addresses starts routing
724 to AWS because of propagation delays.
725  
726 To stop advertising the BYOIP address range, use WithdrawByoipCidr
727 (https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html).
728  
729 For more information, see Bring Your Own IP Addresses (BYOIP)
730 (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
731 in the I<AWS Global Accelerator Developer Guide>.
732  
733  
734 =head2 AllowCustomRoutingTraffic
735  
736 =over
737  
738 =item EndpointGroupArn => Str
739  
740 =item EndpointId => Str
741  
742 =item [AllowAllTrafficToEndpoint => Bool]
743  
744 =item [DestinationAddresses => ArrayRef[Str|Undef]]
745  
746 =item [DestinationPorts => ArrayRef[Int]]
747  
748  
749 =back
750  
751 Each argument is described in detail in: L<Paws::GlobalAccelerator::AllowCustomRoutingTraffic>
752  
753 Returns: nothing
754  
755 Specify the Amazon EC2 instance (destination) IP addresses and ports
756 for a VPC subnet endpoint that can receive traffic for a custom routing
757 accelerator. You can allow traffic to all destinations in the subnet
758 endpoint, or allow traffic to a specified list of destination IP
759 addresses and ports in the subnet. Note that you cannot specify IP
760 addresses or ports outside of the range that you configured for the
761 endpoint group.
762  
763 After you make changes, you can verify that the updates are complete by
764 checking the status of your accelerator: the status changes from
765 IN_PROGRESS to DEPLOYED.
766  
767  
768 =head2 CreateAccelerator
769  
770 =over
771  
772 =item IdempotencyToken => Str
773  
774 =item Name => Str
775  
776 =item [Enabled => Bool]
777  
778 =item [IpAddresses => ArrayRef[Str|Undef]]
779  
780 =item [IpAddressType => Str]
781  
782 =item [Tags => ArrayRef[L<Paws::GlobalAccelerator::Tag>]]
783  
784  
785 =back
786  
787 Each argument is described in detail in: L<Paws::GlobalAccelerator::CreateAccelerator>
788  
789 Returns: a L<Paws::GlobalAccelerator::CreateAcceleratorResponse> instance
790  
791 Create an accelerator. An accelerator includes one or more listeners
792 that process inbound connections and direct traffic to one or more
793 endpoint groups, each of which includes endpoints, such as Network Load
794 Balancers.
795  
796 Global Accelerator is a global service that supports endpoints in
797 multiple AWS Regions but you must specify the US West (Oregon) Region
798 to create or update accelerators.
799  
800  
801 =head2 CreateCustomRoutingAccelerator
802  
803 =over
804  
805 =item IdempotencyToken => Str
806  
807 =item Name => Str
808  
809 =item [Enabled => Bool]
810  
811 =item [IpAddresses => ArrayRef[Str|Undef]]
812  
813 =item [IpAddressType => Str]
814  
815 =item [Tags => ArrayRef[L<Paws::GlobalAccelerator::Tag>]]
816  
817  
818 =back
819  
820 Each argument is described in detail in: L<Paws::GlobalAccelerator::CreateCustomRoutingAccelerator>
821  
822 Returns: a L<Paws::GlobalAccelerator::CreateCustomRoutingAcceleratorResponse> instance
823  
824 Create a custom routing accelerator. A custom routing accelerator
825 directs traffic to one of possibly thousands of Amazon EC2 instance
826 destinations running in a single or multiple virtual private clouds
827 (VPC) subnet endpoints.
828  
829 Be aware that, by default, all destination EC2 instances in a VPC
830 subnet endpoint cannot receive traffic. To enable all destinations to
831 receive traffic, or to specify individual port mappings that can
832 receive traffic, see the AllowCustomRoutingTraffic
833 (https://docs.aws.amazon.com/global-accelerator/latest/api/API_AllowCustomRoutingTraffic.html)
834 operation.
835  
836 Global Accelerator is a global service that supports endpoints in
837 multiple AWS Regions but you must specify the US West (Oregon) Region
838 to create or update accelerators.
839  
840  
841 =head2 CreateCustomRoutingEndpointGroup
842  
843 =over
844  
845 =item DestinationConfigurations => ArrayRef[L<Paws::GlobalAccelerator::CustomRoutingDestinationConfiguration>]
846  
847 =item EndpointGroupRegion => Str
848  
849 =item IdempotencyToken => Str
850  
851 =item ListenerArn => Str
852  
853  
854 =back
855  
856 Each argument is described in detail in: L<Paws::GlobalAccelerator::CreateCustomRoutingEndpointGroup>
857  
858 Returns: a L<Paws::GlobalAccelerator::CreateCustomRoutingEndpointGroupResponse> instance
859  
860 Create an endpoint group for the specified listener for a custom
861 routing accelerator. An endpoint group is a collection of endpoints in
862 one AWS Region.
863  
864  
865 =head2 CreateCustomRoutingListener
866  
867 =over
868  
869 =item AcceleratorArn => Str
870  
871 =item IdempotencyToken => Str
872  
873 =item PortRanges => ArrayRef[L<Paws::GlobalAccelerator::PortRange>]
874  
875  
876 =back
877  
878 Each argument is described in detail in: L<Paws::GlobalAccelerator::CreateCustomRoutingListener>
879  
880 Returns: a L<Paws::GlobalAccelerator::CreateCustomRoutingListenerResponse> instance
881  
882 Create a listener to process inbound connections from clients to a
883 custom routing accelerator. Connections arrive to assigned static IP
884 addresses on the port range that you specify.
885  
886  
887 =head2 CreateEndpointGroup
888  
889 =over
890  
891 =item EndpointGroupRegion => Str
892  
893 =item IdempotencyToken => Str
894  
895 =item ListenerArn => Str
896  
897 =item [EndpointConfigurations => ArrayRef[L<Paws::GlobalAccelerator::EndpointConfiguration>]]
898  
899 =item [HealthCheckIntervalSeconds => Int]
900  
901 =item [HealthCheckPath => Str]
902  
903 =item [HealthCheckPort => Int]
904  
905 =item [HealthCheckProtocol => Str]
906  
907 =item [PortOverrides => ArrayRef[L<Paws::GlobalAccelerator::PortOverride>]]
908  
909 =item [ThresholdCount => Int]
910  
911 =item [TrafficDialPercentage => Num]
912  
913  
914 =back
915  
916 Each argument is described in detail in: L<Paws::GlobalAccelerator::CreateEndpointGroup>
917  
918 Returns: a L<Paws::GlobalAccelerator::CreateEndpointGroupResponse> instance
919  
920 Create an endpoint group for the specified listener. An endpoint group
921 is a collection of endpoints in one AWS Region. A resource must be
922 valid and active when you add it as an endpoint.
923  
924  
925 =head2 CreateListener
926  
927 =over
928  
929 =item AcceleratorArn => Str
930  
931 =item IdempotencyToken => Str
932  
933 =item PortRanges => ArrayRef[L<Paws::GlobalAccelerator::PortRange>]
934  
935 =item Protocol => Str
936  
937 =item [ClientAffinity => Str]
938  
939  
940 =back
941  
942 Each argument is described in detail in: L<Paws::GlobalAccelerator::CreateListener>
943  
944 Returns: a L<Paws::GlobalAccelerator::CreateListenerResponse> instance
945  
946 Create a listener to process inbound connections from clients to an
947 accelerator. Connections arrive to assigned static IP addresses on a
948 port, port range, or list of port ranges that you specify.
949  
950  
951 =head2 DeleteAccelerator
952  
953 =over
954  
955 =item AcceleratorArn => Str
956  
957  
958 =back
959  
960 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeleteAccelerator>
961  
962 Returns: nothing
963  
964 Delete an accelerator. Before you can delete an accelerator, you must
965 disable it and remove all dependent resources (listeners and endpoint
966 groups). To disable the accelerator, update the accelerator to set
967 C<Enabled> to false.
968  
969 When you create an accelerator, by default, Global Accelerator provides
970 you with a set of two static IP addresses. Alternatively, you can bring
971 your own IP address ranges to Global Accelerator and assign IP
972 addresses from those ranges.
973  
974 The IP addresses are assigned to your accelerator for as long as it
975 exists, even if you disable the accelerator and it no longer accepts or
976 routes traffic. However, when you I<delete> an accelerator, you lose
977 the static IP addresses that are assigned to the accelerator, so you
978 can no longer route traffic by using them. As a best practice, ensure
979 that you have permissions in place to avoid inadvertently deleting
980 accelerators. You can use IAM policies with Global Accelerator to limit
981 the users who have permissions to delete an accelerator. For more
982 information, see Authentication and Access Control
983 (https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html)
984 in the I<AWS Global Accelerator Developer Guide>.
985  
986  
987 =head2 DeleteCustomRoutingAccelerator
988  
989 =over
990  
991 =item AcceleratorArn => Str
992  
993  
994 =back
995  
996 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeleteCustomRoutingAccelerator>
997  
998 Returns: nothing
999  
1000 Delete a custom routing accelerator. Before you can delete an
1001 accelerator, you must disable it and remove all dependent resources
1002 (listeners and endpoint groups). To disable the accelerator, update the
1003 accelerator to set C<Enabled> to false.
1004  
1005 When you create a custom routing accelerator, by default, Global
1006 Accelerator provides you with a set of two static IP addresses.
1007  
1008 The IP addresses are assigned to your accelerator for as long as it
1009 exists, even if you disable the accelerator and it no longer accepts or
1010 routes traffic. However, when you I<delete> an accelerator, you lose
1011 the static IP addresses that are assigned to the accelerator, so you
1012 can no longer route traffic by using them. As a best practice, ensure
1013 that you have permissions in place to avoid inadvertently deleting
1014 accelerators. You can use IAM policies with Global Accelerator to limit
1015 the users who have permissions to delete an accelerator. For more
1016 information, see Authentication and Access Control
1017 (https://docs.aws.amazon.com/global-accelerator/latest/dg/auth-and-access-control.html)
1018 in the I<AWS Global Accelerator Developer Guide>.
1019  
1020  
1021 =head2 DeleteCustomRoutingEndpointGroup
1022  
1023 =over
1024  
1025 =item EndpointGroupArn => Str
1026  
1027  
1028 =back
1029  
1030 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeleteCustomRoutingEndpointGroup>
1031  
1032 Returns: nothing
1033  
1034 Delete an endpoint group from a listener for a custom routing
1035 accelerator.
1036  
1037  
1038 =head2 DeleteCustomRoutingListener
1039  
1040 =over
1041  
1042 =item ListenerArn => Str
1043  
1044  
1045 =back
1046  
1047 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeleteCustomRoutingListener>
1048  
1049 Returns: nothing
1050  
1051 Delete a listener for a custom routing accelerator.
1052  
1053  
1054 =head2 DeleteEndpointGroup
1055  
1056 =over
1057  
1058 =item EndpointGroupArn => Str
1059  
1060  
1061 =back
1062  
1063 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeleteEndpointGroup>
1064  
1065 Returns: nothing
1066  
1067 Delete an endpoint group from a listener.
1068  
1069  
1070 =head2 DeleteListener
1071  
1072 =over
1073  
1074 =item ListenerArn => Str
1075  
1076  
1077 =back
1078  
1079 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeleteListener>
1080  
1081 Returns: nothing
1082  
1083 Delete a listener from an accelerator.
1084  
1085  
1086 =head2 DenyCustomRoutingTraffic
1087  
1088 =over
1089  
1090 =item EndpointGroupArn => Str
1091  
1092 =item EndpointId => Str
1093  
1094 =item [DenyAllTrafficToEndpoint => Bool]
1095  
1096 =item [DestinationAddresses => ArrayRef[Str|Undef]]
1097  
1098 =item [DestinationPorts => ArrayRef[Int]]
1099  
1100  
1101 =back
1102  
1103 Each argument is described in detail in: L<Paws::GlobalAccelerator::DenyCustomRoutingTraffic>
1104  
1105 Returns: nothing
1106  
1107 Specify the Amazon EC2 instance (destination) IP addresses and ports
1108 for a VPC subnet endpoint that cannot receive traffic for a custom
1109 routing accelerator. You can deny traffic to all destinations in the
1110 VPC endpoint, or deny traffic to a specified list of destination IP
1111 addresses and ports. Note that you cannot specify IP addresses or ports
1112 outside of the range that you configured for the endpoint group.
1113  
1114 After you make changes, you can verify that the updates are complete by
1115 checking the status of your accelerator: the status changes from
1116 IN_PROGRESS to DEPLOYED.
1117  
1118  
1119 =head2 DeprovisionByoipCidr
1120  
1121 =over
1122  
1123 =item Cidr => Str
1124  
1125  
1126 =back
1127  
1128 Each argument is described in detail in: L<Paws::GlobalAccelerator::DeprovisionByoipCidr>
1129  
1130 Returns: a L<Paws::GlobalAccelerator::DeprovisionByoipCidrResponse> instance
1131  
1132 Releases the specified address range that you provisioned to use with
1133 your AWS resources through bring your own IP addresses (BYOIP) and
1134 deletes the corresponding address pool.
1135  
1136 Before you can release an address range, you must stop advertising it
1137 by using WithdrawByoipCidr
1138 (https://docs.aws.amazon.com/global-accelerator/latest/api/WithdrawByoipCidr.html)
1139 and you must not have any accelerators that are using static IP
1140 addresses allocated from its address range.
1141  
1142 For more information, see Bring Your Own IP Addresses (BYOIP)
1143 (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
1144 in the I<AWS Global Accelerator Developer Guide>.
1145  
1146  
1147 =head2 DescribeAccelerator
1148  
1149 =over
1150  
1151 =item AcceleratorArn => Str
1152  
1153  
1154 =back
1155  
1156 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeAccelerator>
1157  
1158 Returns: a L<Paws::GlobalAccelerator::DescribeAcceleratorResponse> instance
1159  
1160 Describe an accelerator.
1161  
1162  
1163 =head2 DescribeAcceleratorAttributes
1164  
1165 =over
1166  
1167 =item AcceleratorArn => Str
1168  
1169  
1170 =back
1171  
1172 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeAcceleratorAttributes>
1173  
1174 Returns: a L<Paws::GlobalAccelerator::DescribeAcceleratorAttributesResponse> instance
1175  
1176 Describe the attributes of an accelerator.
1177  
1178  
1179 =head2 DescribeCustomRoutingAccelerator
1180  
1181 =over
1182  
1183 =item AcceleratorArn => Str
1184  
1185  
1186 =back
1187  
1188 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeCustomRoutingAccelerator>
1189  
1190 Returns: a L<Paws::GlobalAccelerator::DescribeCustomRoutingAcceleratorResponse> instance
1191  
1192 Describe a custom routing accelerator.
1193  
1194  
1195 =head2 DescribeCustomRoutingAcceleratorAttributes
1196  
1197 =over
1198  
1199 =item AcceleratorArn => Str
1200  
1201  
1202 =back
1203  
1204 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeCustomRoutingAcceleratorAttributes>
1205  
1206 Returns: a L<Paws::GlobalAccelerator::DescribeCustomRoutingAcceleratorAttributesResponse> instance
1207  
1208 Describe the attributes of a custom routing accelerator.
1209  
1210  
1211 =head2 DescribeCustomRoutingEndpointGroup
1212  
1213 =over
1214  
1215 =item EndpointGroupArn => Str
1216  
1217  
1218 =back
1219  
1220 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeCustomRoutingEndpointGroup>
1221  
1222 Returns: a L<Paws::GlobalAccelerator::DescribeCustomRoutingEndpointGroupResponse> instance
1223  
1224 Describe an endpoint group for a custom routing accelerator.
1225  
1226  
1227 =head2 DescribeCustomRoutingListener
1228  
1229 =over
1230  
1231 =item ListenerArn => Str
1232  
1233  
1234 =back
1235  
1236 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeCustomRoutingListener>
1237  
1238 Returns: a L<Paws::GlobalAccelerator::DescribeCustomRoutingListenerResponse> instance
1239  
1240 The description of a listener for a custom routing accelerator.
1241  
1242  
1243 =head2 DescribeEndpointGroup
1244  
1245 =over
1246  
1247 =item EndpointGroupArn => Str
1248  
1249  
1250 =back
1251  
1252 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeEndpointGroup>
1253  
1254 Returns: a L<Paws::GlobalAccelerator::DescribeEndpointGroupResponse> instance
1255  
1256 Describe an endpoint group.
1257  
1258  
1259 =head2 DescribeListener
1260  
1261 =over
1262  
1263 =item ListenerArn => Str
1264  
1265  
1266 =back
1267  
1268 Each argument is described in detail in: L<Paws::GlobalAccelerator::DescribeListener>
1269  
1270 Returns: a L<Paws::GlobalAccelerator::DescribeListenerResponse> instance
1271  
1272 Describe a listener.
1273  
1274  
1275 =head2 ListAccelerators
1276  
1277 =over
1278  
1279 =item [MaxResults => Int]
1280  
1281 =item [NextToken => Str]
1282  
1283  
1284 =back
1285  
1286 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListAccelerators>
1287  
1288 Returns: a L<Paws::GlobalAccelerator::ListAcceleratorsResponse> instance
1289  
1290 List the accelerators for an AWS account.
1291  
1292  
1293 =head2 ListByoipCidrs
1294  
1295 =over
1296  
1297 =item [MaxResults => Int]
1298  
1299 =item [NextToken => Str]
1300  
1301  
1302 =back
1303  
1304 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListByoipCidrs>
1305  
1306 Returns: a L<Paws::GlobalAccelerator::ListByoipCidrsResponse> instance
1307  
1308 Lists the IP address ranges that were specified in calls to
1309 ProvisionByoipCidr
1310 (https://docs.aws.amazon.com/global-accelerator/latest/api/ProvisionByoipCidr.html),
1311 including the current state and a history of state changes.
1312  
1313  
1314 =head2 ListCustomRoutingAccelerators
1315  
1316 =over
1317  
1318 =item [MaxResults => Int]
1319  
1320 =item [NextToken => Str]
1321  
1322  
1323 =back
1324  
1325 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListCustomRoutingAccelerators>
1326  
1327 Returns: a L<Paws::GlobalAccelerator::ListCustomRoutingAcceleratorsResponse> instance
1328  
1329 List the custom routing accelerators for an AWS account.
1330  
1331  
1332 =head2 ListCustomRoutingEndpointGroups
1333  
1334 =over
1335  
1336 =item ListenerArn => Str
1337  
1338 =item [MaxResults => Int]
1339  
1340 =item [NextToken => Str]
1341  
1342  
1343 =back
1344  
1345 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListCustomRoutingEndpointGroups>
1346  
1347 Returns: a L<Paws::GlobalAccelerator::ListCustomRoutingEndpointGroupsResponse> instance
1348  
1349 List the endpoint groups that are associated with a listener for a
1350 custom routing accelerator.
1351  
1352  
1353 =head2 ListCustomRoutingListeners
1354  
1355 =over
1356  
1357 =item AcceleratorArn => Str
1358  
1359 =item [MaxResults => Int]
1360  
1361 =item [NextToken => Str]
1362  
1363  
1364 =back
1365  
1366 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListCustomRoutingListeners>
1367  
1368 Returns: a L<Paws::GlobalAccelerator::ListCustomRoutingListenersResponse> instance
1369  
1370 List the listeners for a custom routing accelerator.
1371  
1372  
1373 =head2 ListCustomRoutingPortMappings
1374  
1375 =over
1376  
1377 =item AcceleratorArn => Str
1378  
1379 =item [EndpointGroupArn => Str]
1380  
1381 =item [MaxResults => Int]
1382  
1383 =item [NextToken => Str]
1384  
1385  
1386 =back
1387  
1388 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListCustomRoutingPortMappings>
1389  
1390 Returns: a L<Paws::GlobalAccelerator::ListCustomRoutingPortMappingsResponse> instance
1391  
1392 Provides a complete mapping from the public accelerator IP address and
1393 port to destination EC2 instance IP addresses and ports in the virtual
1394 public cloud (VPC) subnet endpoint for a custom routing accelerator.
1395 For each subnet endpoint that you add, Global Accelerator creates a new
1396 static port mapping for the accelerator. The port mappings don't change
1397 after Global Accelerator generates them, so you can retrieve and cache
1398 the full mapping on your servers.
1399  
1400 If you remove a subnet from your accelerator, Global Accelerator
1401 removes (reclaims) the port mappings. If you add a subnet to your
1402 accelerator, Global Accelerator creates new port mappings (the existing
1403 ones don't change). If you add or remove EC2 instances in your subnet,
1404 the port mappings don't change, because the mappings are created when
1405 you add the subnet to Global Accelerator.
1406  
1407 The mappings also include a flag for each destination denoting which
1408 destination IP addresses and ports are allowed or denied traffic.
1409  
1410  
1411 =head2 ListCustomRoutingPortMappingsByDestination
1412  
1413 =over
1414  
1415 =item DestinationAddress => Str
1416  
1417 =item EndpointId => Str
1418  
1419 =item [MaxResults => Int]
1420  
1421 =item [NextToken => Str]
1422  
1423  
1424 =back
1425  
1426 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListCustomRoutingPortMappingsByDestination>
1427  
1428 Returns: a L<Paws::GlobalAccelerator::ListCustomRoutingPortMappingsByDestinationResponse> instance
1429  
1430 List the port mappings for a specific EC2 instance (destination) in a
1431 VPC subnet endpoint. The response is the mappings for one destination
1432 IP address. This is useful when your subnet endpoint has mappings that
1433 span multiple custom routing accelerators in your account, or for
1434 scenarios where you only want to list the port mappings for a specific
1435 destination instance.
1436  
1437  
1438 =head2 ListEndpointGroups
1439  
1440 =over
1441  
1442 =item ListenerArn => Str
1443  
1444 =item [MaxResults => Int]
1445  
1446 =item [NextToken => Str]
1447  
1448  
1449 =back
1450  
1451 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListEndpointGroups>
1452  
1453 Returns: a L<Paws::GlobalAccelerator::ListEndpointGroupsResponse> instance
1454  
1455 List the endpoint groups that are associated with a listener.
1456  
1457  
1458 =head2 ListListeners
1459  
1460 =over
1461  
1462 =item AcceleratorArn => Str
1463  
1464 =item [MaxResults => Int]
1465  
1466 =item [NextToken => Str]
1467  
1468  
1469 =back
1470  
1471 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListListeners>
1472  
1473 Returns: a L<Paws::GlobalAccelerator::ListListenersResponse> instance
1474  
1475 List the listeners for an accelerator.
1476  
1477  
1478 =head2 ListTagsForResource
1479  
1480 =over
1481  
1482 =item ResourceArn => Str
1483  
1484  
1485 =back
1486  
1487 Each argument is described in detail in: L<Paws::GlobalAccelerator::ListTagsForResource>
1488  
1489 Returns: a L<Paws::GlobalAccelerator::ListTagsForResourceResponse> instance
1490  
1491 List all tags for an accelerator.
1492  
1493 For more information, see Tagging in AWS Global Accelerator
1494 (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html)
1495 in the I<AWS Global Accelerator Developer Guide>.
1496  
1497  
1498 =head2 ProvisionByoipCidr
1499  
1500 =over
1501  
1502 =item Cidr => Str
1503  
1504 =item CidrAuthorizationContext => L<Paws::GlobalAccelerator::CidrAuthorizationContext>
1505  
1506  
1507 =back
1508  
1509 Each argument is described in detail in: L<Paws::GlobalAccelerator::ProvisionByoipCidr>
1510  
1511 Returns: a L<Paws::GlobalAccelerator::ProvisionByoipCidrResponse> instance
1512  
1513 Provisions an IP address range to use with your AWS resources through
1514 bring your own IP addresses (BYOIP) and creates a corresponding address
1515 pool. After the address range is provisioned, it is ready to be
1516 advertised using AdvertiseByoipCidr
1517 (https://docs.aws.amazon.com/global-accelerator/latest/api/AdvertiseByoipCidr.html).
1518  
1519 For more information, see Bring Your Own IP Addresses (BYOIP)
1520 (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
1521 in the I<AWS Global Accelerator Developer Guide>.
1522  
1523  
1524 =head2 RemoveCustomRoutingEndpoints
1525  
1526 =over
1527  
1528 =item EndpointGroupArn => Str
1529  
1530 =item EndpointIds => ArrayRef[Str|Undef]
1531  
1532  
1533 =back
1534  
1535 Each argument is described in detail in: L<Paws::GlobalAccelerator::RemoveCustomRoutingEndpoints>
1536  
1537 Returns: nothing
1538  
1539 Remove endpoints from a custom routing accelerator.
1540  
1541  
1542 =head2 TagResource
1543  
1544 =over
1545  
1546 =item ResourceArn => Str
1547  
1548 =item Tags => ArrayRef[L<Paws::GlobalAccelerator::Tag>]
1549  
1550  
1551 =back
1552  
1553 Each argument is described in detail in: L<Paws::GlobalAccelerator::TagResource>
1554  
1555 Returns: a L<Paws::GlobalAccelerator::TagResourceResponse> instance
1556  
1557 Add tags to an accelerator resource.
1558  
1559 For more information, see Tagging in AWS Global Accelerator
1560 (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html)
1561 in the I<AWS Global Accelerator Developer Guide>.
1562  
1563  
1564 =head2 UntagResource
1565  
1566 =over
1567  
1568 =item ResourceArn => Str
1569  
1570 =item TagKeys => ArrayRef[Str|Undef]
1571  
1572  
1573 =back
1574  
1575 Each argument is described in detail in: L<Paws::GlobalAccelerator::UntagResource>
1576  
1577 Returns: a L<Paws::GlobalAccelerator::UntagResourceResponse> instance
1578  
1579 Remove tags from a Global Accelerator resource. When you specify a tag
1580 key, the action removes both that key and its associated value. The
1581 operation succeeds even if you attempt to remove tags from an
1582 accelerator that was already removed.
1583  
1584 For more information, see Tagging in AWS Global Accelerator
1585 (https://docs.aws.amazon.com/global-accelerator/latest/dg/tagging-in-global-accelerator.html)
1586 in the I<AWS Global Accelerator Developer Guide>.
1587  
1588  
1589 =head2 UpdateAccelerator
1590  
1591 =over
1592  
1593 =item AcceleratorArn => Str
1594  
1595 =item [Enabled => Bool]
1596  
1597 =item [IpAddressType => Str]
1598  
1599 =item [Name => Str]
1600  
1601  
1602 =back
1603  
1604 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateAccelerator>
1605  
1606 Returns: a L<Paws::GlobalAccelerator::UpdateAcceleratorResponse> instance
1607  
1608 Update an accelerator.
1609  
1610 Global Accelerator is a global service that supports endpoints in
1611 multiple AWS Regions but you must specify the US West (Oregon) Region
1612 to create or update accelerators.
1613  
1614  
1615 =head2 UpdateAcceleratorAttributes
1616  
1617 =over
1618  
1619 =item AcceleratorArn => Str
1620  
1621 =item [FlowLogsEnabled => Bool]
1622  
1623 =item [FlowLogsS3Bucket => Str]
1624  
1625 =item [FlowLogsS3Prefix => Str]
1626  
1627  
1628 =back
1629  
1630 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateAcceleratorAttributes>
1631  
1632 Returns: a L<Paws::GlobalAccelerator::UpdateAcceleratorAttributesResponse> instance
1633  
1634 Update the attributes for an accelerator.
1635  
1636  
1637 =head2 UpdateCustomRoutingAccelerator
1638  
1639 =over
1640  
1641 =item AcceleratorArn => Str
1642  
1643 =item [Enabled => Bool]
1644  
1645 =item [IpAddressType => Str]
1646  
1647 =item [Name => Str]
1648  
1649  
1650 =back
1651  
1652 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateCustomRoutingAccelerator>
1653  
1654 Returns: a L<Paws::GlobalAccelerator::UpdateCustomRoutingAcceleratorResponse> instance
1655  
1656 Update a custom routing accelerator.
1657  
1658  
1659 =head2 UpdateCustomRoutingAcceleratorAttributes
1660  
1661 =over
1662  
1663 =item AcceleratorArn => Str
1664  
1665 =item [FlowLogsEnabled => Bool]
1666  
1667 =item [FlowLogsS3Bucket => Str]
1668  
1669 =item [FlowLogsS3Prefix => Str]
1670  
1671  
1672 =back
1673  
1674 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateCustomRoutingAcceleratorAttributes>
1675  
1676 Returns: a L<Paws::GlobalAccelerator::UpdateCustomRoutingAcceleratorAttributesResponse> instance
1677  
1678 Update the attributes for a custom routing accelerator.
1679  
1680  
1681 =head2 UpdateCustomRoutingListener
1682  
1683 =over
1684  
1685 =item ListenerArn => Str
1686  
1687 =item PortRanges => ArrayRef[L<Paws::GlobalAccelerator::PortRange>]
1688  
1689  
1690 =back
1691  
1692 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateCustomRoutingListener>
1693  
1694 Returns: a L<Paws::GlobalAccelerator::UpdateCustomRoutingListenerResponse> instance
1695  
1696 Update a listener for a custom routing accelerator.
1697  
1698  
1699 =head2 UpdateEndpointGroup
1700  
1701 =over
1702  
1703 =item EndpointGroupArn => Str
1704  
1705 =item [EndpointConfigurations => ArrayRef[L<Paws::GlobalAccelerator::EndpointConfiguration>]]
1706  
1707 =item [HealthCheckIntervalSeconds => Int]
1708  
1709 =item [HealthCheckPath => Str]
1710  
1711 =item [HealthCheckPort => Int]
1712  
1713 =item [HealthCheckProtocol => Str]
1714  
1715 =item [PortOverrides => ArrayRef[L<Paws::GlobalAccelerator::PortOverride>]]
1716  
1717 =item [ThresholdCount => Int]
1718  
1719 =item [TrafficDialPercentage => Num]
1720  
1721  
1722 =back
1723  
1724 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateEndpointGroup>
1725  
1726 Returns: a L<Paws::GlobalAccelerator::UpdateEndpointGroupResponse> instance
1727  
1728 Update an endpoint group. A resource must be valid and active when you
1729 add it as an endpoint.
1730  
1731  
1732 =head2 UpdateListener
1733  
1734 =over
1735  
1736 =item ListenerArn => Str
1737  
1738 =item [ClientAffinity => Str]
1739  
1740 =item [PortRanges => ArrayRef[L<Paws::GlobalAccelerator::PortRange>]]
1741  
1742 =item [Protocol => Str]
1743  
1744  
1745 =back
1746  
1747 Each argument is described in detail in: L<Paws::GlobalAccelerator::UpdateListener>
1748  
1749 Returns: a L<Paws::GlobalAccelerator::UpdateListenerResponse> instance
1750  
1751 Update a listener.
1752  
1753  
1754 =head2 WithdrawByoipCidr
1755  
1756 =over
1757  
1758 =item Cidr => Str
1759  
1760  
1761 =back
1762  
1763 Each argument is described in detail in: L<Paws::GlobalAccelerator::WithdrawByoipCidr>
1764  
1765 Returns: a L<Paws::GlobalAccelerator::WithdrawByoipCidrResponse> instance
1766  
1767 Stops advertising an address range that is provisioned as an address
1768 pool. You can perform this operation at most once every 10 seconds,
1769 even if you specify different address ranges each time.
1770  
1771 It can take a few minutes before traffic to the specified addresses
1772 stops routing to AWS because of propagation delays.
1773  
1774 For more information, see Bring Your Own IP Addresses (BYOIP)
1775 (https://docs.aws.amazon.com/global-accelerator/latest/dg/using-byoip.html)
1776 in the I<AWS Global Accelerator Developer Guide>.
1777  
1778  
1779  
1780  
1781 =head1 PAGINATORS
1782  
1783 Paginator methods are helpers that repetively call methods that return partial results
1784  
1785 =head2 ListAllAccelerators(sub { },[MaxResults => Int, NextToken => Str])
1786  
1787 =head2 ListAllAccelerators([MaxResults => Int, NextToken => Str])
1788  
1789  
1790 If passed a sub as first parameter, it will call the sub for each element found in :
1791  
1792 - Accelerators, passing the object as the first parameter, and the string 'Accelerators' as the second parameter
1793  
1794 If not, it will return a a L<Paws::GlobalAccelerator::ListAcceleratorsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1795  
1796  
1797 =head2 ListAllByoipCidrs(sub { },[MaxResults => Int, NextToken => Str])
1798  
1799 =head2 ListAllByoipCidrs([MaxResults => Int, NextToken => Str])
1800  
1801  
1802 If passed a sub as first parameter, it will call the sub for each element found in :
1803  
1804 - ByoipCidrs, passing the object as the first parameter, and the string 'ByoipCidrs' as the second parameter
1805  
1806 If not, it will return a a L<Paws::GlobalAccelerator::ListByoipCidrsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1807  
1808  
1809 =head2 ListAllCustomRoutingAccelerators(sub { },[MaxResults => Int, NextToken => Str])
1810  
1811 =head2 ListAllCustomRoutingAccelerators([MaxResults => Int, NextToken => Str])
1812  
1813  
1814 If passed a sub as first parameter, it will call the sub for each element found in :
1815  
1816 - Accelerators, passing the object as the first parameter, and the string 'Accelerators' as the second parameter
1817  
1818 If not, it will return a a L<Paws::GlobalAccelerator::ListCustomRoutingAcceleratorsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1819  
1820  
1821 =head2 ListAllCustomRoutingListeners(sub { },AcceleratorArn => Str, [MaxResults => Int, NextToken => Str])
1822  
1823 =head2 ListAllCustomRoutingListeners(AcceleratorArn => Str, [MaxResults => Int, NextToken => Str])
1824  
1825  
1826 If passed a sub as first parameter, it will call the sub for each element found in :
1827  
1828 - Listeners, passing the object as the first parameter, and the string 'Listeners' as the second parameter
1829  
1830 If not, it will return a a L<Paws::GlobalAccelerator::ListCustomRoutingListenersResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1831  
1832  
1833 =head2 ListAllCustomRoutingPortMappings(sub { },AcceleratorArn => Str, [EndpointGroupArn => Str, MaxResults => Int, NextToken => Str])
1834  
1835 =head2 ListAllCustomRoutingPortMappings(AcceleratorArn => Str, [EndpointGroupArn => Str, MaxResults => Int, NextToken => Str])
1836  
1837  
1838 If passed a sub as first parameter, it will call the sub for each element found in :
1839  
1840 - PortMappings, passing the object as the first parameter, and the string 'PortMappings' as the second parameter
1841  
1842 If not, it will return a a L<Paws::GlobalAccelerator::ListCustomRoutingPortMappingsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1843  
1844  
1845 =head2 ListAllCustomRoutingPortMappingsByDestination(sub { },DestinationAddress => Str, EndpointId => Str, [MaxResults => Int, NextToken => Str])
1846  
1847 =head2 ListAllCustomRoutingPortMappingsByDestination(DestinationAddress => Str, EndpointId => Str, [MaxResults => Int, NextToken => Str])
1848  
1849  
1850 If passed a sub as first parameter, it will call the sub for each element found in :
1851  
1852 - DestinationPortMappings, passing the object as the first parameter, and the string 'DestinationPortMappings' as the second parameter
1853  
1854 If not, it will return a a L<Paws::GlobalAccelerator::ListCustomRoutingPortMappingsByDestinationResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1855  
1856  
1857 =head2 ListAllEndpointGroups(sub { },ListenerArn => Str, [MaxResults => Int, NextToken => Str])
1858  
1859 =head2 ListAllEndpointGroups(ListenerArn => Str, [MaxResults => Int, NextToken => Str])
1860  
1861  
1862 If passed a sub as first parameter, it will call the sub for each element found in :
1863  
1864 - EndpointGroups, passing the object as the first parameter, and the string 'EndpointGroups' as the second parameter
1865  
1866 If not, it will return a a L<Paws::GlobalAccelerator::ListEndpointGroupsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1867  
1868  
1869 =head2 ListAllListeners(sub { },AcceleratorArn => Str, [MaxResults => Int, NextToken => Str])
1870  
1871 =head2 ListAllListeners(AcceleratorArn => Str, [MaxResults => Int, NextToken => Str])
1872  
1873  
1874 If passed a sub as first parameter, it will call the sub for each element found in :
1875  
1876 - Listeners, passing the object as the first parameter, and the string 'Listeners' as the second parameter
1877  
1878 If not, it will return a a L<Paws::GlobalAccelerator::ListListenersResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
1879  
1880  
1881  
1882  
1883  
1884 =head1 SEE ALSO
1885  
1886 This service class forms part of L<Paws>
1887  
1888 =head1 BUGS and CONTRIBUTIONS
1889  
1890 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1891  
1892 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1893  
1894 =cut
1895