Smaws_Client_EventBridge.CreatePartnerEventSource
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
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}
event_name is determined by the partner, and should uniquely identify an event-generating resource within the partner system.
The event_name must be unique across all Amazon Web Services customers. This is because the event source is a shared resource between the partner and customer accounts, and each partner event source unique in the partner account.
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.