get_import¶
Operation¶
get_import
async
¶
get_import(input: GetImportInput, plugins: list[Plugin] | None = None) -> GetImportOutput
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 about a specific import.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
GetImportInput
|
An instance of |
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 |
|---|---|
GetImportOutput
|
An instance of |
Input¶
GetImportInput
dataclass
¶
Output¶
GetImportOutput
dataclass
¶
Dataclass for GetImportOutput structure.
Attributes¶
created_timestamp
class-attribute
instance-attribute
¶
created_timestamp: datetime | None = None
The timestamp of the import's creation.
destinations
class-attribute
instance-attribute
¶
The ARN of the destination event data store.
end_event_time
class-attribute
instance-attribute
¶
end_event_time: datetime | None = None
Used with StartEventTime to bound a StartImport request, and limit
imported trail events to only those events logged within a specified
time period.
import_source
class-attribute
instance-attribute
¶
import_source: ImportSource | None = None
The source S3 bucket.
import_statistics
class-attribute
instance-attribute
¶
import_statistics: ImportStatistics | None = None
Provides statistics for the import. CloudTrail does not update import
statistics in real-time. Returned values for parameters such as
EventsCompleted may be lower than the actual value, because CloudTrail
updates statistics incrementally over the course of the import.
import_status
class-attribute
instance-attribute
¶
import_status: str | None = None
The status of the import.
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.