Values.SessionStatusSourceContains information about the status of a session.
type nonrec t = {startDateTime : Date.t option;The date and time that the session started.
*)lastModifiedDateTime : Date.t option;The most recent date and time that the session was modified.
*)endDateTime : Date.t option;The date and time that the session ended.
*)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.
*)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.
*)stateChangeReason : DescriptionString.t option;The reason for the session state change (for example, canceled because the session was terminated).
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `String of DescriptionString.t
| `Timestamp of Date.t ])
list ]