Module Values.PutPartnerEventsRequestEntrySource

The details about an event generated by an SaaS partner.

Sourcetype nonrec t = {
  1. time : EventTime.t option;
    (*

    The date and time of the event.

    *)
  2. source : EventSourceName.t option;
    (*

    The event source that is generating the entry. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

    *)
  3. resources : EventResourceList.t option;
    (*

    Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

    *)
  4. detailType : String_.t option;
    (*

    A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

    *)
  5. detail : String_.t option;
    (*

    A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested sub-objects. Detail, DetailType, and Source are required for EventBridge to successfully send an event to an event bus. If you include event entries in a request that do not include each of those properties, EventBridge fails that entry. If you submit a request in which none of the entries have each of these properties, EventBridge fails the entire request.

    *)
}
Sourceval make : ?time:??? -> ?source:??? -> ?resources:??? -> ?detailType:??? -> ?detail:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of EventResource.t ] list | `String of EventSourceName.t | `Timestamp of EventTime.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