Smaws_Client_EventBridge.DeactivateEventSource
val request :
Smaws_Lib.Context.t ->
deactivate_event_source_request ->
(unit,
[> Smaws_Lib.Protocols.AwsJson.error
| `ConcurrentModificationException of concurrent_modification_exception
| `InternalException of internal_exception
| `InvalidStateException of invalid_state_exception
| `OperationDisabledException of operation_disabled_exception
| `ResourceNotFoundException of resource_not_found_exception ])
Stdlib.result
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.