![]() |
![]()
| ![]() |
![]()
NAMEPaws::MigrationHub - Perl Interface to AWS AWS Migration Hub SYNOPSISuse Paws; my $obj = Paws->service('MigrationHub'); 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' } ], ); DESCRIPTIONThe AWS Migration Hub API methods help to obtain server and application migration status and integrate your resource-specific migration tool by providing a programmatic interface to Migration Hub. Remember that you must set your AWS Migration Hub home region before you call any of these APIs, or a "HomeRegionNotSetException" error will be returned. Also, you must make the API calls while in your home region. For the AWS API documentation, see <https://docs.aws.amazon.com/migrationhub/> METHODSAssociateCreatedArtifact
Each argument is described in detail in: Paws::MigrationHub::AssociateCreatedArtifact Returns: a Paws::MigrationHub::AssociateCreatedArtifactResult instance Associates a created artifact of an AWS cloud resource, the target receiving the migration, with the migration task performed by a migration tool. This API has the following traits:
AssociateDiscoveredResource
Each argument is described in detail in: Paws::MigrationHub::AssociateDiscoveredResource Returns: a Paws::MigrationHub::AssociateDiscoveredResourceResult instance Associates a discovered resource ID from Application Discovery Service with a migration task. CreateProgressUpdateStream
Each argument is described in detail in: Paws::MigrationHub::CreateProgressUpdateStream Returns: a Paws::MigrationHub::CreateProgressUpdateStreamResult instance Creates a progress update stream which is an AWS resource used for access control as well as a namespace for migration task names that is implicitly linked to your AWS account. It must uniquely identify the migration tool as it is used for all updates made by the tool; however, it does not need to be unique for each AWS account because it is scoped to the AWS account. DeleteProgressUpdateStream
Each argument is described in detail in: Paws::MigrationHub::DeleteProgressUpdateStream Returns: a Paws::MigrationHub::DeleteProgressUpdateStreamResult instance Deletes a progress update stream, including all of its tasks, which was previously created as an AWS resource used for access control. This API has the following traits:
DescribeApplicationStateEach argument is described in detail in: Paws::MigrationHub::DescribeApplicationState Returns: a Paws::MigrationHub::DescribeApplicationStateResult instance Gets the migration status of an application. DescribeMigrationTaskEach argument is described in detail in: Paws::MigrationHub::DescribeMigrationTask Returns: a Paws::MigrationHub::DescribeMigrationTaskResult instance Retrieves a list of all attributes associated with a specific migration task. DisassociateCreatedArtifactEach argument is described in detail in: Paws::MigrationHub::DisassociateCreatedArtifact Returns: a Paws::MigrationHub::DisassociateCreatedArtifactResult instance Disassociates a created artifact of an AWS resource with a migration task performed by a migration tool that was previously associated. This API has the following traits:
DisassociateDiscoveredResource
Each argument is described in detail in: Paws::MigrationHub::DisassociateDiscoveredResource Returns: a Paws::MigrationHub::DisassociateDiscoveredResourceResult instance Disassociate an Application Discovery Service discovered resource from a migration task. ImportMigrationTask
Each argument is described in detail in: Paws::MigrationHub::ImportMigrationTask Returns: a Paws::MigrationHub::ImportMigrationTaskResult instance Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool. This API is a prerequisite to calling the "NotifyMigrationTaskState" API as the migration tool must first register the migration task with Migration Hub. ListApplicationStates
Each argument is described in detail in: Paws::MigrationHub::ListApplicationStates Returns: a Paws::MigrationHub::ListApplicationStatesResult instance Lists all the migration statuses for your applications. If you use the optional "ApplicationIds" parameter, only the migration statuses for those applications will be returned. ListCreatedArtifacts
Each argument is described in detail in: Paws::MigrationHub::ListCreatedArtifacts Returns: a Paws::MigrationHub::ListCreatedArtifactsResult instance Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:
ListDiscoveredResources
Each argument is described in detail in: Paws::MigrationHub::ListDiscoveredResources Returns: a Paws::MigrationHub::ListDiscoveredResourcesResult instance Lists discovered resources associated with the given "MigrationTask". ListMigrationTasks
Each argument is described in detail in: Paws::MigrationHub::ListMigrationTasks Returns: a Paws::MigrationHub::ListMigrationTasksResult instance Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
ListProgressUpdateStreams
Each argument is described in detail in: Paws::MigrationHub::ListProgressUpdateStreams Returns: a Paws::MigrationHub::ListProgressUpdateStreamsResult instance Lists progress update streams associated with the user account making this call. NotifyApplicationState
Each argument is described in detail in: Paws::MigrationHub::NotifyApplicationState Returns: a Paws::MigrationHub::NotifyApplicationStateResult instance Sets the migration state of an application. For a given application identified by the value passed to "ApplicationId", its status is set or updated by passing one of three values to "Status": "NOT_STARTED | IN_PROGRESS | COMPLETED". NotifyMigrationTaskState
Each argument is described in detail in: Paws::MigrationHub::NotifyMigrationTaskState Returns: a Paws::MigrationHub::NotifyMigrationTaskStateResult instance Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
PutResourceAttributes
Each argument is described in detail in: Paws::MigrationHub::PutResourceAttributes Returns: a Paws::MigrationHub::PutResourceAttributesResult instance Provides identifying details of the resource being migrated so that it can be associated in the Application Discovery Service repository. This association occurs asynchronously after "PutResourceAttributes" returns.
Because this is an asynchronous call, it will always return 200, whether an association occurs or not. To confirm if an association was found based on the provided details, call "ListDiscoveredResources". PAGINATORSPaginator methods are helpers that repetively call methods that return partial results ListAllApplicationStates(sub { },[ApplicationIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])ListAllApplicationStates([ApplicationIds => ArrayRef[Str|Undef], MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - ApplicationStateList, passing the object as the first parameter, and the string 'ApplicationStateList' as the second parameter If not, it will return a a Paws::MigrationHub::ListApplicationStatesResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllCreatedArtifacts(sub { },MigrationTaskName => Str, ProgressUpdateStream => Str, [MaxResults => Int, NextToken => Str])ListAllCreatedArtifacts(MigrationTaskName => Str, ProgressUpdateStream => Str, [MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - CreatedArtifactList, passing the object as the first parameter, and the string 'CreatedArtifactList' as the second parameter If not, it will return a a Paws::MigrationHub::ListCreatedArtifactsResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllDiscoveredResources(sub { },MigrationTaskName => Str, ProgressUpdateStream => Str, [MaxResults => Int, NextToken => Str])ListAllDiscoveredResources(MigrationTaskName => Str, ProgressUpdateStream => Str, [MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - DiscoveredResourceList, passing the object as the first parameter, and the string 'DiscoveredResourceList' as the second parameter If not, it will return a a Paws::MigrationHub::ListDiscoveredResourcesResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllMigrationTasks(sub { },[MaxResults => Int, NextToken => Str, ResourceName => Str])ListAllMigrationTasks([MaxResults => Int, NextToken => Str, ResourceName => Str])If passed a sub as first parameter, it will call the sub for each element found in : - MigrationTaskSummaryList, passing the object as the first parameter, and the string 'MigrationTaskSummaryList' as the second parameter If not, it will return a a Paws::MigrationHub::ListMigrationTasksResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. ListAllProgressUpdateStreams(sub { },[MaxResults => Int, NextToken => Str])ListAllProgressUpdateStreams([MaxResults => Int, NextToken => Str])If passed a sub as first parameter, it will call the sub for each element found in : - ProgressUpdateStreamSummaryList, passing the object as the first parameter, and the string 'ProgressUpdateStreamSummaryList' as the second parameter If not, it will return a a Paws::MigrationHub::ListProgressUpdateStreamsResult instance with all the "param"s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. SEE ALSOThis service class forms part of Paws BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|