Module Smaws_Client_EventBridge.CreatePartnerEventSource

Called by an SaaS partner to create a partner event source. This operation is not used by Amazon Web Services customers.

Each partner event source can be used by one Amazon Web Services account to create a matching partner event bus in that Amazon Web Services account. A SaaS partner must create one partner event source for each Amazon Web Services account that wants to receive those event types.

A partner event source creates events based on resources within the SaaS partner's service or application.

An Amazon Web Services account that creates a partner event bus that matches the partner event source can use that event bus to receive events from the partner, and then process them using Amazon Web Services Events rules and targets.

Partner event source names follow this format:

 {i partner_name}/{i event_namespace}/{i event_name} 

The combination of event_namespace and event_name should help Amazon Web Services customers decide whether to create an event bus to receive these events.

val request : Smaws_Lib.Context.t -> create_partner_event_source_request -> (create_partner_event_source_response, [> Smaws_Lib.Protocols.AwsJson.error | `ConcurrentModificationException of concurrent_modification_exception | `InternalException of internal_exception | `LimitExceededException of limit_exceeded_exception | `OperationDisabledException of operation_disabled_exception | `ResourceAlreadyExistsException of resource_already_exists_exception ]) Stdlib.result