CloudTrail.Paginator.
ListImportFailures
¶paginator = client.get_paginator('list_import_failures')
paginate
(**kwargs)¶Creates an iterator that will paginate through responses from CloudTrail.Client.list_import_failures()
.
See also: AWS API Documentation
Request Syntax
response_iterator = paginator.paginate(
ImportId='string',
PaginationConfig={
'MaxItems': 123,
'PageSize': 123,
'StartingToken': 'string'
}
)
[REQUIRED]
The ID of the import.
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
{
'Failures': [
{
'Location': 'string',
'Status': 'FAILED'|'RETRY'|'SUCCEEDED',
'ErrorType': 'string',
'ErrorMessage': 'string',
'LastUpdatedTime': datetime(2015, 1, 1)
},
],
}
Response Structure
(dict) --
Failures (list) --
Contains information about the import failures.
(dict) --
Provides information about an import failure.
Location (string) --
The location of the failure in the S3 bucket.
Status (string) --
The status of the import.
ErrorType (string) --
The type of import error.
ErrorMessage (string) --
Provides the reason the import failed.
LastUpdatedTime (datetime) --
When the import was last updated.