Module Values.SessionStatusSource

Contains information about the status of a session.

Sourcetype nonrec t = {
  1. startDateTime : Date.t option;
    (*

    The date and time that the session started.

    *)
  2. lastModifiedDateTime : Date.t option;
    (*

    The most recent date and time that the session was modified.

    *)
  3. endDateTime : Date.t option;
    (*

    The date and time that the session ended.

    *)
  4. idleSinceDateTime : Date.t option;
    (*

    The date and time starting at which the session became idle. Can be empty if the session is not currently idle.

    *)
  5. state : SessionState.t option;
    (*

    The state of the session. A description of each state follows. CREATING - The session is being started, including acquiring resources. CREATED - The session has been started. IDLE - The session is able to accept a calculation. BUSY - The session is processing another task and is unable to accept a calculation. TERMINATING - The session is in the process of shutting down. TERMINATED - The session and its resources are no longer running. DEGRADED - The session has no healthy coordinators. FAILED - Due to a failure, the session and its resources are no longer running.

    *)
  6. stateChangeReason : DescriptionString.t option;
    (*

    The reason for the session state change (for example, canceled because the session was terminated).

    *)
}
Sourceval make : ?startDateTime:??? -> ?lastModifiedDateTime:??? -> ?endDateTime:??? -> ?idleSinceDateTime:??? -> ?state:??? -> ?stateChangeReason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of DescriptionString.t | `Timestamp of Date.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