MigrationHubClient
The 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.
Functions
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:
Associates a discovered resource ID from Application Discovery Service with a migration task.
Associates a source resource with a migration task. For example, the source resource can be a source server, an application, or a migration wave.
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.
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:
Gets the migration status of an application.
Retrieves a list of all attributes associated with a specific migration task.
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:
Disassociate an Application Discovery Service discovered resource from a migration task.
Removes the association between a source resource and a migration task.
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.
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.
Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:
Lists discovered resources associated with the given MigrationTask
.
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
This is a paginated API that returns all the migration-task states for the specified MigrationTaskName
and ProgressUpdateStream
.
Lists progress update streams associated with the user account making this call.
Lists all the source resource that are associated with the specified MigrationTaskName
and ProgressUpdateStream
.
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
.
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
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.
Inherited functions
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:
Associates a discovered resource ID from Application Discovery Service with a migration task.
Associates a source resource with a migration task. For example, the source resource can be a source server, an application, or a migration wave.
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.
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:
Gets the migration status of an application.
Retrieves a list of all attributes associated with a specific migration task.
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:
Disassociate an Application Discovery Service discovered resource from a migration task.
Removes the association between a source resource and a migration task.
Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.
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.
Paginate over ListApplicationStatesResponse results.
Lists the created artifacts attached to a given migration task in an update stream. This API has the following traits:
Paginate over ListCreatedArtifactsResponse results.
Lists discovered resources associated with the given MigrationTask
.
Paginate over ListDiscoveredResourcesResponse results.
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
Paginate over ListMigrationTasksResponse results.
This is a paginated API that returns all the migration-task states for the specified MigrationTaskName
and ProgressUpdateStream
.
Paginate over ListMigrationTaskUpdatesResponse results.
Lists progress update streams associated with the user account making this call.
Paginate over ListProgressUpdateStreamsResponse results.
Lists all the source resource that are associated with the specified MigrationTaskName
and ProgressUpdateStream
.
Paginate over ListSourceResourcesResponse results.
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
.
Notifies Migration Hub of the current status, progress, or other detail regarding a migration task. This API has the following traits:
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.
Create a copy of the client with one or more configuration values overridden. This method allows the caller to perform scoped config overrides for one or more client operations.