Skip to content

CloudTrail  >  Operations  >  delete_event_data_store

delete_event_data_store

Operation

delete_event_data_store async

delete_event_data_store(input: DeleteEventDataStoreInput, plugins: list[Plugin] | None = None) -> DeleteEventDataStoreOutput
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.

Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store and the FederationStatus must be DISABLED. You cannot delete an event data store if TerminationProtectionEnabled is True or the FederationStatus is ENABLED.

After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.

Parameters:

Name Type Description Default
input DeleteEventDataStoreInput

An instance of DeleteEventDataStoreInput.

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
DeleteEventDataStoreOutput

An instance of DeleteEventDataStoreOutput.

Input

DeleteEventDataStoreInput dataclass

Dataclass for DeleteEventDataStoreInput structure.

Attributes

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

The ARN (or the ID suffix of the ARN) of the event data store to delete.

Output

DeleteEventDataStoreOutput dataclass

Dataclass for DeleteEventDataStoreOutput structure.

Attributes

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.