Skip to content

list_imports

Operation

list_imports

list_imports(request: ListImportsInput | ListImportsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListImportsInputDict]) -> ListImportsOutput
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 information on all imports, or a select set of imports by ImportStatus or Destination.

Parameters:

Name Type Description Default
request ListImportsInput | ListImportsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[ListImportsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListImportsOutput

An instance of ListImportsOutput.

list_imports async

list_imports(request: ListImportsInput | ListImportsInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[ListImportsInputDict]) -> ListImportsOutput
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 information on all imports, or a select set of imports by ImportStatus or Destination.

Parameters:

Name Type Description Default
request ListImportsInput | ListImportsInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[ListImportsInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
ListImportsOutput

An instance of ListImportsOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

ListImportsInputDict

Bases: TypedDict

Dictionary form of ListImportsInput.

Attributes

destination instance-attribute
destination: str | None

The ARN of the destination event data store.

import_status instance-attribute
import_status: str | None

The status of the import.

max_results instance-attribute
max_results: int | None

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

next_token instance-attribute
next_token: str | None

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

ListImportsInput dataclass

Bases: _SerdeShape

Dataclass for ListImportsInput structure.

Attributes

destination class-attribute instance-attribute
destination: str | None = ...

The ARN of the destination event data store.

import_status class-attribute instance-attribute
import_status: str | None = ...

The status of the import.

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

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

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

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

Output

ListImportsOutput dataclass

Bases: _SerdeShape

Dataclass for ListImportsOutput structure.

Attributes

imports class-attribute instance-attribute
imports: list[ImportsListItem] | None = ...

The list of returned imports.

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

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

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

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.