Smaws_Client_MigrationHub.ImportMigrationTask
val request :
Smaws_Lib.Context.t ->
import_migration_task_request ->
(import_migration_task_result,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of access_denied_exception
| `DryRunOperation of dry_run_operation
| `HomeRegionNotSetException of home_region_not_set_exception
| `InternalServerError of internal_server_error
| `InvalidInputException of invalid_input_exception
| `ResourceNotFoundException of resource_not_found_exception
| `ServiceUnavailableException of service_unavailable_exception
| `ThrottlingException of throttling_exception
| `UnauthorizedOperation of unauthorized_operation ])
Stdlib.result
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.