Module Smaws_Client_MigrationHub.ImportMigrationTask

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.

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