Smaws_Client_ApplicationDiscoveryService.StartImportTaskStarts an import task, which allows you to import details of your on-premises environment directly into Amazon Web Services Migration Hub without having to use the Amazon Web Services Application Discovery Service (Application Discovery Service) tools such as the Amazon Web Services Application Discovery Service Agentless Collector or Application Discovery Agent. This gives you the option to perform migration assessment and planning directly from your imported data, including the ability to group your devices as applications and track their migration status.
To start an import request, do this:
StartImportTask command with the Amazon Web Services CLI or one of the Amazon Web Services SDKs to import the records from your file.For more information, including step-by-step procedures, see Migration Hub Import in the Amazon Web Services Application Discovery Service User Guide.
There are limits to the number of import tasks you can create (and delete) in an Amazon Web Services account. For more information, see Amazon Web Services Application Discovery Service Limits in the Amazon Web Services Application Discovery Service User Guide.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `HomeRegionNotSetException of Types.home_region_not_set_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ServerInternalErrorException of Types.server_internal_error_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.start_import_task_request ->
(Types.start_import_task_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `HomeRegionNotSetException of Types.home_region_not_set_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ServerInternalErrorException of Types.server_internal_error_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.start_import_task_request ->
(Types.start_import_task_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AuthorizationErrorException of Types.authorization_error_exception
| `HomeRegionNotSetException of Types.home_region_not_set_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `ServerInternalErrorException of Types.server_internal_error_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result