Module Values.GetSessionResponseSource

Gets the full details of a previously created session, including the session status and configuration.

Sourcetype nonrec t = {
  1. sessionId : SessionId.t option;
    (*

    The session ID.

    *)
  2. description : DescriptionString.t option;
    (*

    The session description.

    *)
  3. workGroup : WorkGroupName.t option;
    (*

    The workgroup to which the session belongs.

    *)
  4. engineVersion : NameString.t option;
    (*

    The engine version used by the session (for example, PySpark engine version 3). You can get a list of engine versions by calling ListEngineVersions.

    *)
  5. engineConfiguration : EngineConfiguration.t option;
    (*

    Contains engine configuration information like DPU usage.

    *)
  6. notebookVersion : NameString.t option;
    (*

    The notebook version.

    *)
  7. monitoringConfiguration : MonitoringConfiguration.t option;
  8. sessionConfiguration : SessionConfiguration.t option;
    (*

    Contains the workgroup configuration information used by the session.

    *)
  9. status : SessionStatus.t option;
    (*

    Contains information about the status of the session.

    *)
  10. statistics : SessionStatistics.t option;
    (*

    Contains the DPU execution time.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalServerException of InternalServerException.t
  2. | `InvalidRequestException of InvalidRequestException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?sessionId:??? -> ?description:??? -> ?workGroup:??? -> ?engineVersion:??? -> ?engineConfiguration:??? -> ?notebookVersion:??? -> ?monitoringConfiguration:??? -> ?sessionConfiguration:??? -> ?status:??? -> ?statistics:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of SessionId.t | `Structure of (string * [> `Enum of string | `Integer of CoordinatorDpuSize.t | `List of [> `Structure of (string * [> `Map of ([> `String of KeyString.t ] * [> `String of ParametersMapValue.t ]) list | `String of NameString.t ]) list ] list | `Long of Long.t | `Map of ([> `String of KeyString.t ] * [> `String of ParametersMapValue.t ]) list | `String of RoleArn.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of LogTypeKey.t ] * [> `List of [> `String of LogTypeValue.t ] list ]) list | `String of LogGroupName.t ]) list | `Timestamp of Date.t ]) list ]) 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