blib/lib/Paws/SMS.pm untested

filter: Statementstmt 0.0% 0 / 220 Branchbran 0.0% 0 / 20 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 47 Podpod 0.0% 0 / 46 totaltotal 0.0% 0 / 333 CC 11 SCAR 15.3
CC
11
Cov
0%
GetAllConnectors
12.0
GetAllReplicationJobs
12.0
GetAllReplicationRuns
12.0
CRAP 4.6
1 package Paws::SMS;
2 use Moose;
3 sub service { 'sms' }
4 sub signing_name { 'sms' }
5 sub version { '2016-10-24' }
6 sub target_prefix { 'AWSServerMigrationService_V2016_10_24' }
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 CreateApp {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::SMS::CreateApp', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub CreateReplicationJob {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::SMS::CreateReplicationJob', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub DeleteApp {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::SMS::DeleteApp', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub DeleteAppLaunchConfiguration {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::SMS::DeleteAppLaunchConfiguration', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteAppReplicationConfiguration {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::SMS::DeleteAppReplicationConfiguration', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DeleteAppValidationConfiguration {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::SMS::DeleteAppValidationConfiguration', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DeleteReplicationJob {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::SMS::DeleteReplicationJob', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub DeleteServerCatalog {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::SMS::DeleteServerCatalog', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub DisassociateConnector {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::SMS::DisassociateConnector', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub GenerateChangeSet {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::SMS::GenerateChangeSet', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub GenerateTemplate {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::SMS::GenerateTemplate', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub GetApp {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::SMS::GetApp', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub GetAppLaunchConfiguration {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::SMS::GetAppLaunchConfiguration', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub GetAppReplicationConfiguration {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::SMS::GetAppReplicationConfiguration', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub GetAppValidationConfiguration {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::SMS::GetAppValidationConfiguration', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub GetAppValidationOutput {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::SMS::GetAppValidationOutput', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub GetConnectors {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::SMS::GetConnectors', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub GetReplicationJobs {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::SMS::GetReplicationJobs', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub GetReplicationRuns {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::SMS::GetReplicationRuns', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub GetServers {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::SMS::GetServers', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub ImportAppCatalog {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::SMS::ImportAppCatalog', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub ImportServerCatalog {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::SMS::ImportServerCatalog', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub LaunchApp {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::SMS::LaunchApp', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub ListApps {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::SMS::ListApps', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub NotifyAppValidationOutput {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::SMS::NotifyAppValidationOutput', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub PutAppLaunchConfiguration {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::SMS::PutAppLaunchConfiguration', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub PutAppReplicationConfiguration {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::SMS::PutAppReplicationConfiguration', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub PutAppValidationConfiguration {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::SMS::PutAppValidationConfiguration', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub StartAppReplication {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::SMS::StartAppReplication', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub StartOnDemandAppReplication {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::SMS::StartOnDemandAppReplication', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168 sub StartOnDemandReplicationRun {
169 my $self = shift;
170 my $call_object = $self->new_with_coercions('Paws::SMS::StartOnDemandReplicationRun', @_);
171 return $self->caller->do_call($self, $call_object);
172 }
173 sub StopAppReplication {
174 my $self = shift;
175 my $call_object = $self->new_with_coercions('Paws::SMS::StopAppReplication', @_);
176 return $self->caller->do_call($self, $call_object);
177 }
178 sub TerminateApp {
179 my $self = shift;
180 my $call_object = $self->new_with_coercions('Paws::SMS::TerminateApp', @_);
181 return $self->caller->do_call($self, $call_object);
182 }
183 sub UpdateApp {
184 my $self = shift;
185 my $call_object = $self->new_with_coercions('Paws::SMS::UpdateApp', @_);
186 return $self->caller->do_call($self, $call_object);
187 }
188 sub UpdateReplicationJob {
189 my $self = shift;
190 my $call_object = $self->new_with_coercions('Paws::SMS::UpdateReplicationJob', @_);
191 return $self->caller->do_call($self, $call_object);
192 }
193
194 sub GetAllConnectors {
195 my $self = shift;
196  
197 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
198 my $result = $self->GetConnectors(@_);
199 my $next_result = $result;
200  
201 if (not defined $callback) {
202 while ($next_result->nextToken) {
203 $next_result = $self->GetConnectors(@_, nextToken => $next_result->nextToken);
204 push @{ $result->connectorList }, @{ $next_result->connectorList };
205 }
206 return $result;
207 } else {
208 while ($result->nextToken) {
209 $callback->($_ => 'connectorList') foreach (@{ $result->connectorList });
210 $result = $self->GetConnectors(@_, nextToken => $result->nextToken);
211 }
212 $callback->($_ => 'connectorList') foreach (@{ $result->connectorList });
213 }
214  
215 return undef
216 }
217 sub GetAllReplicationJobs {
218 my $self = shift;
219  
220 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
221 my $result = $self->GetReplicationJobs(@_);
222 my $next_result = $result;
223  
224 if (not defined $callback) {
225 while ($next_result->nextToken) {
226 $next_result = $self->GetReplicationJobs(@_, nextToken => $next_result->nextToken);
227 push @{ $result->replicationJobList }, @{ $next_result->replicationJobList };
228 }
229 return $result;
230 } else {
231 while ($result->nextToken) {
232 $callback->($_ => 'replicationJobList') foreach (@{ $result->replicationJobList });
233 $result = $self->GetReplicationJobs(@_, nextToken => $result->nextToken);
234 }
235 $callback->($_ => 'replicationJobList') foreach (@{ $result->replicationJobList });
236 }
237  
238 return undef
239 }
240 sub GetAllReplicationRuns {
241 my $self = shift;
242  
243 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
244 my $result = $self->GetReplicationRuns(@_);
245 my $next_result = $result;
246  
247 if (not defined $callback) {
248 while ($next_result->nextToken) {
249 $next_result = $self->GetReplicationRuns(@_, nextToken => $next_result->nextToken);
250 push @{ $result->replicationRunList }, @{ $next_result->replicationRunList };
251 }
252 return $result;
253 } else {
254 while ($result->nextToken) {
255 $callback->($_ => 'replicationRunList') foreach (@{ $result->replicationRunList });
256 $result = $self->GetReplicationRuns(@_, nextToken => $result->nextToken);
257 }
258 $callback->($_ => 'replicationRunList') foreach (@{ $result->replicationRunList });
259 }
260  
261 return undef
262 }
263 sub GetAllServers {
264 my $self = shift;
265  
266 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
267 my $result = $self->GetServers(@_);
268 my $next_result = $result;
269  
270 if (not defined $callback) {
271 while ($next_result->nextToken) {
272 $next_result = $self->GetServers(@_, nextToken => $next_result->nextToken);
273 push @{ $result->serverList }, @{ $next_result->serverList };
274 }
275 return $result;
276 } else {
277 while ($result->nextToken) {
278 $callback->($_ => 'serverList') foreach (@{ $result->serverList });
279 $result = $self->GetServers(@_, nextToken => $result->nextToken);
280 }
281 $callback->($_ => 'serverList') foreach (@{ $result->serverList });
282 }
283  
284 return undef
285 }
286 sub ListAllApps {
287 my $self = shift;
288  
289 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
290 my $result = $self->ListApps(@_);
291 my $next_result = $result;
292  
293 if (not defined $callback) {
294 while ($next_result->nextToken) {
295 $next_result = $self->ListApps(@_, nextToken => $next_result->nextToken);
296 push @{ $result->apps }, @{ $next_result->apps };
297 }
298 return $result;
299 } else {
300 while ($result->nextToken) {
301 $callback->($_ => 'apps') foreach (@{ $result->apps });
302 $result = $self->ListApps(@_, nextToken => $result->nextToken);
303 }
304 $callback->($_ => 'apps') foreach (@{ $result->apps });
305 }
306  
307 return undef
308 }
309  
310  
311 sub operations { qw/CreateApp CreateReplicationJob DeleteApp DeleteAppLaunchConfiguration DeleteAppReplicationConfiguration DeleteAppValidationConfiguration DeleteReplicationJob DeleteServerCatalog DisassociateConnector GenerateChangeSet GenerateTemplate GetApp GetAppLaunchConfiguration GetAppReplicationConfiguration GetAppValidationConfiguration GetAppValidationOutput GetConnectors GetReplicationJobs GetReplicationRuns GetServers ImportAppCatalog ImportServerCatalog LaunchApp ListApps NotifyAppValidationOutput PutAppLaunchConfiguration PutAppReplicationConfiguration PutAppValidationConfiguration StartAppReplication StartOnDemandAppReplication StartOnDemandReplicationRun StopAppReplication TerminateApp UpdateApp UpdateReplicationJob / }
312  
313 1;
314  
315 ### main pod documentation begin ###
316  
317 =head1 NAME
318  
319 Paws::SMS - Perl Interface to AWS AWS Server Migration Service
320  
321 =head1 SYNOPSIS
322  
323 use Paws;
324  
325 my $obj = Paws->service('SMS');
326 my $res = $obj->Method(
327 Arg1 => $val1,
328 Arg2 => [ 'V1', 'V2' ],
329 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
330 # of the arguments type
331 Arg3 => { Att1 => 'Val1' },
332 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
333 # the constructor of the arguments type
334 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
335 );
336  
337 =head1 DESCRIPTION
338  
339 AWS Server Migration Service
340  
341 AWS Server Migration Service (AWS SMS) makes it easier and faster for
342 you to migrate your on-premises workloads to AWS. To learn more about
343 AWS SMS, see the following resources:
344  
345 =over
346  
347 =item *
348  
349 AWS Server Migration Service product page
350 (http://aws.amazon.com/server-migration-service/)
351  
352 =item *
353  
354 AWS Server Migration Service User Guide
355 (https://docs.aws.amazon.com/server-migration-service/latest/userguide/)
356  
357 =back
358  
359  
360 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/sms-2016-10-24>
361  
362  
363 =head1 METHODS
364  
365 =head2 CreateApp
366  
367 =over
368  
369 =item [ClientToken => Str]
370  
371 =item [Description => Str]
372  
373 =item [Name => Str]
374  
375 =item [RoleName => Str]
376  
377 =item [ServerGroups => ArrayRef[L<Paws::SMS::ServerGroup>]]
378  
379 =item [Tags => ArrayRef[L<Paws::SMS::Tag>]]
380  
381  
382 =back
383  
384 Each argument is described in detail in: L<Paws::SMS::CreateApp>
385  
386 Returns: a L<Paws::SMS::CreateAppResponse> instance
387  
388 Creates an application. An application consists of one or more server
389 groups. Each server group contain one or more servers.
390  
391  
392 =head2 CreateReplicationJob
393  
394 =over
395  
396 =item SeedReplicationTime => Str
397  
398 =item ServerId => Str
399  
400 =item [Description => Str]
401  
402 =item [Encrypted => Bool]
403  
404 =item [Frequency => Int]
405  
406 =item [KmsKeyId => Str]
407  
408 =item [LicenseType => Str]
409  
410 =item [NumberOfRecentAmisToKeep => Int]
411  
412 =item [RoleName => Str]
413  
414 =item [RunOnce => Bool]
415  
416  
417 =back
418  
419 Each argument is described in detail in: L<Paws::SMS::CreateReplicationJob>
420  
421 Returns: a L<Paws::SMS::CreateReplicationJobResponse> instance
422  
423 Creates a replication job. The replication job schedules periodic
424 replication runs to replicate your server to AWS. Each replication run
425 creates an Amazon Machine Image (AMI).
426  
427  
428 =head2 DeleteApp
429  
430 =over
431  
432 =item [AppId => Str]
433  
434 =item [ForceStopAppReplication => Bool]
435  
436 =item [ForceTerminateApp => Bool]
437  
438  
439 =back
440  
441 Each argument is described in detail in: L<Paws::SMS::DeleteApp>
442  
443 Returns: a L<Paws::SMS::DeleteAppResponse> instance
444  
445 Deletes the specified application. Optionally deletes the launched
446 stack associated with the application and all AWS SMS replication jobs
447 for servers in the application.
448  
449  
450 =head2 DeleteAppLaunchConfiguration
451  
452 =over
453  
454 =item [AppId => Str]
455  
456  
457 =back
458  
459 Each argument is described in detail in: L<Paws::SMS::DeleteAppLaunchConfiguration>
460  
461 Returns: a L<Paws::SMS::DeleteAppLaunchConfigurationResponse> instance
462  
463 Deletes the launch configuration for the specified application.
464  
465  
466 =head2 DeleteAppReplicationConfiguration
467  
468 =over
469  
470 =item [AppId => Str]
471  
472  
473 =back
474  
475 Each argument is described in detail in: L<Paws::SMS::DeleteAppReplicationConfiguration>
476  
477 Returns: a L<Paws::SMS::DeleteAppReplicationConfigurationResponse> instance
478  
479 Deletes the replication configuration for the specified application.
480  
481  
482 =head2 DeleteAppValidationConfiguration
483  
484 =over
485  
486 =item AppId => Str
487  
488  
489 =back
490  
491 Each argument is described in detail in: L<Paws::SMS::DeleteAppValidationConfiguration>
492  
493 Returns: a L<Paws::SMS::DeleteAppValidationConfigurationResponse> instance
494  
495 Deletes the validation configuration for the specified application.
496  
497  
498 =head2 DeleteReplicationJob
499  
500 =over
501  
502 =item ReplicationJobId => Str
503  
504  
505 =back
506  
507 Each argument is described in detail in: L<Paws::SMS::DeleteReplicationJob>
508  
509 Returns: a L<Paws::SMS::DeleteReplicationJobResponse> instance
510  
511 Deletes the specified replication job.
512  
513 After you delete a replication job, there are no further replication
514 runs. AWS deletes the contents of the Amazon S3 bucket used to store
515 AWS SMS artifacts. The AMIs created by the replication runs are not
516 deleted.
517  
518  
519 =head2 DeleteServerCatalog
520  
521  
522  
523  
524  
525  
526 Each argument is described in detail in: L<Paws::SMS::DeleteServerCatalog>
527  
528 Returns: a L<Paws::SMS::DeleteServerCatalogResponse> instance
529  
530 Deletes all servers from your server catalog.
531  
532  
533 =head2 DisassociateConnector
534  
535 =over
536  
537 =item ConnectorId => Str
538  
539  
540 =back
541  
542 Each argument is described in detail in: L<Paws::SMS::DisassociateConnector>
543  
544 Returns: a L<Paws::SMS::DisassociateConnectorResponse> instance
545  
546 Disassociates the specified connector from AWS SMS.
547  
548 After you disassociate a connector, it is no longer available to
549 support replication jobs.
550  
551  
552 =head2 GenerateChangeSet
553  
554 =over
555  
556 =item [AppId => Str]
557  
558 =item [ChangesetFormat => Str]
559  
560  
561 =back
562  
563 Each argument is described in detail in: L<Paws::SMS::GenerateChangeSet>
564  
565 Returns: a L<Paws::SMS::GenerateChangeSetResponse> instance
566  
567 Generates a target change set for a currently launched stack and writes
568 it to an Amazon S3 object in the customerE<rsquo>s Amazon S3 bucket.
569  
570  
571 =head2 GenerateTemplate
572  
573 =over
574  
575 =item [AppId => Str]
576  
577 =item [TemplateFormat => Str]
578  
579  
580 =back
581  
582 Each argument is described in detail in: L<Paws::SMS::GenerateTemplate>
583  
584 Returns: a L<Paws::SMS::GenerateTemplateResponse> instance
585  
586 Generates an AWS CloudFormation template based on the current launch
587 configuration and writes it to an Amazon S3 object in the
588 customerE<rsquo>s Amazon S3 bucket.
589  
590  
591 =head2 GetApp
592  
593 =over
594  
595 =item [AppId => Str]
596  
597  
598 =back
599  
600 Each argument is described in detail in: L<Paws::SMS::GetApp>
601  
602 Returns: a L<Paws::SMS::GetAppResponse> instance
603  
604 Retrieve information about the specified application.
605  
606  
607 =head2 GetAppLaunchConfiguration
608  
609 =over
610  
611 =item [AppId => Str]
612  
613  
614 =back
615  
616 Each argument is described in detail in: L<Paws::SMS::GetAppLaunchConfiguration>
617  
618 Returns: a L<Paws::SMS::GetAppLaunchConfigurationResponse> instance
619  
620 Retrieves the application launch configuration associated with the
621 specified application.
622  
623  
624 =head2 GetAppReplicationConfiguration
625  
626 =over
627  
628 =item [AppId => Str]
629  
630  
631 =back
632  
633 Each argument is described in detail in: L<Paws::SMS::GetAppReplicationConfiguration>
634  
635 Returns: a L<Paws::SMS::GetAppReplicationConfigurationResponse> instance
636  
637 Retrieves the application replication configuration associated with the
638 specified application.
639  
640  
641 =head2 GetAppValidationConfiguration
642  
643 =over
644  
645 =item AppId => Str
646  
647  
648 =back
649  
650 Each argument is described in detail in: L<Paws::SMS::GetAppValidationConfiguration>
651  
652 Returns: a L<Paws::SMS::GetAppValidationConfigurationResponse> instance
653  
654 Retrieves information about a configuration for validating an
655 application.
656  
657  
658 =head2 GetAppValidationOutput
659  
660 =over
661  
662 =item AppId => Str
663  
664  
665 =back
666  
667 Each argument is described in detail in: L<Paws::SMS::GetAppValidationOutput>
668  
669 Returns: a L<Paws::SMS::GetAppValidationOutputResponse> instance
670  
671 Retrieves output from validating an application.
672  
673  
674 =head2 GetConnectors
675  
676 =over
677  
678 =item [MaxResults => Int]
679  
680 =item [NextToken => Str]
681  
682  
683 =back
684  
685 Each argument is described in detail in: L<Paws::SMS::GetConnectors>
686  
687 Returns: a L<Paws::SMS::GetConnectorsResponse> instance
688  
689 Describes the connectors registered with the AWS SMS.
690  
691  
692 =head2 GetReplicationJobs
693  
694 =over
695  
696 =item [MaxResults => Int]
697  
698 =item [NextToken => Str]
699  
700 =item [ReplicationJobId => Str]
701  
702  
703 =back
704  
705 Each argument is described in detail in: L<Paws::SMS::GetReplicationJobs>
706  
707 Returns: a L<Paws::SMS::GetReplicationJobsResponse> instance
708  
709 Describes the specified replication job or all of your replication
710 jobs.
711  
712  
713 =head2 GetReplicationRuns
714  
715 =over
716  
717 =item ReplicationJobId => Str
718  
719 =item [MaxResults => Int]
720  
721 =item [NextToken => Str]
722  
723  
724 =back
725  
726 Each argument is described in detail in: L<Paws::SMS::GetReplicationRuns>
727  
728 Returns: a L<Paws::SMS::GetReplicationRunsResponse> instance
729  
730 Describes the replication runs for the specified replication job.
731  
732  
733 =head2 GetServers
734  
735 =over
736  
737 =item [MaxResults => Int]
738  
739 =item [NextToken => Str]
740  
741 =item [VmServerAddressList => ArrayRef[L<Paws::SMS::VmServerAddress>]]
742  
743  
744 =back
745  
746 Each argument is described in detail in: L<Paws::SMS::GetServers>
747  
748 Returns: a L<Paws::SMS::GetServersResponse> instance
749  
750 Describes the servers in your server catalog.
751  
752 Before you can describe your servers, you must import them using
753 ImportServerCatalog.
754  
755  
756 =head2 ImportAppCatalog
757  
758 =over
759  
760 =item [RoleName => Str]
761  
762  
763 =back
764  
765 Each argument is described in detail in: L<Paws::SMS::ImportAppCatalog>
766  
767 Returns: a L<Paws::SMS::ImportAppCatalogResponse> instance
768  
769 Allows application import from AWS Migration Hub.
770  
771  
772 =head2 ImportServerCatalog
773  
774  
775  
776  
777  
778  
779 Each argument is described in detail in: L<Paws::SMS::ImportServerCatalog>
780  
781 Returns: a L<Paws::SMS::ImportServerCatalogResponse> instance
782  
783 Gathers a complete list of on-premises servers. Connectors must be
784 installed and monitoring all servers to import.
785  
786 This call returns immediately, but might take additional time to
787 retrieve all the servers.
788  
789  
790 =head2 LaunchApp
791  
792 =over
793  
794 =item [AppId => Str]
795  
796  
797 =back
798  
799 Each argument is described in detail in: L<Paws::SMS::LaunchApp>
800  
801 Returns: a L<Paws::SMS::LaunchAppResponse> instance
802  
803 Launches the specified application as a stack in AWS CloudFormation.
804  
805  
806 =head2 ListApps
807  
808 =over
809  
810 =item [AppIds => ArrayRef[Str|Undef]]
811  
812 =item [MaxResults => Int]
813  
814 =item [NextToken => Str]
815  
816  
817 =back
818  
819 Each argument is described in detail in: L<Paws::SMS::ListApps>
820  
821 Returns: a L<Paws::SMS::ListAppsResponse> instance
822  
823 Retrieves summaries for all applications.
824  
825  
826 =head2 NotifyAppValidationOutput
827  
828 =over
829  
830 =item AppId => Str
831  
832 =item [NotificationContext => L<Paws::SMS::NotificationContext>]
833  
834  
835 =back
836  
837 Each argument is described in detail in: L<Paws::SMS::NotifyAppValidationOutput>
838  
839 Returns: a L<Paws::SMS::NotifyAppValidationOutputResponse> instance
840  
841 Provides information to AWS SMS about whether application validation is
842 successful.
843  
844  
845 =head2 PutAppLaunchConfiguration
846  
847 =over
848  
849 =item [AppId => Str]
850  
851 =item [AutoLaunch => Bool]
852  
853 =item [RoleName => Str]
854  
855 =item [ServerGroupLaunchConfigurations => ArrayRef[L<Paws::SMS::ServerGroupLaunchConfiguration>]]
856  
857  
858 =back
859  
860 Each argument is described in detail in: L<Paws::SMS::PutAppLaunchConfiguration>
861  
862 Returns: a L<Paws::SMS::PutAppLaunchConfigurationResponse> instance
863  
864 Creates or updates the launch configuration for the specified
865 application.
866  
867  
868 =head2 PutAppReplicationConfiguration
869  
870 =over
871  
872 =item [AppId => Str]
873  
874 =item [ServerGroupReplicationConfigurations => ArrayRef[L<Paws::SMS::ServerGroupReplicationConfiguration>]]
875  
876  
877 =back
878  
879 Each argument is described in detail in: L<Paws::SMS::PutAppReplicationConfiguration>
880  
881 Returns: a L<Paws::SMS::PutAppReplicationConfigurationResponse> instance
882  
883 Creates or updates the replication configuration for the specified
884 application.
885  
886  
887 =head2 PutAppValidationConfiguration
888  
889 =over
890  
891 =item AppId => Str
892  
893 =item [AppValidationConfigurations => ArrayRef[L<Paws::SMS::AppValidationConfiguration>]]
894  
895 =item [ServerGroupValidationConfigurations => ArrayRef[L<Paws::SMS::ServerGroupValidationConfiguration>]]
896  
897  
898 =back
899  
900 Each argument is described in detail in: L<Paws::SMS::PutAppValidationConfiguration>
901  
902 Returns: a L<Paws::SMS::PutAppValidationConfigurationResponse> instance
903  
904 Creates or updates a validation configuration for the specified
905 application.
906  
907  
908 =head2 StartAppReplication
909  
910 =over
911  
912 =item [AppId => Str]
913  
914  
915 =back
916  
917 Each argument is described in detail in: L<Paws::SMS::StartAppReplication>
918  
919 Returns: a L<Paws::SMS::StartAppReplicationResponse> instance
920  
921 Starts replicating the specified application by creating replication
922 jobs for each server in the application.
923  
924  
925 =head2 StartOnDemandAppReplication
926  
927 =over
928  
929 =item AppId => Str
930  
931 =item [Description => Str]
932  
933  
934 =back
935  
936 Each argument is described in detail in: L<Paws::SMS::StartOnDemandAppReplication>
937  
938 Returns: a L<Paws::SMS::StartOnDemandAppReplicationResponse> instance
939  
940 Starts an on-demand replication run for the specified application.
941  
942  
943 =head2 StartOnDemandReplicationRun
944  
945 =over
946  
947 =item ReplicationJobId => Str
948  
949 =item [Description => Str]
950  
951  
952 =back
953  
954 Each argument is described in detail in: L<Paws::SMS::StartOnDemandReplicationRun>
955  
956 Returns: a L<Paws::SMS::StartOnDemandReplicationRunResponse> instance
957  
958 Starts an on-demand replication run for the specified replication job.
959 This replication run starts immediately. This replication run is in
960 addition to the ones already scheduled.
961  
962 There is a limit on the number of on-demand replications runs that you
963 can request in a 24-hour period.
964  
965  
966 =head2 StopAppReplication
967  
968 =over
969  
970 =item [AppId => Str]
971  
972  
973 =back
974  
975 Each argument is described in detail in: L<Paws::SMS::StopAppReplication>
976  
977 Returns: a L<Paws::SMS::StopAppReplicationResponse> instance
978  
979 Stops replicating the specified application by deleting the replication
980 job for each server in the application.
981  
982  
983 =head2 TerminateApp
984  
985 =over
986  
987 =item [AppId => Str]
988  
989  
990 =back
991  
992 Each argument is described in detail in: L<Paws::SMS::TerminateApp>
993  
994 Returns: a L<Paws::SMS::TerminateAppResponse> instance
995  
996 Terminates the stack for the specified application.
997  
998  
999 =head2 UpdateApp
1000  
1001 =over
1002  
1003 =item [AppId => Str]
1004  
1005 =item [Description => Str]
1006  
1007 =item [Name => Str]
1008  
1009 =item [RoleName => Str]
1010  
1011 =item [ServerGroups => ArrayRef[L<Paws::SMS::ServerGroup>]]
1012  
1013 =item [Tags => ArrayRef[L<Paws::SMS::Tag>]]
1014  
1015  
1016 =back
1017  
1018 Each argument is described in detail in: L<Paws::SMS::UpdateApp>
1019  
1020 Returns: a L<Paws::SMS::UpdateAppResponse> instance
1021  
1022 Updates the specified application.
1023  
1024  
1025 =head2 UpdateReplicationJob
1026  
1027 =over
1028  
1029 =item ReplicationJobId => Str
1030  
1031 =item [Description => Str]
1032  
1033 =item [Encrypted => Bool]
1034  
1035 =item [Frequency => Int]
1036  
1037 =item [KmsKeyId => Str]
1038  
1039 =item [LicenseType => Str]
1040  
1041 =item [NextReplicationRunStartTime => Str]
1042  
1043 =item [NumberOfRecentAmisToKeep => Int]
1044  
1045 =item [RoleName => Str]
1046  
1047  
1048 =back
1049  
1050 Each argument is described in detail in: L<Paws::SMS::UpdateReplicationJob>
1051  
1052 Returns: a L<Paws::SMS::UpdateReplicationJobResponse> instance
1053  
1054 Updates the specified settings for the specified replication job.
1055  
1056  
1057  
1058  
1059 =head1 PAGINATORS
1060  
1061 Paginator methods are helpers that repetively call methods that return partial results
1062  
1063 =head2 GetAllConnectors(sub { },[MaxResults => Int, NextToken => Str])
1064  
1065 =head2 GetAllConnectors([MaxResults => Int, NextToken => Str])
1066  
1067  
1068 If passed a sub as first parameter, it will call the sub for each element found in :
1069  
1070 - connectorList, passing the object as the first parameter, and the string 'connectorList' as the second parameter
1071  
1072 If not, it will return a a L<Paws::SMS::GetConnectorsResponse> 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.
1073  
1074  
1075 =head2 GetAllReplicationJobs(sub { },[MaxResults => Int, NextToken => Str, ReplicationJobId => Str])
1076  
1077 =head2 GetAllReplicationJobs([MaxResults => Int, NextToken => Str, ReplicationJobId => Str])
1078  
1079  
1080 If passed a sub as first parameter, it will call the sub for each element found in :
1081  
1082 - replicationJobList, passing the object as the first parameter, and the string 'replicationJobList' as the second parameter
1083  
1084 If not, it will return a a L<Paws::SMS::GetReplicationJobsResponse> 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.
1085  
1086  
1087 =head2 GetAllReplicationRuns(sub { },ReplicationJobId => Str, [MaxResults => Int, NextToken => Str])
1088  
1089 =head2 GetAllReplicationRuns(ReplicationJobId => Str, [MaxResults => Int, NextToken => Str])
1090  
1091  
1092 If passed a sub as first parameter, it will call the sub for each element found in :
1093  
1094 - replicationRunList, passing the object as the first parameter, and the string 'replicationRunList' as the second parameter
1095  
1096 If not, it will return a a L<Paws::SMS::GetReplicationRunsResponse> 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.
1097  
1098  
1099 =head2 GetAllServers(sub { },[MaxResults => Int, NextToken => Str, VmServerAddressList => ArrayRef[L<Paws::SMS::VmServerAddress>]])
1100  
1101 =head2 GetAllServers([MaxResults => Int, NextToken => Str, VmServerAddressList => ArrayRef[L<Paws::SMS::VmServerAddress>]])
1102  
1103  
1104 If passed a sub as first parameter, it will call the sub for each element found in :
1105  
1106 - serverList, passing the object as the first parameter, and the string 'serverList' as the second parameter
1107  
1108 If not, it will return a a L<Paws::SMS::GetServersResponse> 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.
1109  
1110  
1111 =head2 ListAllApps(sub { },[AppIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1112  
1113 =head2 ListAllApps([AppIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])
1114  
1115  
1116 If passed a sub as first parameter, it will call the sub for each element found in :
1117  
1118 - apps, passing the object as the first parameter, and the string 'apps' as the second parameter
1119  
1120 If not, it will return a a L<Paws::SMS::ListAppsResponse> 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.
1121  
1122  
1123  
1124  
1125  
1126 =head1 SEE ALSO
1127  
1128 This service class forms part of L<Paws>
1129  
1130 =head1 BUGS and CONTRIBUTIONS
1131  
1132 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1133  
1134 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1135  
1136 =cut
1137