Values.TerminateSessionResponseSourceTerminates an active session. A TerminateSession call on a session that is already inactive (for example, in a FAILED, TERMINATED or TERMINATING state) succeeds but has no effect. Calculations running in the session when TerminateSession is called are forcefully stopped, but may display as FAILED instead of STOPPED.
type nonrec t = {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.
*)}type nonrec error = [ | `InternalServerException of InternalServerException.t| `InvalidRequestException of InvalidRequestException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `InternalServerException of InternalServerException.t
| `InvalidRequestException of InvalidRequestException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `Unknown_operation_error of string * string option ]