blib/lib/Paws/NetworkManager.pm untested

filter: Statementstmt 0.0% 0 / 298 Branchbran 0.0% 0 / 36 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 50 Podpod 0.0% 0 / 49 totaltotal 0.0% 0 / 433 CC 19 SCAR 17.9
CC
19
Cov
0%
DescribeAllGlobalNetworks
12.0
GetAllConnections
12.0
GetAllCustomerGatewayAssociations
12.0
CRAP 6.0
1 package Paws::NetworkManager;
2 use Moose;
3 sub service { 'networkmanager' }
4 sub signing_name { 'networkmanager' }
5 sub version { '2019-07-05' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub AssociateCustomerGateway {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::NetworkManager::AssociateCustomerGateway', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub AssociateLink {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::NetworkManager::AssociateLink', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27 sub AssociateTransitGatewayConnectPeer {
28 my $self = shift;
29 my $call_object = $self->new_with_coercions('Paws::NetworkManager::AssociateTransitGatewayConnectPeer', @_);
30 return $self->caller->do_call($self, $call_object);
31 }
32 sub CreateConnection {
33 my $self = shift;
34 my $call_object = $self->new_with_coercions('Paws::NetworkManager::CreateConnection', @_);
35 return $self->caller->do_call($self, $call_object);
36 }
37 sub CreateDevice {
38 my $self = shift;
39 my $call_object = $self->new_with_coercions('Paws::NetworkManager::CreateDevice', @_);
40 return $self->caller->do_call($self, $call_object);
41 }
42 sub CreateGlobalNetwork {
43 my $self = shift;
44 my $call_object = $self->new_with_coercions('Paws::NetworkManager::CreateGlobalNetwork', @_);
45 return $self->caller->do_call($self, $call_object);
46 }
47 sub CreateLink {
48 my $self = shift;
49 my $call_object = $self->new_with_coercions('Paws::NetworkManager::CreateLink', @_);
50 return $self->caller->do_call($self, $call_object);
51 }
52 sub CreateSite {
53 my $self = shift;
54 my $call_object = $self->new_with_coercions('Paws::NetworkManager::CreateSite', @_);
55 return $self->caller->do_call($self, $call_object);
56 }
57 sub DeleteConnection {
58 my $self = shift;
59 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DeleteConnection', @_);
60 return $self->caller->do_call($self, $call_object);
61 }
62 sub DeleteDevice {
63 my $self = shift;
64 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DeleteDevice', @_);
65 return $self->caller->do_call($self, $call_object);
66 }
67 sub DeleteGlobalNetwork {
68 my $self = shift;
69 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DeleteGlobalNetwork', @_);
70 return $self->caller->do_call($self, $call_object);
71 }
72 sub DeleteLink {
73 my $self = shift;
74 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DeleteLink', @_);
75 return $self->caller->do_call($self, $call_object);
76 }
77 sub DeleteSite {
78 my $self = shift;
79 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DeleteSite', @_);
80 return $self->caller->do_call($self, $call_object);
81 }
82 sub DeregisterTransitGateway {
83 my $self = shift;
84 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DeregisterTransitGateway', @_);
85 return $self->caller->do_call($self, $call_object);
86 }
87 sub DescribeGlobalNetworks {
88 my $self = shift;
89 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DescribeGlobalNetworks', @_);
90 return $self->caller->do_call($self, $call_object);
91 }
92 sub DisassociateCustomerGateway {
93 my $self = shift;
94 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DisassociateCustomerGateway', @_);
95 return $self->caller->do_call($self, $call_object);
96 }
97 sub DisassociateLink {
98 my $self = shift;
99 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DisassociateLink', @_);
100 return $self->caller->do_call($self, $call_object);
101 }
102 sub DisassociateTransitGatewayConnectPeer {
103 my $self = shift;
104 my $call_object = $self->new_with_coercions('Paws::NetworkManager::DisassociateTransitGatewayConnectPeer', @_);
105 return $self->caller->do_call($self, $call_object);
106 }
107 sub GetConnections {
108 my $self = shift;
109 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetConnections', @_);
110 return $self->caller->do_call($self, $call_object);
111 }
112 sub GetCustomerGatewayAssociations {
113 my $self = shift;
114 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetCustomerGatewayAssociations', @_);
115 return $self->caller->do_call($self, $call_object);
116 }
117 sub GetDevices {
118 my $self = shift;
119 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetDevices', @_);
120 return $self->caller->do_call($self, $call_object);
121 }
122 sub GetLinkAssociations {
123 my $self = shift;
124 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetLinkAssociations', @_);
125 return $self->caller->do_call($self, $call_object);
126 }
127 sub GetLinks {
128 my $self = shift;
129 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetLinks', @_);
130 return $self->caller->do_call($self, $call_object);
131 }
132 sub GetSites {
133 my $self = shift;
134 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetSites', @_);
135 return $self->caller->do_call($self, $call_object);
136 }
137 sub GetTransitGatewayConnectPeerAssociations {
138 my $self = shift;
139 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetTransitGatewayConnectPeerAssociations', @_);
140 return $self->caller->do_call($self, $call_object);
141 }
142 sub GetTransitGatewayRegistrations {
143 my $self = shift;
144 my $call_object = $self->new_with_coercions('Paws::NetworkManager::GetTransitGatewayRegistrations', @_);
145 return $self->caller->do_call($self, $call_object);
146 }
147 sub ListTagsForResource {
148 my $self = shift;
149 my $call_object = $self->new_with_coercions('Paws::NetworkManager::ListTagsForResource', @_);
150 return $self->caller->do_call($self, $call_object);
151 }
152 sub RegisterTransitGateway {
153 my $self = shift;
154 my $call_object = $self->new_with_coercions('Paws::NetworkManager::RegisterTransitGateway', @_);
155 return $self->caller->do_call($self, $call_object);
156 }
157 sub TagResource {
158 my $self = shift;
159 my $call_object = $self->new_with_coercions('Paws::NetworkManager::TagResource', @_);
160 return $self->caller->do_call($self, $call_object);
161 }
162 sub UntagResource {
163 my $self = shift;
164 my $call_object = $self->new_with_coercions('Paws::NetworkManager::UntagResource', @_);
165 return $self->caller->do_call($self, $call_object);
166 }
167 sub UpdateConnection {
168 my $self = shift;
169 my $call_object = $self->new_with_coercions('Paws::NetworkManager::UpdateConnection', @_);
170 return $self->caller->do_call($self, $call_object);
171 }
172 sub UpdateDevice {
173 my $self = shift;
174 my $call_object = $self->new_with_coercions('Paws::NetworkManager::UpdateDevice', @_);
175 return $self->caller->do_call($self, $call_object);
176 }
177 sub UpdateGlobalNetwork {
178 my $self = shift;
179 my $call_object = $self->new_with_coercions('Paws::NetworkManager::UpdateGlobalNetwork', @_);
180 return $self->caller->do_call($self, $call_object);
181 }
182 sub UpdateLink {
183 my $self = shift;
184 my $call_object = $self->new_with_coercions('Paws::NetworkManager::UpdateLink', @_);
185 return $self->caller->do_call($self, $call_object);
186 }
187 sub UpdateSite {
188 my $self = shift;
189 my $call_object = $self->new_with_coercions('Paws::NetworkManager::UpdateSite', @_);
190 return $self->caller->do_call($self, $call_object);
191 }
192
193 sub DescribeAllGlobalNetworks {
194 my $self = shift;
195  
196 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
197 my $result = $self->DescribeGlobalNetworks(@_);
198 my $next_result = $result;
199  
200 if (not defined $callback) {
201 while ($next_result->NextToken) {
202 $next_result = $self->DescribeGlobalNetworks(@_, NextToken => $next_result->NextToken);
203 push @{ $result->GlobalNetworks }, @{ $next_result->GlobalNetworks };
204 }
205 return $result;
206 } else {
207 while ($result->NextToken) {
208 $callback->($_ => 'GlobalNetworks') foreach (@{ $result->GlobalNetworks });
209 $result = $self->DescribeGlobalNetworks(@_, NextToken => $result->NextToken);
210 }
211 $callback->($_ => 'GlobalNetworks') foreach (@{ $result->GlobalNetworks });
212 }
213  
214 return undef
215 }
216 sub GetAllConnections {
217 my $self = shift;
218  
219 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
220 my $result = $self->GetConnections(@_);
221 my $next_result = $result;
222  
223 if (not defined $callback) {
224 while ($next_result->NextToken) {
225 $next_result = $self->GetConnections(@_, NextToken => $next_result->NextToken);
226 push @{ $result->Connections }, @{ $next_result->Connections };
227 }
228 return $result;
229 } else {
230 while ($result->NextToken) {
231 $callback->($_ => 'Connections') foreach (@{ $result->Connections });
232 $result = $self->GetConnections(@_, NextToken => $result->NextToken);
233 }
234 $callback->($_ => 'Connections') foreach (@{ $result->Connections });
235 }
236  
237 return undef
238 }
239 sub GetAllCustomerGatewayAssociations {
240 my $self = shift;
241  
242 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
243 my $result = $self->GetCustomerGatewayAssociations(@_);
244 my $next_result = $result;
245  
246 if (not defined $callback) {
247 while ($next_result->NextToken) {
248 $next_result = $self->GetCustomerGatewayAssociations(@_, NextToken => $next_result->NextToken);
249 push @{ $result->CustomerGatewayAssociations }, @{ $next_result->CustomerGatewayAssociations };
250 }
251 return $result;
252 } else {
253 while ($result->NextToken) {
254 $callback->($_ => 'CustomerGatewayAssociations') foreach (@{ $result->CustomerGatewayAssociations });
255 $result = $self->GetCustomerGatewayAssociations(@_, NextToken => $result->NextToken);
256 }
257 $callback->($_ => 'CustomerGatewayAssociations') foreach (@{ $result->CustomerGatewayAssociations });
258 }
259  
260 return undef
261 }
262 sub GetAllDevices {
263 my $self = shift;
264  
265 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
266 my $result = $self->GetDevices(@_);
267 my $next_result = $result;
268  
269 if (not defined $callback) {
270 while ($next_result->NextToken) {
271 $next_result = $self->GetDevices(@_, NextToken => $next_result->NextToken);
272 push @{ $result->Devices }, @{ $next_result->Devices };
273 }
274 return $result;
275 } else {
276 while ($result->NextToken) {
277 $callback->($_ => 'Devices') foreach (@{ $result->Devices });
278 $result = $self->GetDevices(@_, NextToken => $result->NextToken);
279 }
280 $callback->($_ => 'Devices') foreach (@{ $result->Devices });
281 }
282  
283 return undef
284 }
285 sub GetAllLinkAssociations {
286 my $self = shift;
287  
288 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
289 my $result = $self->GetLinkAssociations(@_);
290 my $next_result = $result;
291  
292 if (not defined $callback) {
293 while ($next_result->NextToken) {
294 $next_result = $self->GetLinkAssociations(@_, NextToken => $next_result->NextToken);
295 push @{ $result->LinkAssociations }, @{ $next_result->LinkAssociations };
296 }
297 return $result;
298 } else {
299 while ($result->NextToken) {
300 $callback->($_ => 'LinkAssociations') foreach (@{ $result->LinkAssociations });
301 $result = $self->GetLinkAssociations(@_, NextToken => $result->NextToken);
302 }
303 $callback->($_ => 'LinkAssociations') foreach (@{ $result->LinkAssociations });
304 }
305  
306 return undef
307 }
308 sub GetAllLinks {
309 my $self = shift;
310  
311 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
312 my $result = $self->GetLinks(@_);
313 my $next_result = $result;
314  
315 if (not defined $callback) {
316 while ($next_result->NextToken) {
317 $next_result = $self->GetLinks(@_, NextToken => $next_result->NextToken);
318 push @{ $result->Links }, @{ $next_result->Links };
319 }
320 return $result;
321 } else {
322 while ($result->NextToken) {
323 $callback->($_ => 'Links') foreach (@{ $result->Links });
324 $result = $self->GetLinks(@_, NextToken => $result->NextToken);
325 }
326 $callback->($_ => 'Links') foreach (@{ $result->Links });
327 }
328  
329 return undef
330 }
331 sub GetAllSites {
332 my $self = shift;
333  
334 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
335 my $result = $self->GetSites(@_);
336 my $next_result = $result;
337  
338 if (not defined $callback) {
339 while ($next_result->NextToken) {
340 $next_result = $self->GetSites(@_, NextToken => $next_result->NextToken);
341 push @{ $result->Sites }, @{ $next_result->Sites };
342 }
343 return $result;
344 } else {
345 while ($result->NextToken) {
346 $callback->($_ => 'Sites') foreach (@{ $result->Sites });
347 $result = $self->GetSites(@_, NextToken => $result->NextToken);
348 }
349 $callback->($_ => 'Sites') foreach (@{ $result->Sites });
350 }
351  
352 return undef
353 }
354 sub GetAllTransitGatewayConnectPeerAssociations {
355 my $self = shift;
356  
357 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
358 my $result = $self->GetTransitGatewayConnectPeerAssociations(@_);
359 my $next_result = $result;
360  
361 if (not defined $callback) {
362 while ($next_result->NextToken) {
363 $next_result = $self->GetTransitGatewayConnectPeerAssociations(@_, NextToken => $next_result->NextToken);
364 push @{ $result->TransitGatewayConnectPeerAssociations }, @{ $next_result->TransitGatewayConnectPeerAssociations };
365 }
366 return $result;
367 } else {
368 while ($result->NextToken) {
369 $callback->($_ => 'TransitGatewayConnectPeerAssociations') foreach (@{ $result->TransitGatewayConnectPeerAssociations });
370 $result = $self->GetTransitGatewayConnectPeerAssociations(@_, NextToken => $result->NextToken);
371 }
372 $callback->($_ => 'TransitGatewayConnectPeerAssociations') foreach (@{ $result->TransitGatewayConnectPeerAssociations });
373 }
374  
375 return undef
376 }
377 sub GetAllTransitGatewayRegistrations {
378 my $self = shift;
379  
380 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
381 my $result = $self->GetTransitGatewayRegistrations(@_);
382 my $next_result = $result;
383  
384 if (not defined $callback) {
385 while ($next_result->NextToken) {
386 $next_result = $self->GetTransitGatewayRegistrations(@_, NextToken => $next_result->NextToken);
387 push @{ $result->TransitGatewayRegistrations }, @{ $next_result->TransitGatewayRegistrations };
388 }
389 return $result;
390 } else {
391 while ($result->NextToken) {
392 $callback->($_ => 'TransitGatewayRegistrations') foreach (@{ $result->TransitGatewayRegistrations });
393 $result = $self->GetTransitGatewayRegistrations(@_, NextToken => $result->NextToken);
394 }
395 $callback->($_ => 'TransitGatewayRegistrations') foreach (@{ $result->TransitGatewayRegistrations });
396 }
397  
398 return undef
399 }
400  
401  
402 sub operations { qw/AssociateCustomerGateway AssociateLink AssociateTransitGatewayConnectPeer CreateConnection CreateDevice CreateGlobalNetwork CreateLink CreateSite DeleteConnection DeleteDevice DeleteGlobalNetwork DeleteLink DeleteSite DeregisterTransitGateway DescribeGlobalNetworks DisassociateCustomerGateway DisassociateLink DisassociateTransitGatewayConnectPeer GetConnections GetCustomerGatewayAssociations GetDevices GetLinkAssociations GetLinks GetSites GetTransitGatewayConnectPeerAssociations GetTransitGatewayRegistrations ListTagsForResource RegisterTransitGateway TagResource UntagResource UpdateConnection UpdateDevice UpdateGlobalNetwork UpdateLink UpdateSite / }
403  
404 1;
405  
406 ### main pod documentation begin ###
407  
408 =head1 NAME
409  
410 Paws::NetworkManager - Perl Interface to AWS AWS Network Manager
411  
412 =head1 SYNOPSIS
413  
414 use Paws;
415  
416 my $obj = Paws->service('NetworkManager');
417 my $res = $obj->Method(
418 Arg1 => $val1,
419 Arg2 => [ 'V1', 'V2' ],
420 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
421 # of the arguments type
422 Arg3 => { Att1 => 'Val1' },
423 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
424 # the constructor of the arguments type
425 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
426 );
427  
428 =head1 DESCRIPTION
429  
430 Transit Gateway Network Manager (Network Manager) enables you to create
431 a global network, in which you can monitor your AWS and on-premises
432 networks that are built around transit gateways.
433  
434 The Network Manager APIs are supported in the US West (Oregon) Region
435 only. You must specify the C<us-west-2> Region in all requests made to
436 Network Manager.
437  
438 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05>
439  
440  
441 =head1 METHODS
442  
443 =head2 AssociateCustomerGateway
444  
445 =over
446  
447 =item CustomerGatewayArn => Str
448  
449 =item DeviceId => Str
450  
451 =item GlobalNetworkId => Str
452  
453 =item [LinkId => Str]
454  
455  
456 =back
457  
458 Each argument is described in detail in: L<Paws::NetworkManager::AssociateCustomerGateway>
459  
460 Returns: a L<Paws::NetworkManager::AssociateCustomerGatewayResponse> instance
461  
462 Associates a customer gateway with a device and optionally, with a
463 link. If you specify a link, it must be associated with the specified
464 device.
465  
466 You can only associate customer gateways that are connected to a VPN
467 attachment on a transit gateway. The transit gateway must be registered
468 in your global network. When you register a transit gateway, customer
469 gateways that are connected to the transit gateway are automatically
470 included in the global network. To list customer gateways that are
471 connected to a transit gateway, use the DescribeVpnConnections
472 (https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html)
473 EC2 API and filter by C<transit-gateway-id>.
474  
475 You cannot associate a customer gateway with more than one device and
476 link.
477  
478  
479 =head2 AssociateLink
480  
481 =over
482  
483 =item DeviceId => Str
484  
485 =item GlobalNetworkId => Str
486  
487 =item LinkId => Str
488  
489  
490 =back
491  
492 Each argument is described in detail in: L<Paws::NetworkManager::AssociateLink>
493  
494 Returns: a L<Paws::NetworkManager::AssociateLinkResponse> instance
495  
496 Associates a link to a device. A device can be associated to multiple
497 links and a link can be associated to multiple devices. The device and
498 link must be in the same global network and the same site.
499  
500  
501 =head2 AssociateTransitGatewayConnectPeer
502  
503 =over
504  
505 =item DeviceId => Str
506  
507 =item GlobalNetworkId => Str
508  
509 =item TransitGatewayConnectPeerArn => Str
510  
511 =item [LinkId => Str]
512  
513  
514 =back
515  
516 Each argument is described in detail in: L<Paws::NetworkManager::AssociateTransitGatewayConnectPeer>
517  
518 Returns: a L<Paws::NetworkManager::AssociateTransitGatewayConnectPeerResponse> instance
519  
520 Associates a transit gateway Connect peer with a device, and
521 optionally, with a link. If you specify a link, it must be associated
522 with the specified device.
523  
524 You can only associate transit gateway Connect peers that have been
525 created on a transit gateway that's registered in your global network.
526  
527 You cannot associate a transit gateway Connect peer with more than one
528 device and link.
529  
530  
531 =head2 CreateConnection
532  
533 =over
534  
535 =item ConnectedDeviceId => Str
536  
537 =item DeviceId => Str
538  
539 =item GlobalNetworkId => Str
540  
541 =item [ConnectedLinkId => Str]
542  
543 =item [Description => Str]
544  
545 =item [LinkId => Str]
546  
547 =item [Tags => ArrayRef[L<Paws::NetworkManager::Tag>]]
548  
549  
550 =back
551  
552 Each argument is described in detail in: L<Paws::NetworkManager::CreateConnection>
553  
554 Returns: a L<Paws::NetworkManager::CreateConnectionResponse> instance
555  
556 Creates a connection between two devices. The devices can be a physical
557 or virtual appliance that connects to a third-party appliance in a VPC,
558 or a physical appliance that connects to another physical appliance in
559 an on-premises network.
560  
561  
562 =head2 CreateDevice
563  
564 =over
565  
566 =item GlobalNetworkId => Str
567  
568 =item [AWSLocation => L<Paws::NetworkManager::AWSLocation>]
569  
570 =item [Description => Str]
571  
572 =item [Location => L<Paws::NetworkManager::Location>]
573  
574 =item [Model => Str]
575  
576 =item [SerialNumber => Str]
577  
578 =item [SiteId => Str]
579  
580 =item [Tags => ArrayRef[L<Paws::NetworkManager::Tag>]]
581  
582 =item [Type => Str]
583  
584 =item [Vendor => Str]
585  
586  
587 =back
588  
589 Each argument is described in detail in: L<Paws::NetworkManager::CreateDevice>
590  
591 Returns: a L<Paws::NetworkManager::CreateDeviceResponse> instance
592  
593 Creates a new device in a global network. If you specify both a site ID
594 and a location, the location of the site is used for visualization in
595 the Network Manager console.
596  
597  
598 =head2 CreateGlobalNetwork
599  
600 =over
601  
602 =item [Description => Str]
603  
604 =item [Tags => ArrayRef[L<Paws::NetworkManager::Tag>]]
605  
606  
607 =back
608  
609 Each argument is described in detail in: L<Paws::NetworkManager::CreateGlobalNetwork>
610  
611 Returns: a L<Paws::NetworkManager::CreateGlobalNetworkResponse> instance
612  
613 Creates a new, empty global network.
614  
615  
616 =head2 CreateLink
617  
618 =over
619  
620 =item Bandwidth => L<Paws::NetworkManager::Bandwidth>
621  
622 =item GlobalNetworkId => Str
623  
624 =item SiteId => Str
625  
626 =item [Description => Str]
627  
628 =item [Provider => Str]
629  
630 =item [Tags => ArrayRef[L<Paws::NetworkManager::Tag>]]
631  
632 =item [Type => Str]
633  
634  
635 =back
636  
637 Each argument is described in detail in: L<Paws::NetworkManager::CreateLink>
638  
639 Returns: a L<Paws::NetworkManager::CreateLinkResponse> instance
640  
641 Creates a new link for a specified site.
642  
643  
644 =head2 CreateSite
645  
646 =over
647  
648 =item GlobalNetworkId => Str
649  
650 =item [Description => Str]
651  
652 =item [Location => L<Paws::NetworkManager::Location>]
653  
654 =item [Tags => ArrayRef[L<Paws::NetworkManager::Tag>]]
655  
656  
657 =back
658  
659 Each argument is described in detail in: L<Paws::NetworkManager::CreateSite>
660  
661 Returns: a L<Paws::NetworkManager::CreateSiteResponse> instance
662  
663 Creates a new site in a global network.
664  
665  
666 =head2 DeleteConnection
667  
668 =over
669  
670 =item ConnectionId => Str
671  
672 =item GlobalNetworkId => Str
673  
674  
675 =back
676  
677 Each argument is described in detail in: L<Paws::NetworkManager::DeleteConnection>
678  
679 Returns: a L<Paws::NetworkManager::DeleteConnectionResponse> instance
680  
681 Deletes the specified connection in your global network.
682  
683  
684 =head2 DeleteDevice
685  
686 =over
687  
688 =item DeviceId => Str
689  
690 =item GlobalNetworkId => Str
691  
692  
693 =back
694  
695 Each argument is described in detail in: L<Paws::NetworkManager::DeleteDevice>
696  
697 Returns: a L<Paws::NetworkManager::DeleteDeviceResponse> instance
698  
699 Deletes an existing device. You must first disassociate the device from
700 any links and customer gateways.
701  
702  
703 =head2 DeleteGlobalNetwork
704  
705 =over
706  
707 =item GlobalNetworkId => Str
708  
709  
710 =back
711  
712 Each argument is described in detail in: L<Paws::NetworkManager::DeleteGlobalNetwork>
713  
714 Returns: a L<Paws::NetworkManager::DeleteGlobalNetworkResponse> instance
715  
716 Deletes an existing global network. You must first delete all global
717 network objects (devices, links, and sites) and deregister all transit
718 gateways.
719  
720  
721 =head2 DeleteLink
722  
723 =over
724  
725 =item GlobalNetworkId => Str
726  
727 =item LinkId => Str
728  
729  
730 =back
731  
732 Each argument is described in detail in: L<Paws::NetworkManager::DeleteLink>
733  
734 Returns: a L<Paws::NetworkManager::DeleteLinkResponse> instance
735  
736 Deletes an existing link. You must first disassociate the link from any
737 devices and customer gateways.
738  
739  
740 =head2 DeleteSite
741  
742 =over
743  
744 =item GlobalNetworkId => Str
745  
746 =item SiteId => Str
747  
748  
749 =back
750  
751 Each argument is described in detail in: L<Paws::NetworkManager::DeleteSite>
752  
753 Returns: a L<Paws::NetworkManager::DeleteSiteResponse> instance
754  
755 Deletes an existing site. The site cannot be associated with any device
756 or link.
757  
758  
759 =head2 DeregisterTransitGateway
760  
761 =over
762  
763 =item GlobalNetworkId => Str
764  
765 =item TransitGatewayArn => Str
766  
767  
768 =back
769  
770 Each argument is described in detail in: L<Paws::NetworkManager::DeregisterTransitGateway>
771  
772 Returns: a L<Paws::NetworkManager::DeregisterTransitGatewayResponse> instance
773  
774 Deregisters a transit gateway from your global network. This action
775 does not delete your transit gateway, or modify any of its attachments.
776 This action removes any customer gateway associations.
777  
778  
779 =head2 DescribeGlobalNetworks
780  
781 =over
782  
783 =item [GlobalNetworkIds => ArrayRef[Str|Undef]]
784  
785 =item [MaxResults => Int]
786  
787 =item [NextToken => Str]
788  
789  
790 =back
791  
792 Each argument is described in detail in: L<Paws::NetworkManager::DescribeGlobalNetworks>
793  
794 Returns: a L<Paws::NetworkManager::DescribeGlobalNetworksResponse> instance
795  
796 Describes one or more global networks. By default, all global networks
797 are described. To describe the objects in your global network, you must
798 use the appropriate C<Get*> action. For example, to list the transit
799 gateways in your global network, use GetTransitGatewayRegistrations.
800  
801  
802 =head2 DisassociateCustomerGateway
803  
804 =over
805  
806 =item CustomerGatewayArn => Str
807  
808 =item GlobalNetworkId => Str
809  
810  
811 =back
812  
813 Each argument is described in detail in: L<Paws::NetworkManager::DisassociateCustomerGateway>
814  
815 Returns: a L<Paws::NetworkManager::DisassociateCustomerGatewayResponse> instance
816  
817 Disassociates a customer gateway from a device and a link.
818  
819  
820 =head2 DisassociateLink
821  
822 =over
823  
824 =item DeviceId => Str
825  
826 =item GlobalNetworkId => Str
827  
828 =item LinkId => Str
829  
830  
831 =back
832  
833 Each argument is described in detail in: L<Paws::NetworkManager::DisassociateLink>
834  
835 Returns: a L<Paws::NetworkManager::DisassociateLinkResponse> instance
836  
837 Disassociates an existing device from a link. You must first
838 disassociate any customer gateways that are associated with the link.
839  
840  
841 =head2 DisassociateTransitGatewayConnectPeer
842  
843 =over
844  
845 =item GlobalNetworkId => Str
846  
847 =item TransitGatewayConnectPeerArn => Str
848  
849  
850 =back
851  
852 Each argument is described in detail in: L<Paws::NetworkManager::DisassociateTransitGatewayConnectPeer>
853  
854 Returns: a L<Paws::NetworkManager::DisassociateTransitGatewayConnectPeerResponse> instance
855  
856 Disassociates a transit gateway Connect peer from a device and link.
857  
858  
859 =head2 GetConnections
860  
861 =over
862  
863 =item GlobalNetworkId => Str
864  
865 =item [ConnectionIds => ArrayRef[Str|Undef]]
866  
867 =item [DeviceId => Str]
868  
869 =item [MaxResults => Int]
870  
871 =item [NextToken => Str]
872  
873  
874 =back
875  
876 Each argument is described in detail in: L<Paws::NetworkManager::GetConnections>
877  
878 Returns: a L<Paws::NetworkManager::GetConnectionsResponse> instance
879  
880 Gets information about one or more of your connections in a global
881 network.
882  
883  
884 =head2 GetCustomerGatewayAssociations
885  
886 =over
887  
888 =item GlobalNetworkId => Str
889  
890 =item [CustomerGatewayArns => ArrayRef[Str|Undef]]
891  
892 =item [MaxResults => Int]
893  
894 =item [NextToken => Str]
895  
896  
897 =back
898  
899 Each argument is described in detail in: L<Paws::NetworkManager::GetCustomerGatewayAssociations>
900  
901 Returns: a L<Paws::NetworkManager::GetCustomerGatewayAssociationsResponse> instance
902  
903 Gets the association information for customer gateways that are
904 associated with devices and links in your global network.
905  
906  
907 =head2 GetDevices
908  
909 =over
910  
911 =item GlobalNetworkId => Str
912  
913 =item [DeviceIds => ArrayRef[Str|Undef]]
914  
915 =item [MaxResults => Int]
916  
917 =item [NextToken => Str]
918  
919 =item [SiteId => Str]
920  
921  
922 =back
923  
924 Each argument is described in detail in: L<Paws::NetworkManager::GetDevices>
925  
926 Returns: a L<Paws::NetworkManager::GetDevicesResponse> instance
927  
928 Gets information about one or more of your devices in a global network.
929  
930  
931 =head2 GetLinkAssociations
932  
933 =over
934  
935 =item GlobalNetworkId => Str
936  
937 =item [DeviceId => Str]
938  
939 =item [LinkId => Str]
940  
941 =item [MaxResults => Int]
942  
943 =item [NextToken => Str]
944  
945  
946 =back
947  
948 Each argument is described in detail in: L<Paws::NetworkManager::GetLinkAssociations>
949  
950 Returns: a L<Paws::NetworkManager::GetLinkAssociationsResponse> instance
951  
952 Gets the link associations for a device or a link. Either the device ID
953 or the link ID must be specified.
954  
955  
956 =head2 GetLinks
957  
958 =over
959  
960 =item GlobalNetworkId => Str
961  
962 =item [LinkIds => ArrayRef[Str|Undef]]
963  
964 =item [MaxResults => Int]
965  
966 =item [NextToken => Str]
967  
968 =item [Provider => Str]
969  
970 =item [SiteId => Str]
971  
972 =item [Type => Str]
973  
974  
975 =back
976  
977 Each argument is described in detail in: L<Paws::NetworkManager::GetLinks>
978  
979 Returns: a L<Paws::NetworkManager::GetLinksResponse> instance
980  
981 Gets information about one or more links in a specified global network.
982  
983 If you specify the site ID, you cannot specify the type or provider in
984 the same request. You can specify the type and provider in the same
985 request.
986  
987  
988 =head2 GetSites
989  
990 =over
991  
992 =item GlobalNetworkId => Str
993  
994 =item [MaxResults => Int]
995  
996 =item [NextToken => Str]
997  
998 =item [SiteIds => ArrayRef[Str|Undef]]
999  
1000  
1001 =back
1002  
1003 Each argument is described in detail in: L<Paws::NetworkManager::GetSites>
1004  
1005 Returns: a L<Paws::NetworkManager::GetSitesResponse> instance
1006  
1007 Gets information about one or more of your sites in a global network.
1008  
1009  
1010 =head2 GetTransitGatewayConnectPeerAssociations
1011  
1012 =over
1013  
1014 =item GlobalNetworkId => Str
1015  
1016 =item [MaxResults => Int]
1017  
1018 =item [NextToken => Str]
1019  
1020 =item [TransitGatewayConnectPeerArns => ArrayRef[Str|Undef]]
1021  
1022  
1023 =back
1024  
1025 Each argument is described in detail in: L<Paws::NetworkManager::GetTransitGatewayConnectPeerAssociations>
1026  
1027 Returns: a L<Paws::NetworkManager::GetTransitGatewayConnectPeerAssociationsResponse> instance
1028  
1029 Gets information about one or more of your transit gateway Connect peer
1030 associations in a global network.
1031  
1032  
1033 =head2 GetTransitGatewayRegistrations
1034  
1035 =over
1036  
1037 =item GlobalNetworkId => Str
1038  
1039 =item [MaxResults => Int]
1040  
1041 =item [NextToken => Str]
1042  
1043 =item [TransitGatewayArns => ArrayRef[Str|Undef]]
1044  
1045  
1046 =back
1047  
1048 Each argument is described in detail in: L<Paws::NetworkManager::GetTransitGatewayRegistrations>
1049  
1050 Returns: a L<Paws::NetworkManager::GetTransitGatewayRegistrationsResponse> instance
1051  
1052 Gets information about the transit gateway registrations in a specified
1053 global network.
1054  
1055  
1056 =head2 ListTagsForResource
1057  
1058 =over
1059  
1060 =item ResourceArn => Str
1061  
1062  
1063 =back
1064  
1065 Each argument is described in detail in: L<Paws::NetworkManager::ListTagsForResource>
1066  
1067 Returns: a L<Paws::NetworkManager::ListTagsForResourceResponse> instance
1068  
1069 Lists the tags for a specified resource.
1070  
1071  
1072 =head2 RegisterTransitGateway
1073  
1074 =over
1075  
1076 =item GlobalNetworkId => Str
1077  
1078 =item TransitGatewayArn => Str
1079  
1080  
1081 =back
1082  
1083 Each argument is described in detail in: L<Paws::NetworkManager::RegisterTransitGateway>
1084  
1085 Returns: a L<Paws::NetworkManager::RegisterTransitGatewayResponse> instance
1086  
1087 Registers a transit gateway in your global network. The transit gateway
1088 can be in any AWS Region, but it must be owned by the same AWS account
1089 that owns the global network. You cannot register a transit gateway in
1090 more than one global network.
1091  
1092  
1093 =head2 TagResource
1094  
1095 =over
1096  
1097 =item ResourceArn => Str
1098  
1099 =item Tags => ArrayRef[L<Paws::NetworkManager::Tag>]
1100  
1101  
1102 =back
1103  
1104 Each argument is described in detail in: L<Paws::NetworkManager::TagResource>
1105  
1106 Returns: a L<Paws::NetworkManager::TagResourceResponse> instance
1107  
1108 Tags a specified resource.
1109  
1110  
1111 =head2 UntagResource
1112  
1113 =over
1114  
1115 =item ResourceArn => Str
1116  
1117 =item TagKeys => ArrayRef[Str|Undef]
1118  
1119  
1120 =back
1121  
1122 Each argument is described in detail in: L<Paws::NetworkManager::UntagResource>
1123  
1124 Returns: a L<Paws::NetworkManager::UntagResourceResponse> instance
1125  
1126 Removes tags from a specified resource.
1127  
1128  
1129 =head2 UpdateConnection
1130  
1131 =over
1132  
1133 =item ConnectionId => Str
1134  
1135 =item GlobalNetworkId => Str
1136  
1137 =item [ConnectedLinkId => Str]
1138  
1139 =item [Description => Str]
1140  
1141 =item [LinkId => Str]
1142  
1143  
1144 =back
1145  
1146 Each argument is described in detail in: L<Paws::NetworkManager::UpdateConnection>
1147  
1148 Returns: a L<Paws::NetworkManager::UpdateConnectionResponse> instance
1149  
1150 Updates the information for an existing connection. To remove
1151 information for any of the parameters, specify an empty string.
1152  
1153  
1154 =head2 UpdateDevice
1155  
1156 =over
1157  
1158 =item DeviceId => Str
1159  
1160 =item GlobalNetworkId => Str
1161  
1162 =item [AWSLocation => L<Paws::NetworkManager::AWSLocation>]
1163  
1164 =item [Description => Str]
1165  
1166 =item [Location => L<Paws::NetworkManager::Location>]
1167  
1168 =item [Model => Str]
1169  
1170 =item [SerialNumber => Str]
1171  
1172 =item [SiteId => Str]
1173  
1174 =item [Type => Str]
1175  
1176 =item [Vendor => Str]
1177  
1178  
1179 =back
1180  
1181 Each argument is described in detail in: L<Paws::NetworkManager::UpdateDevice>
1182  
1183 Returns: a L<Paws::NetworkManager::UpdateDeviceResponse> instance
1184  
1185 Updates the details for an existing device. To remove information for
1186 any of the parameters, specify an empty string.
1187  
1188  
1189 =head2 UpdateGlobalNetwork
1190  
1191 =over
1192  
1193 =item GlobalNetworkId => Str
1194  
1195 =item [Description => Str]
1196  
1197  
1198 =back
1199  
1200 Each argument is described in detail in: L<Paws::NetworkManager::UpdateGlobalNetwork>
1201  
1202 Returns: a L<Paws::NetworkManager::UpdateGlobalNetworkResponse> instance
1203  
1204 Updates an existing global network. To remove information for any of
1205 the parameters, specify an empty string.
1206  
1207  
1208 =head2 UpdateLink
1209  
1210 =over
1211  
1212 =item GlobalNetworkId => Str
1213  
1214 =item LinkId => Str
1215  
1216 =item [Bandwidth => L<Paws::NetworkManager::Bandwidth>]
1217  
1218 =item [Description => Str]
1219  
1220 =item [Provider => Str]
1221  
1222 =item [Type => Str]
1223  
1224  
1225 =back
1226  
1227 Each argument is described in detail in: L<Paws::NetworkManager::UpdateLink>
1228  
1229 Returns: a L<Paws::NetworkManager::UpdateLinkResponse> instance
1230  
1231 Updates the details for an existing link. To remove information for any
1232 of the parameters, specify an empty string.
1233  
1234  
1235 =head2 UpdateSite
1236  
1237 =over
1238  
1239 =item GlobalNetworkId => Str
1240  
1241 =item SiteId => Str
1242  
1243 =item [Description => Str]
1244  
1245 =item [Location => L<Paws::NetworkManager::Location>]
1246  
1247  
1248 =back
1249  
1250 Each argument is described in detail in: L<Paws::NetworkManager::UpdateSite>
1251  
1252 Returns: a L<Paws::NetworkManager::UpdateSiteResponse> instance
1253  
1254 Updates the information for an existing site. To remove information for
1255 any of the parameters, specify an empty string.
1256  
1257  
1258  
1259  
1260 =head1 PAGINATORS
1261  
1262 Paginator methods are helpers that repetively call methods that return partial results
1263  
1264 =head2 DescribeAllGlobalNetworks(sub { },[GlobalNetworkIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1265  
1266 =head2 DescribeAllGlobalNetworks([GlobalNetworkIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1267  
1268  
1269 If passed a sub as first parameter, it will call the sub for each element found in :
1270  
1271 - GlobalNetworks, passing the object as the first parameter, and the string 'GlobalNetworks' as the second parameter
1272  
1273 If not, it will return a a L<Paws::NetworkManager::DescribeGlobalNetworksResponse> 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.
1274  
1275  
1276 =head2 GetAllConnections(sub { },GlobalNetworkId => Str, [ConnectionIds => ArrayRef[Str|Undef], DeviceId => Str, MaxResults => Int, NextToken => Str])
1277  
1278 =head2 GetAllConnections(GlobalNetworkId => Str, [ConnectionIds => ArrayRef[Str|Undef], DeviceId => Str, MaxResults => Int, NextToken => Str])
1279  
1280  
1281 If passed a sub as first parameter, it will call the sub for each element found in :
1282  
1283 - Connections, passing the object as the first parameter, and the string 'Connections' as the second parameter
1284  
1285 If not, it will return a a L<Paws::NetworkManager::GetConnectionsResponse> 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.
1286  
1287  
1288 =head2 GetAllCustomerGatewayAssociations(sub { },GlobalNetworkId => Str, [CustomerGatewayArns => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1289  
1290 =head2 GetAllCustomerGatewayAssociations(GlobalNetworkId => Str, [CustomerGatewayArns => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1291  
1292  
1293 If passed a sub as first parameter, it will call the sub for each element found in :
1294  
1295 - CustomerGatewayAssociations, passing the object as the first parameter, and the string 'CustomerGatewayAssociations' as the second parameter
1296  
1297 If not, it will return a a L<Paws::NetworkManager::GetCustomerGatewayAssociationsResponse> 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.
1298  
1299  
1300 =head2 GetAllDevices(sub { },GlobalNetworkId => Str, [DeviceIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str, SiteId => Str])
1301  
1302 =head2 GetAllDevices(GlobalNetworkId => Str, [DeviceIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str, SiteId => Str])
1303  
1304  
1305 If passed a sub as first parameter, it will call the sub for each element found in :
1306  
1307 - Devices, passing the object as the first parameter, and the string 'Devices' as the second parameter
1308  
1309 If not, it will return a a L<Paws::NetworkManager::GetDevicesResponse> 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.
1310  
1311  
1312 =head2 GetAllLinkAssociations(sub { },GlobalNetworkId => Str, [DeviceId => Str, LinkId => Str, MaxResults => Int, NextToken => Str])
1313  
1314 =head2 GetAllLinkAssociations(GlobalNetworkId => Str, [DeviceId => Str, LinkId => Str, MaxResults => Int, NextToken => Str])
1315  
1316  
1317 If passed a sub as first parameter, it will call the sub for each element found in :
1318  
1319 - LinkAssociations, passing the object as the first parameter, and the string 'LinkAssociations' as the second parameter
1320  
1321 If not, it will return a a L<Paws::NetworkManager::GetLinkAssociationsResponse> 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.
1322  
1323  
1324 =head2 GetAllLinks(sub { },GlobalNetworkId => Str, [LinkIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str, Provider => Str, SiteId => Str, Type => Str])
1325  
1326 =head2 GetAllLinks(GlobalNetworkId => Str, [LinkIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str, Provider => Str, SiteId => Str, Type => Str])
1327  
1328  
1329 If passed a sub as first parameter, it will call the sub for each element found in :
1330  
1331 - Links, passing the object as the first parameter, and the string 'Links' as the second parameter
1332  
1333 If not, it will return a a L<Paws::NetworkManager::GetLinksResponse> 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.
1334  
1335  
1336 =head2 GetAllSites(sub { },GlobalNetworkId => Str, [MaxResults => Int, NextToken => Str, SiteIds => ArrayRef[Str|Undef]])
1337  
1338 =head2 GetAllSites(GlobalNetworkId => Str, [MaxResults => Int, NextToken => Str, SiteIds => ArrayRef[Str|Undef]])
1339  
1340  
1341 If passed a sub as first parameter, it will call the sub for each element found in :
1342  
1343 - Sites, passing the object as the first parameter, and the string 'Sites' as the second parameter
1344  
1345 If not, it will return a a L<Paws::NetworkManager::GetSitesResponse> 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.
1346  
1347  
1348 =head2 GetAllTransitGatewayConnectPeerAssociations(sub { },GlobalNetworkId => Str, [MaxResults => Int, NextToken => Str, TransitGatewayConnectPeerArns => ArrayRef[Str|Undef]])
1349  
1350 =head2 GetAllTransitGatewayConnectPeerAssociations(GlobalNetworkId => Str, [MaxResults => Int, NextToken => Str, TransitGatewayConnectPeerArns => ArrayRef[Str|Undef]])
1351  
1352  
1353 If passed a sub as first parameter, it will call the sub for each element found in :
1354  
1355 - TransitGatewayConnectPeerAssociations, passing the object as the first parameter, and the string 'TransitGatewayConnectPeerAssociations' as the second parameter
1356  
1357 If not, it will return a a L<Paws::NetworkManager::GetTransitGatewayConnectPeerAssociationsResponse> 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.
1358  
1359  
1360 =head2 GetAllTransitGatewayRegistrations(sub { },GlobalNetworkId => Str, [MaxResults => Int, NextToken => Str, TransitGatewayArns => ArrayRef[Str|Undef]])
1361  
1362 =head2 GetAllTransitGatewayRegistrations(GlobalNetworkId => Str, [MaxResults => Int, NextToken => Str, TransitGatewayArns => ArrayRef[Str|Undef]])
1363  
1364  
1365 If passed a sub as first parameter, it will call the sub for each element found in :
1366  
1367 - TransitGatewayRegistrations, passing the object as the first parameter, and the string 'TransitGatewayRegistrations' as the second parameter
1368  
1369 If not, it will return a a L<Paws::NetworkManager::GetTransitGatewayRegistrationsResponse> 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.
1370  
1371  
1372  
1373  
1374  
1375 =head1 SEE ALSO
1376  
1377 This service class forms part of L<Paws>
1378  
1379 =head1 BUGS and CONTRIBUTIONS
1380  
1381 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1382  
1383 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1384  
1385 =cut
1386