CloudTrail / Client / delete_event_data_store
delete_event_data_store¶
- CloudTrail.Client.delete_event_data_store(**kwargs)¶
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 runDeleteEventDataStore, the event data store enters aPENDING_DELETIONstate, and is automatically deleted after a wait period of seven days.TerminationProtectionEnabledmust be set toFalseon the event data store and theFederationStatusmust beDISABLED. You cannot delete an event data store ifTerminationProtectionEnabledisTrueor theFederationStatusisENABLED.After you run
DeleteEventDataStoreon an event data store, you cannot runListQueries,DescribeQuery, orGetQueryResultson queries that are using an event data store in aPENDING_DELETIONstate. An event data store in thePENDING_DELETIONstate does not incur costs.See also: AWS API Documentation
Request Syntax
response = client.delete_event_data_store( EventDataStore='string' )
- Parameters:
EventDataStore (string) –
[REQUIRED]
The ARN (or the ID suffix of the ARN) of the event data store to delete.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
CloudTrail.Client.exceptions.EventDataStoreARNInvalidExceptionCloudTrail.Client.exceptions.EventDataStoreNotFoundExceptionCloudTrail.Client.exceptions.EventDataStoreTerminationProtectedExceptionCloudTrail.Client.exceptions.EventDataStoreHasOngoingImportExceptionCloudTrail.Client.exceptions.InactiveEventDataStoreExceptionCloudTrail.Client.exceptions.NotOrganizationMasterAccountExceptionCloudTrail.Client.exceptions.NoManagementAccountSLRExistsExceptionCloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionExceptionCloudTrail.Client.exceptions.EventDataStoreFederationEnabledException