CloudTrail.Client.delete_event_data_store(**kwargs)¶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; this operation cannot work if TerminationProtectionEnabled is True .
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.
See also: AWS API Documentation
Request Syntax
response = client.delete_event_data_store(
EventDataStore='string'
)
[REQUIRED]
The ARN (or the ID suffix of the ARN) of the event data store to delete.
{}
Response Structure
Exceptions
CloudTrail.Client.exceptions.EventDataStoreARNInvalidExceptionCloudTrail.Client.exceptions.EventDataStoreNotFoundExceptionCloudTrail.Client.exceptions.EventDataStoreTerminationProtectedExceptionCloudTrail.Client.exceptions.EventDataStoreHasOngoingImportExceptionCloudTrail.Client.exceptions.InactiveEventDataStoreExceptionCloudTrail.Client.exceptions.InvalidParameterExceptionCloudTrail.Client.exceptions.OperationNotPermittedExceptionCloudTrail.Client.exceptions.UnsupportedOperationExceptionCloudTrail.Client.exceptions.NotOrganizationMasterAccountExceptionCloudTrail.Client.exceptions.NoManagementAccountSLRExistsExceptionCloudTrail.Client.exceptions.ChannelExistsForEDSExceptionCloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionException