Smaws_Client_CloudTrail.RestoreEventDataStore
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.
val request :
Smaws_Lib.Context.t ->
Types.restore_event_data_store_request ->
(Types.restore_event_data_store_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `CloudTrailAccessNotEnabledException of
Types.cloud_trail_access_not_enabled_exception
| `EventDataStoreARNInvalidException of
Types.event_data_store_arn_invalid_exception
| `EventDataStoreMaxLimitExceededException of
Types.event_data_store_max_limit_exceeded_exception
| `EventDataStoreNotFoundException of
Types.event_data_store_not_found_exception
| `InsufficientDependencyServiceAccessPermissionException of
Types.insufficient_dependency_service_access_permission_exception
| `InvalidEventDataStoreStatusException of
Types.invalid_event_data_store_status_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
| `OrganizationNotInAllFeaturesModeException of
Types.organization_not_in_all_features_mode_exception
| `OrganizationsNotInUseException of
Types.organizations_not_in_use_exception
| `UnsupportedOperationException of Types.unsupported_operation_exception ])
Stdlib.result