MigrationHub.Client.import_migration_task(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.import_migration_task(
ProgressUpdateStream='string',
MigrationTaskName='string',
DryRun=True|False
)
[REQUIRED]
The name of the ProgressUpdateStream. >
[REQUIRED]
Unique identifier that references the migration task. Do not store personal data in this field.
dict
Response Syntax
{}
Response Structure
Exceptions
MigrationHub.Client.exceptions.AccessDeniedExceptionMigrationHub.Client.exceptions.ThrottlingExceptionMigrationHub.Client.exceptions.InternalServerErrorMigrationHub.Client.exceptions.ServiceUnavailableExceptionMigrationHub.Client.exceptions.DryRunOperationMigrationHub.Client.exceptions.UnauthorizedOperationMigrationHub.Client.exceptions.InvalidInputExceptionMigrationHub.Client.exceptions.ResourceNotFoundExceptionMigrationHub.Client.exceptions.HomeRegionNotSetException