Module Values.ServiceEventSource

The details for an event that's associated with a service.

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

    The ID string for the event.

    *)
  2. createdAt : Timestamp.t option;
    (*

    The Unix timestamp for the time when the event was triggered.

    *)
  3. message : String_.t option;
    (*

    The event message.

    *)
}
Sourceval make : ?id:??? -> ?createdAt:??? -> ?message:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.t | `Timestamp of Timestamp.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