get_import_file_task
(**kwargs)¶Retrieves the details about a specific import task.
See also: AWS API Documentation
Request Syntax
response = client.get_import_file_task(
id='string'
)
[REQUIRED]
The ID of the import file task. This ID is returned in the response of StartImportFileTask.
{
'completionTime': datetime(2015, 1, 1),
'id': 'string',
'importName': 'string',
'inputS3Bucket': 'string',
'inputS3Key': 'string',
'numberOfRecordsFailed': 123,
'numberOfRecordsSuccess': 123,
'startTime': datetime(2015, 1, 1),
'status': 'ImportInProgress'|'ImportFailed'|'ImportPartialSuccess'|'ImportSuccess'|'DeleteInProgress'|'DeleteFailed'|'DeletePartialSuccess'|'DeleteSuccess',
'statusReportS3Bucket': 'string',
'statusReportS3Key': 'string'
}
Response Structure
The time that the import task completed.
The import file task id
returned in the response of StartImportFileTask.
The name of the import task given in StartImportFileTask.
The S3 bucket where import file is located.
The Amazon S3 key name of the import file.
The number of records that failed to be imported.
The number of records successfully imported.
Start time of the import task.
Status of import file task.
The S3 bucket name for status report of import task.
The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.
Exceptions
MigrationHubStrategyRecommendations.Client.exceptions.ResourceNotFoundException
MigrationHubStrategyRecommendations.Client.exceptions.AccessDeniedException
MigrationHubStrategyRecommendations.Client.exceptions.ThrottlingException
MigrationHubStrategyRecommendations.Client.exceptions.ValidationException
MigrationHubStrategyRecommendations.Client.exceptions.InternalServerException