Module Values.StreamSessionSummarySource

Summary information about a stream session.

Sourcetype nonrec t = {
  1. streamId : StreamId.t option;
    (*

    Unique identifier for a live or previously live stream in the specified channel.

    *)
  2. startTime : Time.t option;
    (*

    Time when the channel went live. This is an ISO 8601 timestamp; note that this is returned as a string.

    *)
  3. endTime : Time.t option;
    (*

    Time when the channel went offline. This is an ISO 8601 timestamp; note that this is returned as a string. For live streams, this is NULL.

    *)
  4. hasErrorEvent : Boolean.t option;
    (*

    If true, this stream encountered a quota breach or failure.

    *)
}
Sourceval make : ?streamId:??? -> ?startTime:??? -> ?endTime:??? -> ?hasErrorEvent:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of StreamId.t | `Timestamp of Time.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