Smaws_Client_CloudTrail.RestoreEventDataStore
val request :
Smaws_Lib.Context.t ->
restore_event_data_store_request ->
(restore_event_data_store_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailAccessNotEnabledException of
cloud_trail_access_not_enabled_exception
| `EventDataStoreARNInvalidException of
event_data_store_arn_invalid_exception
| `EventDataStoreMaxLimitExceededException of
event_data_store_max_limit_exceeded_exception
| `EventDataStoreNotFoundException of event_data_store_not_found_exception
| `InsufficientDependencyServiceAccessPermissionException of
insufficient_dependency_service_access_permission_exception
| `InvalidEventDataStoreStatusException of
invalid_event_data_store_status_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
| `OrganizationNotInAllFeaturesModeException of
organization_not_in_all_features_mode_exception
| `OrganizationsNotInUseException of organizations_not_in_use_exception
| `UnsupportedOperationException of unsupported_operation_exception ])
Stdlib.result
Restores a deleted event data store specified by EventDataStore
, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.