Module Smaws_Client_EventBridge.DeactivateEventSource

You can use this operation to temporarily stop receiving events from the specified partner event source. The matching event bus is not deleted.

When you deactivate a partner event source, the source goes into PENDING state. If it remains in PENDING state for more than two weeks, it is deleted.

To activate a deactivated partner event source, use ActivateEventSource.

val request : Smaws_Lib.Context.t -> Types.deactivate_event_source_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of Types.concurrent_modification_exception | `InternalException of Types.internal_exception | `InvalidStateException of Types.invalid_state_exception | `OperationDisabledException of Types.operation_disabled_exception | `ResourceNotFoundException of Types.resource_not_found_exception ]) Stdlib.result