CloudTrail / Paginator / ListImports
ListImports#
- class CloudTrail.Paginator.ListImports#
- paginator = client.get_paginator('list_imports') - paginate(**kwargs)#
- Creates an iterator that will paginate through responses from - CloudTrail.Client.list_imports().- See also: AWS API Documentation - Request Syntax- response_iterator = paginator.paginate( Destination='string', ImportStatus='INITIALIZING'|'IN_PROGRESS'|'FAILED'|'STOPPED'|'COMPLETED', PaginationConfig={ 'MaxItems': 123, 'PageSize': 123, 'StartingToken': 'string' } ) - Parameters:
- Destination (string) – The ARN of the destination event data store. 
- ImportStatus (string) – The status of the import. 
- 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 - NextTokenwill 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 - NextTokenfrom a previous response.
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- { 'Imports': [ { 'ImportId': 'string', 'ImportStatus': 'INITIALIZING'|'IN_PROGRESS'|'FAILED'|'STOPPED'|'COMPLETED', 'Destinations': [ 'string', ], 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) }, ], } - Response Structure- (dict) – - Imports (list) – - The list of returned imports. - (dict) – - Contains information about an import that was returned by a lookup request. - ImportId (string) – - The ID of the import. 
- ImportStatus (string) – - The status of the import. 
- Destinations (list) – - The ARN of the destination event data store. - (string) – 
 
- CreatedTimestamp (datetime) – - The timestamp of the import’s creation. 
- UpdatedTimestamp (datetime) – - The timestamp of the import’s last update.