NAME

Paws::ApplicationMigration - Perl Interface to AWS Application Migration Service

SYNOPSIS

use Paws;

my $obj = Paws->service('ApplicationMigration');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

The Application Migration Service service.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/mgn-2020-02-26

METHODS

ChangeServerLifeCycleState

LifeCycle => Paws::ApplicationMigration::ChangeServerLifeCycleStateSourceServerLifecycle
SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::ChangeServerLifeCycleState

Returns: a Paws::ApplicationMigration::SourceServer instance

Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)

CreateReplicationConfigurationTemplate

AssociateDefaultSecurityGroup => Bool
BandwidthThrottling => Int
CreatePublicIP => Bool
DataPlaneRouting => Str
DefaultLargeStagingDiskType => Str
EbsEncryption => Str
ReplicationServerInstanceType => Str
ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef]
StagingAreaSubnetId => Str
StagingAreaTags => Paws::ApplicationMigration::TagsMap
UseDedicatedReplicationServer => Bool
[EbsEncryptionKeyArn => Str]
[Tags => Paws::ApplicationMigration::TagsMap]

Each argument is described in detail in: Paws::ApplicationMigration::CreateReplicationConfigurationTemplate

Returns: a Paws::ApplicationMigration::ReplicationConfigurationTemplate instance

Creates a new ReplicationConfigurationTemplate.

DeleteJob

JobID => Str

Each argument is described in detail in: Paws::ApplicationMigration::DeleteJob

Returns: a Paws::ApplicationMigration::DeleteJobResponse instance

Deletes a single Job by ID.

DeleteReplicationConfigurationTemplate

ReplicationConfigurationTemplateID => Str

Each argument is described in detail in: Paws::ApplicationMigration::DeleteReplicationConfigurationTemplate

Returns: a Paws::ApplicationMigration::DeleteReplicationConfigurationTemplateResponse instance

Deletes a single Replication Configuration Template by ID

DeleteSourceServer

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::DeleteSourceServer

Returns: a Paws::ApplicationMigration::DeleteSourceServerResponse instance

Deletes a single source server by ID.

DescribeJobLogItems

JobID => Str
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ApplicationMigration::DescribeJobLogItems

Returns: a Paws::ApplicationMigration::DescribeJobLogItemsResponse instance

Retrieves detailed Job log with paging.

DescribeJobs

Filters => Paws::ApplicationMigration::DescribeJobsRequestFilters
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ApplicationMigration::DescribeJobs

Returns: a Paws::ApplicationMigration::DescribeJobsResponse instance

Returns a list of Jobs. Use the JobsID and fromDate and toData filters to limit which jobs are returned. The response is sorted by creationDataTime - latest date first. Jobs are normaly created by the StartTest, StartCutover, and TerminateTargetInstances APIs. Jobs are also created by DiagnosticLaunch and TerminateDiagnosticInstances, which are APIs available only to *Support* and only used in response to relevant support tickets.

DescribeReplicationConfigurationTemplates

ReplicationConfigurationTemplateIDs => ArrayRef[Str|Undef]
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ApplicationMigration::DescribeReplicationConfigurationTemplates

Returns: a Paws::ApplicationMigration::DescribeReplicationConfigurationTemplatesResponse instance

Lists all ReplicationConfigurationTemplates, filtered by Source Server IDs.

DescribeSourceServers

Filters => Paws::ApplicationMigration::DescribeSourceServersRequestFilters
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ApplicationMigration::DescribeSourceServers

Returns: a Paws::ApplicationMigration::DescribeSourceServersResponse instance

Retrieves all SourceServers or multiple SourceServers by ID.

DisconnectFromService

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::DisconnectFromService

Returns: a Paws::ApplicationMigration::SourceServer instance

Disconnects specific Source Servers from Application Migration Service. Data replication is stopped immediately. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. If the agent on the source server has not been prevented from communciating with the Application Migration Service service, then it will receive a command to uninstall itself (within approximately 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be set to DISCONNECTED; The totalStorageBytes property for each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.

FinalizeCutover

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::FinalizeCutover

Returns: a Paws::ApplicationMigration::SourceServer instance

Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDurationwill be nullified.

GetLaunchConfiguration

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::GetLaunchConfiguration

Returns: a Paws::ApplicationMigration::LaunchConfiguration instance

Lists all LaunchConfigurations available, filtered by Source Server IDs.

GetReplicationConfiguration

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::GetReplicationConfiguration

Returns: a Paws::ApplicationMigration::ReplicationConfiguration instance

Lists all ReplicationConfigurations, filtered by Source Server ID.

InitializeService

Each argument is described in detail in: Paws::ApplicationMigration::InitializeService

Returns: a Paws::ApplicationMigration::InitializeServiceResponse instance

Initialize Application Migration Service.

ListTagsForResource

ResourceArn => Str

Each argument is described in detail in: Paws::ApplicationMigration::ListTagsForResource

Returns: a Paws::ApplicationMigration::ListTagsForResourceResponse instance

List all tags for your Application Migration Service resources.

MarkAsArchived

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::MarkAsArchived

Returns: a Paws::ApplicationMigration::SourceServer instance

Archives specific Source Servers by setting the SourceServer.isArchived property to true for specified SourceServers by ID. This command only works for SourceServers with a lifecycle.state which equals DISCONNECTED or CUTOVER.

RetryDataReplication

SourceServerID => Str

Each argument is described in detail in: Paws::ApplicationMigration::RetryDataReplication

Returns: a Paws::ApplicationMigration::SourceServer instance

Causes the data replication initiation sequence to begin immediately upon next Handshake for specified SourceServer IDs, regardless of when the previous initiation started. This command will not work if the SourceServer is not stalled or is in a DISCONNECTED or STOPPED state.

StartCutover

SourceServerIDs => ArrayRef[Str|Undef]
[Tags => Paws::ApplicationMigration::TagsMap]

Each argument is described in detail in: Paws::ApplicationMigration::StartCutover

Returns: a Paws::ApplicationMigration::StartCutoverResponse instance

Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.

StartTest

SourceServerIDs => ArrayRef[Str|Undef]
[Tags => Paws::ApplicationMigration::TagsMap]

Each argument is described in detail in: Paws::ApplicationMigration::StartTest

Returns: a Paws::ApplicationMigration::StartTestResponse instance

Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.

TagResource

ResourceArn => Str
Tags => Paws::ApplicationMigration::TagsMap

Each argument is described in detail in: Paws::ApplicationMigration::TagResource

Returns: nothing

Adds or overwrites only the specified tags for the specified Application Migration Service resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value.

TerminateTargetInstances

SourceServerIDs => ArrayRef[Str|Undef]
[Tags => Paws::ApplicationMigration::TagsMap]

Each argument is described in detail in: Paws::ApplicationMigration::TerminateTargetInstances

Returns: a Paws::ApplicationMigration::TerminateTargetInstancesResponse instance

Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.

UntagResource

ResourceArn => Str
TagKeys => ArrayRef[Str|Undef]

Each argument is described in detail in: Paws::ApplicationMigration::UntagResource

Returns: nothing

Deletes the specified set of tags from the specified set of Application Migration Service resources.

UpdateLaunchConfiguration

SourceServerID => Str
[CopyPrivateIp => Bool]
[CopyTags => Bool]
[LaunchDisposition => Str]
[Licensing => Paws::ApplicationMigration::Licensing]
[Name => Str]
[TargetInstanceTypeRightSizingMethod => Str]

Each argument is described in detail in: Paws::ApplicationMigration::UpdateLaunchConfiguration

Returns: a Paws::ApplicationMigration::LaunchConfiguration instance

Updates multiple LaunchConfigurations by Source Server ID.

UpdateReplicationConfiguration

SourceServerID => Str
[AssociateDefaultSecurityGroup => Bool]
[BandwidthThrottling => Int]
[CreatePublicIP => Bool]
[DataPlaneRouting => Str]
[DefaultLargeStagingDiskType => Str]
[EbsEncryption => Str]
[EbsEncryptionKeyArn => Str]
[Name => Str]
[ReplicatedDisks => ArrayRef[Paws::ApplicationMigration::ReplicationConfigurationReplicatedDisk]]
[ReplicationServerInstanceType => Str]
[ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef]]
[StagingAreaSubnetId => Str]
[StagingAreaTags => Paws::ApplicationMigration::TagsMap]
[UseDedicatedReplicationServer => Bool]

Each argument is described in detail in: Paws::ApplicationMigration::UpdateReplicationConfiguration

Returns: a Paws::ApplicationMigration::ReplicationConfiguration instance

Allows you to update multiple ReplicationConfigurations by Source Server ID.

UpdateReplicationConfigurationTemplate

ReplicationConfigurationTemplateID => Str
[Arn => Str]
[AssociateDefaultSecurityGroup => Bool]
[BandwidthThrottling => Int]
[CreatePublicIP => Bool]
[DataPlaneRouting => Str]
[DefaultLargeStagingDiskType => Str]
[EbsEncryption => Str]
[EbsEncryptionKeyArn => Str]
[ReplicationServerInstanceType => Str]
[ReplicationServersSecurityGroupsIDs => ArrayRef[Str|Undef]]
[StagingAreaSubnetId => Str]
[StagingAreaTags => Paws::ApplicationMigration::TagsMap]
[UseDedicatedReplicationServer => Bool]

Each argument is described in detail in: Paws::ApplicationMigration::UpdateReplicationConfigurationTemplate

Returns: a Paws::ApplicationMigration::ReplicationConfigurationTemplate instance

Updates multiple ReplicationConfigurationTemplates by ID.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

DescribeAllJobLogItems(sub { },JobID => Str, [MaxResults => Int, NextToken => Str])

DescribeAllJobLogItems(JobID => Str, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- items, passing the object as the first parameter, and the string 'items' as the second parameter 

If not, it will return a a Paws::ApplicationMigration::DescribeJobLogItemsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

DescribeAllJobs(sub { },Filters => Paws::ApplicationMigration::DescribeJobsRequestFilters, [MaxResults => Int, NextToken => Str])

DescribeAllJobs(Filters => Paws::ApplicationMigration::DescribeJobsRequestFilters, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- items, passing the object as the first parameter, and the string 'items' as the second parameter 

If not, it will return a a Paws::ApplicationMigration::DescribeJobsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

DescribeAllReplicationConfigurationTemplates(sub { },ReplicationConfigurationTemplateIDs => ArrayRef[Str|Undef], [MaxResults => Int, NextToken => Str])

DescribeAllReplicationConfigurationTemplates(ReplicationConfigurationTemplateIDs => ArrayRef[Str|Undef], [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- items, passing the object as the first parameter, and the string 'items' as the second parameter 

If not, it will return a a Paws::ApplicationMigration::DescribeReplicationConfigurationTemplatesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

DescribeAllSourceServers(sub { },Filters => Paws::ApplicationMigration::DescribeSourceServersRequestFilters, [MaxResults => Int, NextToken => Str])

DescribeAllSourceServers(Filters => Paws::ApplicationMigration::DescribeSourceServersRequestFilters, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

- items, passing the object as the first parameter, and the string 'items' as the second parameter 

If not, it will return a a Paws::ApplicationMigration::DescribeSourceServersResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues