Skip to content

CloudTrail  >  Operations  >  stop_import

stop_import

Operation

stop_import async

stop_import(input: StopImportInput, plugins: list[Plugin] | None = None) -> StopImportOutput

Stops a specified import.

Parameters:

Name Type Description Default
input StopImportInput

An instance of StopImportInput.

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
StopImportOutput

An instance of StopImportOutput.

Input

StopImportInput dataclass

Dataclass for StopImportInput structure.

Attributes

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

The ID of the import.

Output

StopImportOutput dataclass

Dataclass for StopImportOutput 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
destinations: list[str] | None = None

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_id class-attribute instance-attribute
import_id: str | None = None

The ID for the import.

import_source class-attribute instance-attribute
import_source: ImportSource | None = None

The source S3 bucket for the import.

import_statistics class-attribute instance-attribute
import_statistics: ImportStatistics | None = None

Returns information on the stopped import.

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

The status of the import.

start_event_time class-attribute instance-attribute
start_event_time: datetime | None = None

Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

updated_timestamp class-attribute instance-attribute
updated_timestamp: datetime | None = None

The timestamp of the import's last update.