Smaws_Client_CloudTrail.DeleteEventDataStore
val request :
Smaws_Lib.Context.t ->
delete_event_data_store_request ->
(delete_event_data_store_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `ChannelExistsForEDSException of channel_exists_for_eds_exception
| `ConflictException of conflict_exception
| `EventDataStoreARNInvalidException of
event_data_store_arn_invalid_exception
| `EventDataStoreFederationEnabledException of
event_data_store_federation_enabled_exception
| `EventDataStoreHasOngoingImportException of
event_data_store_has_ongoing_import_exception
| `EventDataStoreNotFoundException of event_data_store_not_found_exception
| `EventDataStoreTerminationProtectedException of
event_data_store_termination_protected_exception
| `InactiveEventDataStoreException of inactive_event_data_store_exception
| `InsufficientDependencyServiceAccessPermissionException of
insufficient_dependency_service_access_permission_exception
| `InvalidParameterException of invalid_parameter_exception
| `NoManagementAccountSLRExistsException of
no_management_account_slr_exists_exception
| `NotOrganizationMasterAccountException of
not_organization_master_account_exception
| `OperationNotPermittedException of operation_not_permitted_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
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.