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_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.InvalidParameterExceptionCloudTrail.Client.exceptions.OperationNotPermittedExceptionCloudTrail.Client.exceptions.UnsupportedOperationExceptionCloudTrail.Client.exceptions.NotOrganizationMasterAccountExceptionCloudTrail.Client.exceptions.NoManagementAccountSLRExistsExceptionCloudTrail.Client.exceptions.ChannelExistsForEDSExceptionCloudTrail.Client.exceptions.InsufficientDependencyServiceAccessPermissionExceptionCloudTrail.Client.exceptions.ConflictExceptionCloudTrail.Client.exceptions.EventDataStoreFederationEnabledException