| 1 | package Paws::ApplicationMigration; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'mgn' } | ||
| 4 | sub signing_name { 'mgn' } | ||
| 5 | sub version { '2020-02-26' } | ||
| 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 ChangeServerLifeCycleState { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::ChangeServerLifeCycleState', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub CreateReplicationConfigurationTemplate { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::CreateReplicationConfigurationTemplate', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub DeleteJob { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DeleteJob', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | sub DeleteReplicationConfigurationTemplate { | ||
| 33 | my $self = shift; | ||
| 34 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DeleteReplicationConfigurationTemplate', @_); | ||
| 35 | return $self->caller->do_call($self, $call_object); | ||
| 36 | } | ||
| 37 | sub DeleteSourceServer { | ||
| 38 | my $self = shift; | ||
| 39 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DeleteSourceServer', @_); | ||
| 40 | return $self->caller->do_call($self, $call_object); | ||
| 41 | } | ||
| 42 | sub DescribeJobLogItems { | ||
| 43 | my $self = shift; | ||
| 44 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DescribeJobLogItems', @_); | ||
| 45 | return $self->caller->do_call($self, $call_object); | ||
| 46 | } | ||
| 47 | sub DescribeJobs { | ||
| 48 | my $self = shift; | ||
| 49 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DescribeJobs', @_); | ||
| 50 | return $self->caller->do_call($self, $call_object); | ||
| 51 | } | ||
| 52 | sub DescribeReplicationConfigurationTemplates { | ||
| 53 | my $self = shift; | ||
| 54 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DescribeReplicationConfigurationTemplates', @_); | ||
| 55 | return $self->caller->do_call($self, $call_object); | ||
| 56 | } | ||
| 57 | sub DescribeSourceServers { | ||
| 58 | my $self = shift; | ||
| 59 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DescribeSourceServers', @_); | ||
| 60 | return $self->caller->do_call($self, $call_object); | ||
| 61 | } | ||
| 62 | sub DisconnectFromService { | ||
| 63 | my $self = shift; | ||
| 64 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::DisconnectFromService', @_); | ||
| 65 | return $self->caller->do_call($self, $call_object); | ||
| 66 | } | ||
| 67 | sub FinalizeCutover { | ||
| 68 | my $self = shift; | ||
| 69 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::FinalizeCutover', @_); | ||
| 70 | return $self->caller->do_call($self, $call_object); | ||
| 71 | } | ||
| 72 | sub GetLaunchConfiguration { | ||
| 73 | my $self = shift; | ||
| 74 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::GetLaunchConfiguration', @_); | ||
| 75 | return $self->caller->do_call($self, $call_object); | ||
| 76 | } | ||
| 77 | sub GetReplicationConfiguration { | ||
| 78 | my $self = shift; | ||
| 79 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::GetReplicationConfiguration', @_); | ||
| 80 | return $self->caller->do_call($self, $call_object); | ||
| 81 | } | ||
| 82 | sub InitializeService { | ||
| 83 | my $self = shift; | ||
| 84 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::InitializeService', @_); | ||
| 85 | return $self->caller->do_call($self, $call_object); | ||
| 86 | } | ||
| 87 | sub ListTagsForResource { | ||
| 88 | my $self = shift; | ||
| 89 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::ListTagsForResource', @_); | ||
| 90 | return $self->caller->do_call($self, $call_object); | ||
| 91 | } | ||
| 92 | sub MarkAsArchived { | ||
| 93 | my $self = shift; | ||
| 94 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::MarkAsArchived', @_); | ||
| 95 | return $self->caller->do_call($self, $call_object); | ||
| 96 | } | ||
| 97 | sub RetryDataReplication { | ||
| 98 | my $self = shift; | ||
| 99 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::RetryDataReplication', @_); | ||
| 100 | return $self->caller->do_call($self, $call_object); | ||
| 101 | } | ||
| 102 | sub StartCutover { | ||
| 103 | my $self = shift; | ||
| 104 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::StartCutover', @_); | ||
| 105 | return $self->caller->do_call($self, $call_object); | ||
| 106 | } | ||
| 107 | sub StartTest { | ||
| 108 | my $self = shift; | ||
| 109 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::StartTest', @_); | ||
| 110 | return $self->caller->do_call($self, $call_object); | ||
| 111 | } | ||
| 112 | sub TagResource { | ||
| 113 | my $self = shift; | ||
| 114 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::TagResource', @_); | ||
| 115 | return $self->caller->do_call($self, $call_object); | ||
| 116 | } | ||
| 117 | sub TerminateTargetInstances { | ||
| 118 | my $self = shift; | ||
| 119 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::TerminateTargetInstances', @_); | ||
| 120 | return $self->caller->do_call($self, $call_object); | ||
| 121 | } | ||
| 122 | sub UntagResource { | ||
| 123 | my $self = shift; | ||
| 124 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::UntagResource', @_); | ||
| 125 | return $self->caller->do_call($self, $call_object); | ||
| 126 | } | ||
| 127 | sub UpdateLaunchConfiguration { | ||
| 128 | my $self = shift; | ||
| 129 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::UpdateLaunchConfiguration', @_); | ||
| 130 | return $self->caller->do_call($self, $call_object); | ||
| 131 | } | ||
| 132 | sub UpdateReplicationConfiguration { | ||
| 133 | my $self = shift; | ||
| 134 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::UpdateReplicationConfiguration', @_); | ||
| 135 | return $self->caller->do_call($self, $call_object); | ||
| 136 | } | ||
| 137 | sub UpdateReplicationConfigurationTemplate { | ||
| 138 | my $self = shift; | ||
| 139 | my $call_object = $self->new_with_coercions('Paws::ApplicationMigration::UpdateReplicationConfigurationTemplate', @_); | ||
| 140 | return $self->caller->do_call($self, $call_object); | ||
| 141 | } | ||
| 142 | |||
| 143 | sub DescribeAllJobLogItems { | ||
| 144 | my $self = shift; | ||
| 145 | |||
| 146 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 147 | my $result = $self->DescribeJobLogItems(@_); | ||
| 148 | my $next_result = $result; | ||
| 149 | |||
| 150 | if (not defined $callback) { | ||
| 151 | while ($next_result->nextToken) { | ||
| 152 | $next_result = $self->DescribeJobLogItems(@_, nextToken => $next_result->nextToken); | ||
| 153 | push @{ $result->items }, @{ $next_result->items }; | ||
| 154 | } | ||
| 155 | return $result; | ||
| 156 | } else { | ||
| 157 | while ($result->nextToken) { | ||
| 158 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 159 | $result = $self->DescribeJobLogItems(@_, nextToken => $result->nextToken); | ||
| 160 | } | ||
| 161 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 162 | } | ||
| 163 | |||
| 164 | return undef | ||
| 165 | } | ||
| 166 | sub DescribeAllJobs { | ||
| 167 | my $self = shift; | ||
| 168 | |||
| 169 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 170 | my $result = $self->DescribeJobs(@_); | ||
| 171 | my $next_result = $result; | ||
| 172 | |||
| 173 | if (not defined $callback) { | ||
| 174 | while ($next_result->nextToken) { | ||
| 175 | $next_result = $self->DescribeJobs(@_, nextToken => $next_result->nextToken); | ||
| 176 | push @{ $result->items }, @{ $next_result->items }; | ||
| 177 | } | ||
| 178 | return $result; | ||
| 179 | } else { | ||
| 180 | while ($result->nextToken) { | ||
| 181 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 182 | $result = $self->DescribeJobs(@_, nextToken => $result->nextToken); | ||
| 183 | } | ||
| 184 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 185 | } | ||
| 186 | |||
| 187 | return undef | ||
| 188 | } | ||
| 189 | sub DescribeAllReplicationConfigurationTemplates { | ||
| 190 | my $self = shift; | ||
| 191 | |||
| 192 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 193 | my $result = $self->DescribeReplicationConfigurationTemplates(@_); | ||
| 194 | my $next_result = $result; | ||
| 195 | |||
| 196 | if (not defined $callback) { | ||
| 197 | while ($next_result->nextToken) { | ||
| 198 | $next_result = $self->DescribeReplicationConfigurationTemplates(@_, nextToken => $next_result->nextToken); | ||
| 199 | push @{ $result->items }, @{ $next_result->items }; | ||
| 200 | } | ||
| 201 | return $result; | ||
| 202 | } else { | ||
| 203 | while ($result->nextToken) { | ||
| 204 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 205 | $result = $self->DescribeReplicationConfigurationTemplates(@_, nextToken => $result->nextToken); | ||
| 206 | } | ||
| 207 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 208 | } | ||
| 209 | |||
| 210 | return undef | ||
| 211 | } | ||
| 212 | sub DescribeAllSourceServers { | ||
| 213 | my $self = shift; | ||
| 214 | |||
| 215 | my $callback = shift @_ if (ref($_[0]) eq 'CODE'); | ||
| 216 | my $result = $self->DescribeSourceServers(@_); | ||
| 217 | my $next_result = $result; | ||
| 218 | |||
| 219 | if (not defined $callback) { | ||
| 220 | while ($next_result->nextToken) { | ||
| 221 | $next_result = $self->DescribeSourceServers(@_, nextToken => $next_result->nextToken); | ||
| 222 | push @{ $result->items }, @{ $next_result->items }; | ||
| 223 | } | ||
| 224 | return $result; | ||
| 225 | } else { | ||
| 226 | while ($result->nextToken) { | ||
| 227 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 228 | $result = $self->DescribeSourceServers(@_, nextToken => $result->nextToken); | ||
| 229 | } | ||
| 230 | $callback->($_ => 'items') foreach (@{ $result->items }); | ||
| 231 | } | ||
| 232 | |||
| 233 | return undef | ||
| 234 | } | ||
| 235 | |||
| 236 | |||
| 237 | sub operations { qw/ChangeServerLifeCycleState CreateReplicationConfigurationTemplate DeleteJob DeleteReplicationConfigurationTemplate DeleteSourceServer DescribeJobLogItems DescribeJobs DescribeReplicationConfigurationTemplates DescribeSourceServers DisconnectFromService FinalizeCutover GetLaunchConfiguration GetReplicationConfiguration InitializeService ListTagsForResource MarkAsArchived RetryDataReplication StartCutover StartTest TagResource TerminateTargetInstances UntagResource UpdateLaunchConfiguration UpdateReplicationConfiguration UpdateReplicationConfigurationTemplate / } | ||
| 238 | |||
| 239 | 1; | ||
| 240 | |||
| 241 | ### main pod documentation begin ### | ||
| 242 | |||
| 243 | =head1 NAME | ||
| 244 | |||
| 245 | Paws::ApplicationMigration - Perl Interface to AWS Application Migration Service | ||
| 246 | |||
| 247 | =head1 SYNOPSIS | ||
| 248 | |||
| 249 | use Paws; | ||
| 250 | |||
| 251 | my $obj = Paws->service('ApplicationMigration'); | ||
| 252 | my $res = $obj->Method( | ||
| 253 | Arg1 => $val1, | ||
| 254 | Arg2 => [ 'V1', 'V2' ], | ||
| 255 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 256 | # of the arguments type | ||
| 257 | Arg3 => { Att1 => 'Val1' }, | ||
| 258 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 259 | # the constructor of the arguments type | ||
| 260 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 261 | ); | ||
| 262 | |||
| 263 | =head1 DESCRIPTION | ||
| 264 | |||
| 265 | The Application Migration Service service. | ||
| 266 | |||
| 267 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26> | ||
| 268 | |||
| 269 | |||
| 270 | =head1 METHODS | ||
| 271 | |||
| 272 | =head2 ChangeServerLifeCycleState | ||
| 273 | |||
| 274 | =over | ||
| 275 | |||
| 276 | =item LifeCycle => L<Paws::ApplicationMigration::ChangeServerLifeCycleStateSourceServerLifecycle> | ||
| 277 | |||
| 278 | =item SourceServerID => Str | ||
| 279 | |||
| 280 | |||
| 281 | =back | ||
| 282 | |||
| 283 | Each argument is described in detail in: L<Paws::ApplicationMigration::ChangeServerLifeCycleState> | ||
| 284 | |||
| 285 | Returns: a L<Paws::ApplicationMigration::SourceServer> instance | ||
| 286 | |||
| 287 | Allows the user to set the SourceServer.LifeCycle.state property for | ||
| 288 | specific Source Server IDs to one of the following: READY_FOR_TEST or | ||
| 289 | READY_FOR_CUTOVER. This command only works if the Source Server is | ||
| 290 | already launchable (dataReplicationInfo.lagDuration is not null.) | ||
| 291 | |||
| 292 | |||
| 293 | =head2 CreateReplicationConfigurationTemplate | ||
| 294 | |||
| 295 | =over | ||
| 296 | |||
| 297 | =item AssociateDefaultSecurityGroup => Bool | ||
| 298 | |||
| 299 | =item BandwidthThrottling => Int | ||
| 300 | |||
| 301 | =item CreatePublicIP => Bool | ||
| 302 | |||
| 303 | =item DataPlaneRouting => Str | ||
| 304 | |||
| 305 | =item DefaultLargeStagingDiskType => Str | ||
| 306 | |||
| 307 | =item EbsEncryption => Str | ||
| 308 | |||
| 309 | =item ReplicationServerInstanceType => Str | ||
| 310 | |||
| 311 | =item ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef] | ||
| 312 | |||
| 313 | =item StagingAreaSubnetId => Str | ||
| 314 | |||
| 315 | =item StagingAreaTags => L<Paws::ApplicationMigration::TagsMap> | ||
| 316 | |||
| 317 | =item UseDedicatedReplicationServer => Bool | ||
| 318 | |||
| 319 | =item [EbsEncryptionKeyArn => Str] | ||
| 320 | |||
| 321 | =item [Tags => L<Paws::ApplicationMigration::TagsMap>] | ||
| 322 | |||
| 323 | |||
| 324 | =back | ||
| 325 | |||
| 326 | Each argument is described in detail in: L<Paws::ApplicationMigration::CreateReplicationConfigurationTemplate> | ||
| 327 | |||
| 328 | Returns: a L<Paws::ApplicationMigration::ReplicationConfigurationTemplate> instance | ||
| 329 | |||
| 330 | Creates a new ReplicationConfigurationTemplate. | ||
| 331 | |||
| 332 | |||
| 333 | =head2 DeleteJob | ||
| 334 | |||
| 335 | =over | ||
| 336 | |||
| 337 | =item JobID => Str | ||
| 338 | |||
| 339 | |||
| 340 | =back | ||
| 341 | |||
| 342 | Each argument is described in detail in: L<Paws::ApplicationMigration::DeleteJob> | ||
| 343 | |||
| 344 | Returns: a L<Paws::ApplicationMigration::DeleteJobResponse> instance | ||
| 345 | |||
| 346 | Deletes a single Job by ID. | ||
| 347 | |||
| 348 | |||
| 349 | =head2 DeleteReplicationConfigurationTemplate | ||
| 350 | |||
| 351 | =over | ||
| 352 | |||
| 353 | =item ReplicationConfigurationTemplateID => Str | ||
| 354 | |||
| 355 | |||
| 356 | =back | ||
| 357 | |||
| 358 | Each argument is described in detail in: L<Paws::ApplicationMigration::DeleteReplicationConfigurationTemplate> | ||
| 359 | |||
| 360 | Returns: a L<Paws::ApplicationMigration::DeleteReplicationConfigurationTemplateResponse> instance | ||
| 361 | |||
| 362 | Deletes a single Replication Configuration Template by ID | ||
| 363 | |||
| 364 | |||
| 365 | =head2 DeleteSourceServer | ||
| 366 | |||
| 367 | =over | ||
| 368 | |||
| 369 | =item SourceServerID => Str | ||
| 370 | |||
| 371 | |||
| 372 | =back | ||
| 373 | |||
| 374 | Each argument is described in detail in: L<Paws::ApplicationMigration::DeleteSourceServer> | ||
| 375 | |||
| 376 | Returns: a L<Paws::ApplicationMigration::DeleteSourceServerResponse> instance | ||
| 377 | |||
| 378 | Deletes a single source server by ID. | ||
| 379 | |||
| 380 | |||
| 381 | =head2 DescribeJobLogItems | ||
| 382 | |||
| 383 | =over | ||
| 384 | |||
| 385 | =item JobID => Str | ||
| 386 | |||
| 387 | =item [MaxResults => Int] | ||
| 388 | |||
| 389 | =item [NextToken => Str] | ||
| 390 | |||
| 391 | |||
| 392 | =back | ||
| 393 | |||
| 394 | Each argument is described in detail in: L<Paws::ApplicationMigration::DescribeJobLogItems> | ||
| 395 | |||
| 396 | Returns: a L<Paws::ApplicationMigration::DescribeJobLogItemsResponse> instance | ||
| 397 | |||
| 398 | Retrieves detailed Job log with paging. | ||
| 399 | |||
| 400 | |||
| 401 | =head2 DescribeJobs | ||
| 402 | |||
| 403 | =over | ||
| 404 | |||
| 405 | =item Filters => L<Paws::ApplicationMigration::DescribeJobsRequestFilters> | ||
| 406 | |||
| 407 | =item [MaxResults => Int] | ||
| 408 | |||
| 409 | =item [NextToken => Str] | ||
| 410 | |||
| 411 | |||
| 412 | =back | ||
| 413 | |||
| 414 | Each argument is described in detail in: L<Paws::ApplicationMigration::DescribeJobs> | ||
| 415 | |||
| 416 | Returns: a L<Paws::ApplicationMigration::DescribeJobsResponse> instance | ||
| 417 | |||
| 418 | Returns a list of Jobs. Use the JobsID and fromDate and toData filters | ||
| 419 | to limit which jobs are returned. The response is sorted by | ||
| 420 | creationDataTime - latest date first. Jobs are normaly created by the | ||
| 421 | StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are | ||
| 422 | also created by DiagnosticLaunch and TerminateDiagnosticInstances, | ||
| 423 | which are APIs available only to *Support* and only used in response to | ||
| 424 | relevant support tickets. | ||
| 425 | |||
| 426 | |||
| 427 | =head2 DescribeReplicationConfigurationTemplates | ||
| 428 | |||
| 429 | =over | ||
| 430 | |||
| 431 | =item ReplicationConfigurationTemplateIDs => ArrayRef[Str|Undef] | ||
| 432 | |||
| 433 | =item [MaxResults => Int] | ||
| 434 | |||
| 435 | =item [NextToken => Str] | ||
| 436 | |||
| 437 | |||
| 438 | =back | ||
| 439 | |||
| 440 | Each argument is described in detail in: L<Paws::ApplicationMigration::DescribeReplicationConfigurationTemplates> | ||
| 441 | |||
| 442 | Returns: a L<Paws::ApplicationMigration::DescribeReplicationConfigurationTemplatesResponse> instance | ||
| 443 | |||
| 444 | Lists all ReplicationConfigurationTemplates, filtered by Source Server | ||
| 445 | IDs. | ||
| 446 | |||
| 447 | |||
| 448 | =head2 DescribeSourceServers | ||
| 449 | |||
| 450 | =over | ||
| 451 | |||
| 452 | =item Filters => L<Paws::ApplicationMigration::DescribeSourceServersRequestFilters> | ||
| 453 | |||
| 454 | =item [MaxResults => Int] | ||
| 455 | |||
| 456 | =item [NextToken => Str] | ||
| 457 | |||
| 458 | |||
| 459 | =back | ||
| 460 | |||
| 461 | Each argument is described in detail in: L<Paws::ApplicationMigration::DescribeSourceServers> | ||
| 462 | |||
| 463 | Returns: a L<Paws::ApplicationMigration::DescribeSourceServersResponse> instance | ||
| 464 | |||
| 465 | Retrieves all SourceServers or multiple SourceServers by ID. | ||
| 466 | |||
| 467 | |||
| 468 | =head2 DisconnectFromService | ||
| 469 | |||
| 470 | =over | ||
| 471 | |||
| 472 | =item SourceServerID => Str | ||
| 473 | |||
| 474 | |||
| 475 | =back | ||
| 476 | |||
| 477 | Each argument is described in detail in: L<Paws::ApplicationMigration::DisconnectFromService> | ||
| 478 | |||
| 479 | Returns: a L<Paws::ApplicationMigration::SourceServer> instance | ||
| 480 | |||
| 481 | Disconnects specific Source Servers from Application Migration Service. | ||
| 482 | Data replication is stopped immediately. All AWS resources created by | ||
| 483 | Application Migration Service for enabling the replication of these | ||
| 484 | source servers will be terminated / deleted within 90 minutes. Launched | ||
| 485 | Test or Cutover instances will NOT be terminated. If the agent on the | ||
| 486 | source server has not been prevented from communciating with the | ||
| 487 | Application Migration Service service, then it will receive a command | ||
| 488 | to uninstall itself (within approximately 10 minutes). The following | ||
| 489 | properties of the SourceServer will be changed immediately: | ||
| 490 | dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; | ||
| 491 | The totalStorageBytes property for each of | ||
| 492 | dataReplicationInfo.replicatedDisks will be set to zero; | ||
| 493 | dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill | ||
| 494 | be nullified. | ||
| 495 | |||
| 496 | |||
| 497 | =head2 FinalizeCutover | ||
| 498 | |||
| 499 | =over | ||
| 500 | |||
| 501 | =item SourceServerID => Str | ||
| 502 | |||
| 503 | |||
| 504 | =back | ||
| 505 | |||
| 506 | Each argument is described in detail in: L<Paws::ApplicationMigration::FinalizeCutover> | ||
| 507 | |||
| 508 | Returns: a L<Paws::ApplicationMigration::SourceServer> instance | ||
| 509 | |||
| 510 | Finalizes the cutover immediately for specific Source Servers. All AWS | ||
| 511 | resources created by Application Migration Service for enabling the | ||
| 512 | replication of these source servers will be terminated / deleted within | ||
| 513 | 90 minutes. Launched Test or Cutover instances will NOT be terminated. | ||
| 514 | The AWS Replication Agent will receive a command to uninstall itself | ||
| 515 | (within 10 minutes). The following properties of the SourceServer will | ||
| 516 | be changed immediately: dataReplicationInfo.dataReplicationState will | ||
| 517 | be to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to | ||
| 518 | CUTOVER; The totalStorageBytes property fo each of | ||
| 519 | dataReplicationInfo.replicatedDisks will be set to zero; | ||
| 520 | dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill | ||
| 521 | be nullified. | ||
| 522 | |||
| 523 | |||
| 524 | =head2 GetLaunchConfiguration | ||
| 525 | |||
| 526 | =over | ||
| 527 | |||
| 528 | =item SourceServerID => Str | ||
| 529 | |||
| 530 | |||
| 531 | =back | ||
| 532 | |||
| 533 | Each argument is described in detail in: L<Paws::ApplicationMigration::GetLaunchConfiguration> | ||
| 534 | |||
| 535 | Returns: a L<Paws::ApplicationMigration::LaunchConfiguration> instance | ||
| 536 | |||
| 537 | Lists all LaunchConfigurations available, filtered by Source Server | ||
| 538 | IDs. | ||
| 539 | |||
| 540 | |||
| 541 | =head2 GetReplicationConfiguration | ||
| 542 | |||
| 543 | =over | ||
| 544 | |||
| 545 | =item SourceServerID => Str | ||
| 546 | |||
| 547 | |||
| 548 | =back | ||
| 549 | |||
| 550 | Each argument is described in detail in: L<Paws::ApplicationMigration::GetReplicationConfiguration> | ||
| 551 | |||
| 552 | Returns: a L<Paws::ApplicationMigration::ReplicationConfiguration> instance | ||
| 553 | |||
| 554 | Lists all ReplicationConfigurations, filtered by Source Server ID. | ||
| 555 | |||
| 556 | |||
| 557 | =head2 InitializeService | ||
| 558 | |||
| 559 | |||
| 560 | |||
| 561 | |||
| 562 | |||
| 563 | |||
| 564 | Each argument is described in detail in: L<Paws::ApplicationMigration::InitializeService> | ||
| 565 | |||
| 566 | Returns: a L<Paws::ApplicationMigration::InitializeServiceResponse> instance | ||
| 567 | |||
| 568 | Initialize Application Migration Service. | ||
| 569 | |||
| 570 | |||
| 571 | =head2 ListTagsForResource | ||
| 572 | |||
| 573 | =over | ||
| 574 | |||
| 575 | =item ResourceArn => Str | ||
| 576 | |||
| 577 | |||
| 578 | =back | ||
| 579 | |||
| 580 | Each argument is described in detail in: L<Paws::ApplicationMigration::ListTagsForResource> | ||
| 581 | |||
| 582 | Returns: a L<Paws::ApplicationMigration::ListTagsForResourceResponse> instance | ||
| 583 | |||
| 584 | List all tags for your Application Migration Service resources. | ||
| 585 | |||
| 586 | |||
| 587 | =head2 MarkAsArchived | ||
| 588 | |||
| 589 | =over | ||
| 590 | |||
| 591 | =item SourceServerID => Str | ||
| 592 | |||
| 593 | |||
| 594 | =back | ||
| 595 | |||
| 596 | Each argument is described in detail in: L<Paws::ApplicationMigration::MarkAsArchived> | ||
| 597 | |||
| 598 | Returns: a L<Paws::ApplicationMigration::SourceServer> instance | ||
| 599 | |||
| 600 | Archives specific Source Servers by setting the SourceServer.isArchived | ||
| 601 | property to true for specified SourceServers by ID. This command only | ||
| 602 | works for SourceServers with a lifecycle.state which equals | ||
| 603 | DISCONNECTED or CUTOVER. | ||
| 604 | |||
| 605 | |||
| 606 | =head2 RetryDataReplication | ||
| 607 | |||
| 608 | =over | ||
| 609 | |||
| 610 | =item SourceServerID => Str | ||
| 611 | |||
| 612 | |||
| 613 | =back | ||
| 614 | |||
| 615 | Each argument is described in detail in: L<Paws::ApplicationMigration::RetryDataReplication> | ||
| 616 | |||
| 617 | Returns: a L<Paws::ApplicationMigration::SourceServer> instance | ||
| 618 | |||
| 619 | Causes the data replication initiation sequence to begin immediately | ||
| 620 | upon next Handshake for specified SourceServer IDs, regardless of when | ||
| 621 | the previous initiation started. This command will not work if the | ||
| 622 | SourceServer is not stalled or is in a DISCONNECTED or STOPPED state. | ||
| 623 | |||
| 624 | |||
| 625 | =head2 StartCutover | ||
| 626 | |||
| 627 | =over | ||
| 628 | |||
| 629 | =item SourceServerIDs => ArrayRef[Str|Undef] | ||
| 630 | |||
| 631 | =item [Tags => L<Paws::ApplicationMigration::TagsMap>] | ||
| 632 | |||
| 633 | |||
| 634 | =back | ||
| 635 | |||
| 636 | Each argument is described in detail in: L<Paws::ApplicationMigration::StartCutover> | ||
| 637 | |||
| 638 | Returns: a L<Paws::ApplicationMigration::StartCutoverResponse> instance | ||
| 639 | |||
| 640 | Launches a Cutover Instance for specific Source Servers. This command | ||
| 641 | starts a LAUNCH job whose initiatedBy property is StartCutover and | ||
| 642 | changes the SourceServer.lifeCycle.state property to CUTTING_OVER. | ||
| 643 | |||
| 644 | |||
| 645 | =head2 StartTest | ||
| 646 | |||
| 647 | =over | ||
| 648 | |||
| 649 | =item SourceServerIDs => ArrayRef[Str|Undef] | ||
| 650 | |||
| 651 | =item [Tags => L<Paws::ApplicationMigration::TagsMap>] | ||
| 652 | |||
| 653 | |||
| 654 | =back | ||
| 655 | |||
| 656 | Each argument is described in detail in: L<Paws::ApplicationMigration::StartTest> | ||
| 657 | |||
| 658 | Returns: a L<Paws::ApplicationMigration::StartTestResponse> instance | ||
| 659 | |||
| 660 | Lauches a Test Instance for specific Source Servers. This command | ||
| 661 | starts a LAUNCH job whose initiatedBy property is StartTest and changes | ||
| 662 | the SourceServer.lifeCycle.state property to TESTING. | ||
| 663 | |||
| 664 | |||
| 665 | =head2 TagResource | ||
| 666 | |||
| 667 | =over | ||
| 668 | |||
| 669 | =item ResourceArn => Str | ||
| 670 | |||
| 671 | =item Tags => L<Paws::ApplicationMigration::TagsMap> | ||
| 672 | |||
| 673 | |||
| 674 | =back | ||
| 675 | |||
| 676 | Each argument is described in detail in: L<Paws::ApplicationMigration::TagResource> | ||
| 677 | |||
| 678 | Returns: nothing | ||
| 679 | |||
| 680 | Adds or overwrites only the specified tags for the specified | ||
| 681 | Application Migration Service resource or resources. When you specify | ||
| 682 | an existing tag key, the value is overwritten with the new value. Each | ||
| 683 | resource can have a maximum of 50 tags. Each tag consists of a key and | ||
| 684 | optional value. | ||
| 685 | |||
| 686 | |||
| 687 | =head2 TerminateTargetInstances | ||
| 688 | |||
| 689 | =over | ||
| 690 | |||
| 691 | =item SourceServerIDs => ArrayRef[Str|Undef] | ||
| 692 | |||
| 693 | =item [Tags => L<Paws::ApplicationMigration::TagsMap>] | ||
| 694 | |||
| 695 | |||
| 696 | =back | ||
| 697 | |||
| 698 | Each argument is described in detail in: L<Paws::ApplicationMigration::TerminateTargetInstances> | ||
| 699 | |||
| 700 | Returns: a L<Paws::ApplicationMigration::TerminateTargetInstancesResponse> instance | ||
| 701 | |||
| 702 | Starts a job that terminates specific launched EC2 Test and Cutover | ||
| 703 | instances. This command will not work for any Source Server with a | ||
| 704 | lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER. | ||
| 705 | |||
| 706 | |||
| 707 | =head2 UntagResource | ||
| 708 | |||
| 709 | =over | ||
| 710 | |||
| 711 | =item ResourceArn => Str | ||
| 712 | |||
| 713 | =item TagKeys => ArrayRef[Str|Undef] | ||
| 714 | |||
| 715 | |||
| 716 | =back | ||
| 717 | |||
| 718 | Each argument is described in detail in: L<Paws::ApplicationMigration::UntagResource> | ||
| 719 | |||
| 720 | Returns: nothing | ||
| 721 | |||
| 722 | Deletes the specified set of tags from the specified set of Application | ||
| 723 | Migration Service resources. | ||
| 724 | |||
| 725 | |||
| 726 | =head2 UpdateLaunchConfiguration | ||
| 727 | |||
| 728 | =over | ||
| 729 | |||
| 730 | =item SourceServerID => Str | ||
| 731 | |||
| 732 | =item [CopyPrivateIp => Bool] | ||
| 733 | |||
| 734 | =item [CopyTags => Bool] | ||
| 735 | |||
| 736 | =item [LaunchDisposition => Str] | ||
| 737 | |||
| 738 | =item [Licensing => L<Paws::ApplicationMigration::Licensing>] | ||
| 739 | |||
| 740 | =item [Name => Str] | ||
| 741 | |||
| 742 | =item [TargetInstanceTypeRightSizingMethod => Str] | ||
| 743 | |||
| 744 | |||
| 745 | =back | ||
| 746 | |||
| 747 | Each argument is described in detail in: L<Paws::ApplicationMigration::UpdateLaunchConfiguration> | ||
| 748 | |||
| 749 | Returns: a L<Paws::ApplicationMigration::LaunchConfiguration> instance | ||
| 750 | |||
| 751 | Updates multiple LaunchConfigurations by Source Server ID. | ||
| 752 | |||
| 753 | |||
| 754 | =head2 UpdateReplicationConfiguration | ||
| 755 | |||
| 756 | =over | ||
| 757 | |||
| 758 | =item SourceServerID => Str | ||
| 759 | |||
| 760 | =item [AssociateDefaultSecurityGroup => Bool] | ||
| 761 | |||
| 762 | =item [BandwidthThrottling => Int] | ||
| 763 | |||
| 764 | =item [CreatePublicIP => Bool] | ||
| 765 | |||
| 766 | =item [DataPlaneRouting => Str] | ||
| 767 | |||
| 768 | =item [DefaultLargeStagingDiskType => Str] | ||
| 769 | |||
| 770 | =item [EbsEncryption => Str] | ||
| 771 | |||
| 772 | =item [EbsEncryptionKeyArn => Str] | ||
| 773 | |||
| 774 | =item [Name => Str] | ||
| 775 | |||
| 776 | =item [ReplicatedDisks => ArrayRef[L<Paws::ApplicationMigration::ReplicationConfigurationReplicatedDisk>]] | ||
| 777 | |||
| 778 | =item [ReplicationServerInstanceType => Str] | ||
| 779 | |||
| 780 | =item [ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef]] | ||
| 781 | |||
| 782 | =item [StagingAreaSubnetId => Str] | ||
| 783 | |||
| 784 | =item [StagingAreaTags => L<Paws::ApplicationMigration::TagsMap>] | ||
| 785 | |||
| 786 | =item [UseDedicatedReplicationServer => Bool] | ||
| 787 | |||
| 788 | |||
| 789 | =back | ||
| 790 | |||
| 791 | Each argument is described in detail in: L<Paws::ApplicationMigration::UpdateReplicationConfiguration> | ||
| 792 | |||
| 793 | Returns: a L<Paws::ApplicationMigration::ReplicationConfiguration> instance | ||
| 794 | |||
| 795 | Allows you to update multiple ReplicationConfigurations by Source | ||
| 796 | Server ID. | ||
| 797 | |||
| 798 | |||
| 799 | =head2 UpdateReplicationConfigurationTemplate | ||
| 800 | |||
| 801 | =over | ||
| 802 | |||
| 803 | =item ReplicationConfigurationTemplateID => Str | ||
| 804 | |||
| 805 | =item [Arn => Str] | ||
| 806 | |||
| 807 | =item [AssociateDefaultSecurityGroup => Bool] | ||
| 808 | |||
| 809 | =item [BandwidthThrottling => Int] | ||
| 810 | |||
| 811 | =item [CreatePublicIP => Bool] | ||
| 812 | |||
| 813 | =item [DataPlaneRouting => Str] | ||
| 814 | |||
| 815 | =item [DefaultLargeStagingDiskType => Str] | ||
| 816 | |||
| 817 | =item [EbsEncryption => Str] | ||
| 818 | |||
| 819 | =item [EbsEncryptionKeyArn => Str] | ||
| 820 | |||
| 821 | =item [ReplicationServerInstanceType => Str] | ||
| 822 | |||
| 823 | =item [ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef]] | ||
| 824 | |||
| 825 | =item [StagingAreaSubnetId => Str] | ||
| 826 | |||
| 827 | =item [StagingAreaTags => L<Paws::ApplicationMigration::TagsMap>] | ||
| 828 | |||
| 829 | =item [UseDedicatedReplicationServer => Bool] | ||
| 830 | |||
| 831 | |||
| 832 | =back | ||
| 833 | |||
| 834 | Each argument is described in detail in: L<Paws::ApplicationMigration::UpdateReplicationConfigurationTemplate> | ||
| 835 | |||
| 836 | Returns: a L<Paws::ApplicationMigration::ReplicationConfigurationTemplate> instance | ||
| 837 | |||
| 838 | Updates multiple ReplicationConfigurationTemplates by ID. | ||
| 839 | |||
| 840 | |||
| 841 | |||
| 842 | |||
| 843 | =head1 PAGINATORS | ||
| 844 | |||
| 845 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 846 | |||
| 847 | =head2 DescribeAllJobLogItems(sub { },JobID => Str, [MaxResults => Int, NextToken => Str]) | ||
| 848 | |||
| 849 | =head2 DescribeAllJobLogItems(JobID => Str, [MaxResults => Int, NextToken => Str]) | ||
| 850 | |||
| 851 | |||
| 852 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 853 | |||
| 854 | - items, passing the object as the first parameter, and the string 'items' as the second parameter | ||
| 855 | |||
| 856 | If not, it will return a a L<Paws::ApplicationMigration::DescribeJobLogItemsResponse> 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. | ||
| 857 | |||
| 858 | |||
| 859 | =head2 DescribeAllJobs(sub { },Filters => L<Paws::ApplicationMigration::DescribeJobsRequestFilters>, [MaxResults => Int, NextToken => Str]) | ||
| 860 | |||
| 861 | =head2 DescribeAllJobs(Filters => L<Paws::ApplicationMigration::DescribeJobsRequestFilters>, [MaxResults => Int, NextToken => Str]) | ||
| 862 | |||
| 863 | |||
| 864 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 865 | |||
| 866 | - items, passing the object as the first parameter, and the string 'items' as the second parameter | ||
| 867 | |||
| 868 | If not, it will return a a L<Paws::ApplicationMigration::DescribeJobsResponse> 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. | ||
| 869 | |||
| 870 | |||
| 871 | =head2 DescribeAllReplicationConfigurationTemplates(sub { },ReplicationConfigurationTemplateIDs => ArrayRef[Str|Undef], [MaxResults => Int, NextToken => Str]) | ||
| 872 | |||
| 873 | =head2 DescribeAllReplicationConfigurationTemplates(ReplicationConfigurationTemplateIDs => ArrayRef[Str|Undef], [MaxResults => Int, NextToken => Str]) | ||
| 874 | |||
| 875 | |||
| 876 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 877 | |||
| 878 | - items, passing the object as the first parameter, and the string 'items' as the second parameter | ||
| 879 | |||
| 880 | If not, it will return a a L<Paws::ApplicationMigration::DescribeReplicationConfigurationTemplatesResponse> 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. | ||
| 881 | |||
| 882 | |||
| 883 | =head2 DescribeAllSourceServers(sub { },Filters => L<Paws::ApplicationMigration::DescribeSourceServersRequestFilters>, [MaxResults => Int, NextToken => Str]) | ||
| 884 | |||
| 885 | =head2 DescribeAllSourceServers(Filters => L<Paws::ApplicationMigration::DescribeSourceServersRequestFilters>, [MaxResults => Int, NextToken => Str]) | ||
| 886 | |||
| 887 | |||
| 888 | If passed a sub as first parameter, it will call the sub for each element found in : | ||
| 889 | |||
| 890 | - items, passing the object as the first parameter, and the string 'items' as the second parameter | ||
| 891 | |||
| 892 | If not, it will return a a L<Paws::ApplicationMigration::DescribeSourceServersResponse> 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. | ||
| 893 | |||
| 894 | |||
| 895 | |||
| 896 | |||
| 897 | |||
| 898 | =head1 SEE ALSO | ||
| 899 | |||
| 900 | This service class forms part of L<Paws> | ||
| 901 | |||
| 902 | =head1 BUGS and CONTRIBUTIONS | ||
| 903 | |||
| 904 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 905 | |||
| 906 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 907 | |||
| 908 | =cut | ||
| 909 |