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'
}
)
A dictionary that provides parameters to control pagination.
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.
The size of each page.
A token to specify where to start paginating. This is the NextToken
from a previous response.
dict
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.
CreatedTimestamp (datetime) --
The timestamp of the import's creation.
UpdatedTimestamp (datetime) --
The timestamp of the import's last update.