Skip to content

CloudTrail  >  Operations  >  list_import_failures

list_import_failures

Operation

list_import_failures async

list_import_failures(input: ListImportFailuresInput, plugins: list[Plugin] | None = None) -> ListImportFailuresOutput
Warning

CloudTrail Lake will no longer be open to new customers starting May 31, 2026. If you would like to use CloudTrail Lake, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see CloudTrail Lake availability change.

Returns a list of failures for the specified import.

Parameters:

Name Type Description Default
input ListImportFailuresInput

An instance of ListImportFailuresInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
ListImportFailuresOutput

An instance of ListImportFailuresOutput.

Input

ListImportFailuresInput dataclass

Dataclass for ListImportFailuresInput structure.

Attributes

import_id class-attribute instance-attribute
import_id: str | None = None

The ID of the import.

max_results class-attribute instance-attribute
max_results: int | None = None

The maximum number of failures to display on a single page.

next_token class-attribute instance-attribute
next_token: str | None = None

A token you can use to get the next page of import failures.

Output

ListImportFailuresOutput dataclass

Dataclass for ListImportFailuresOutput structure.

Attributes

failures class-attribute instance-attribute
failures: list[ImportFailureListItem] | None = None

Contains information about the import failures.

next_token class-attribute instance-attribute
next_token: str | None = None

A token you can use to get the next page of results.

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = field(default=EMPTY_RESPONSE_METADATA, repr=False, compare=False)

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.