CloudTrail / Client / delete_event_data_store
delete_event_data_store#
- CloudTrail.Client.delete_event_data_store(**kwargs)#
Disables the event data store specified by
EventDataStore
, which accepts an event data store ARN. After you runDeleteEventDataStore
, the event data store enters aPENDING_DELETION
state, and is automatically deleted after a wait period of seven days.TerminationProtectionEnabled
must be set toFalse
on the event data store and theFederationStatus
must beDISABLED
. You cannot delete an event data store ifTerminationProtectionEnabled
isTrue
or theFederationStatus
isENABLED
.After you run
DeleteEventDataStore
on an event data store, you cannot runListQueries
,DescribeQuery
, orGetQueryResults
on queries that are using an event data store in aPENDING_DELETION
state. An event data store in thePENDING_DELETION
state 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.EventDataStoreARNInvalidException
CloudTrail.Client.exceptions.EventDataStoreNotFoundException
CloudTrail.Client.exceptions.EventDataStoreTerminationProtectedException
CloudTrail.Client.exceptions.EventDataStoreHasOngoingImportException
CloudTrail.Client.exceptions.InactiveEventDataStoreException
CloudTrail.Client.exceptions.NotOrganizationMasterAccountException
CloudTrail.Client.exceptions.NoManagementAccountSLRExistsException
CloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionException
CloudTrail.Client.exceptions.EventDataStoreFederationEnabledException