MigrationHubStrategyRecommendations / Paginator / ListImportFileTask
ListImportFileTask#
- class MigrationHubStrategyRecommendations.Paginator.ListImportFileTask#
paginator = client.get_paginator('list_import_file_task')
- paginate(**kwargs)#
Creates an iterator that will paginate through responses from
MigrationHubStrategyRecommendations.Client.list_import_file_task()
.See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate( PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } )
- Parameters:
PaginationConfig (dict) –
A dictionary that provides parameters to control pagination.
MaxItems (integer) –
The total number of items to return. If the total number of items available is more than the value specified in max-items then a
NextToken
will be provided in the output that you can use to resume pagination.PageSize (integer) –
The size of each page.
StartingToken (string) –
A token to specify where to start paginating. This is the
NextToken
from a previous response.
- Return type:
dict
- Returns:
Response Syntax
{ 'taskInfos': [ { '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' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
taskInfos (list) –
Lists information about the files you import.
(dict) –
Information about the import file tasks you request.
completionTime (datetime) –
The time that the import task completes.
id (string) –
The ID of the import file task.
importName (string) –
The name of the import task given in
StartImportFileTask
.inputS3Bucket (string) –
The S3 bucket where the import file is located.
inputS3Key (string) –
The Amazon S3 key name of the import file.
numberOfRecordsFailed (integer) –
The number of records that failed to be imported.
numberOfRecordsSuccess (integer) –
The number of records successfully imported.
startTime (datetime) –
Start time of the import task.
status (string) –
Status of import file task.
statusReportS3Bucket (string) –
The S3 bucket name for status report of import task.
statusReportS3Key (string) –
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.
NextToken (string) –
A token to resume pagination.