Module Values.TerminateSessionRequestSource

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;
    (*

    The ID of the application that the session belongs to.

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

    The ID of the session to terminate.

    *)
}
Sourceval context_ : string
Sourceval make : applicationId:ApplicationId.t -> sessionId:SessionId.t -> unit -> 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