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