Module Values.CreatePartnerEventSourceResponseSource

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: partner_name/event_namespace/event_name partner_name is determined during partner registration, and identifies the partner to Amazon Web Services customers. event_namespace is determined by the partner, and is a way for the partner to categorize their events. 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.

Sourcetype nonrec t = {
  1. eventSourceArn : String_.t option;
    (*

    The ARN of the partner event source.

    *)
}
Sourcetype nonrec error = [
  1. | `ConcurrentModificationException of ConcurrentModificationException.t
  2. | `InternalException of InternalException.t
  3. | `LimitExceededException of LimitExceededException.t
  4. | `OperationDisabledException of OperationDisabledException.t
  5. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?eventSourceArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ConcurrentModificationException of unit | `InternalException of unit | `LimitExceededException of unit | `OperationDisabledException of unit | `ResourceAlreadyExistsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ConcurrentModificationException of unit | `InternalException of unit | `LimitExceededException of unit | `OperationDisabledException of unit | `ResourceAlreadyExistsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t