Module Values.TerminateSessionResponseSource

Terminates the specified session. After you terminate a session, it enters the TERMINATING state and then the TERMINATED state. You can still access the Spark History Server for a terminated session through the GetResourceDashboard operation.

Sourcetype nonrec t = {
  1. applicationId : ApplicationId.t option;
    (*

    The output contains the application ID on which the session was terminated.

    *)
  2. sessionId : SessionId.t option;
    (*

    The output contains the ID of the terminated session.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `ResourceNotFoundException of ResourceNotFoundException.t
  3. | `ValidationException of ValidationException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?applicationId:??? -> ?sessionId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ApplicationId.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