Module Smaws_Client_CloudTrail.StopEventDataStoreIngestion

Stops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store Status must be ENABLED and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.

val request : Smaws_Lib.Context.t -> Types.stop_event_data_store_ingestion_request -> (Types.stop_event_data_store_ingestion_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConflictException of Types.conflict_exception | `EventDataStoreARNInvalidException of Types.event_data_store_arn_invalid_exception | `EventDataStoreNotFoundException of Types.event_data_store_not_found_exception | `InsufficientDependencyServiceAccessPermissionException of Types.insufficient_dependency_service_access_permission_exception | `InvalidEventDataStoreCategoryException of Types.invalid_event_data_store_category_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 | `UnsupportedOperationException of Types.unsupported_operation_exception ]) Stdlib.result