Module Values.WorkerSessionSummarySource

Summarizes the session for a particular worker.

Sourcetype nonrec t = {
  1. sessionId : SessionId.t option;
    (*

    The session ID for the session action.

    *)
  2. queueId : QueueId.t option;
    (*

    The queue ID for the queue associated to the worker.

    *)
  3. jobId : JobId.t option;
    (*

    The job ID for the job associated with the worker's session.

    *)
  4. startedAt : StartedAt.t option;
    (*

    The date and time the resource started running.

    *)
  5. lifecycleStatus : SessionLifecycleStatus.t option;
    (*

    The life cycle status for the worker's session.

    *)
  6. endedAt : EndedAt.t option;
    (*

    The date and time the resource ended running.

    *)
  7. targetLifecycleStatus : SessionLifecycleTargetStatus.t option;
    (*

    The life cycle status

    *)
}
Sourceval make : ?sessionId:??? -> ?queueId:??? -> ?jobId:??? -> ?startedAt:??? -> ?lifecycleStatus:??? -> ?endedAt:??? -> ?targetLifecycleStatus:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of SessionId.t | `Timestamp of StartedAt.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