Skip to content

CloudTrail  >  Operations  >  list_imports

list_imports

Operation

list_imports async

list_imports(input: ListImportsInput, plugins: list[Plugin] | None = None) -> ListImportsOutput

Returns information on all imports, or a select set of imports by ImportStatus or Destination.

Parameters:

Name Type Description Default
input ListImportsInput

An instance of ListImportsInput.

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
ListImportsOutput

An instance of ListImportsOutput.

Input

ListImportsInput dataclass

Dataclass for ListImportsInput structure.

Attributes

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

The ARN of the destination event data store.

import_status class-attribute instance-attribute
import_status: ImportStatus | None = None

The status of the import.

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

The maximum number of imports 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 results.

Output

ListImportsOutput dataclass

Dataclass for ListImportsOutput structure.

Attributes

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

The list of returned imports.

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

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