Module Values_1.SessionSource

The period in which a remote Spark runtime environment is running.

Sourcetype nonrec t = {
  1. id : Values_0.NameString.t option;
    (*

    The ID of the session.

    *)
  2. createdOn : Values_0.TimestampValue.t option;
    (*

    The time and date when the session was created.

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

    The session status.

    *)
  4. errorMessage : Values_0.DescriptionString.t option;
    (*

    The error message displayed during the session.

    *)
  5. description : Values_0.DescriptionString.t option;
    (*

    The description of the session.

    *)
  6. role : OrchestrationRoleArn.t option;
    (*

    The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.

    *)
  7. command : SessionCommand.t option;
    (*

    The command object.See SessionCommand.

    *)
  8. defaultArguments : OrchestrationArgumentsMap.t option;
    (*

    A map array of key-value pairs. Max is 75 pairs.

    *)
  9. connections : Values_0.ConnectionsList.t option;
    (*

    The number of connections used for the session.

    *)
  10. progress : DoubleValue.t option;
    (*

    The code execution progress of the session.

    *)
  11. maxCapacity : Values_0.NullableDouble.t option;
    (*

    The number of Glue data processing units (DPUs) that can be allocated when the job runs. A DPU is a relative measure of processing power that consists of 4 vCPUs of compute capacity and 16 GB memory.

    *)
  12. securityConfiguration : Values_0.NameString.t option;
    (*

    The name of the SecurityConfiguration structure to be used with the session.

    *)
  13. glueVersion : Values_0.GlueVersionString.t option;
    (*

    The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.

    *)
  14. numberOfWorkers : Values_0.NullableInteger.t option;
    (*

    The number of workers of a defined WorkerType to use for the session.

    *)
  15. workerType : Values_0.WorkerType.t option;
    (*

    The type of predefined worker that is allocated when a session runs. Accepts a value of G.1X, G.2X, G.4X, or G.8X for Spark sessions. Accepts the value Z.2X for Ray sessions.

    *)
  16. completedOn : Values_0.TimestampValue.t option;
    (*

    The date and time that this session is completed.

    *)
  17. executionTime : Values_0.NullableDouble.t option;
    (*

    The total time the session ran for.

    *)
  18. dPUSeconds : Values_0.NullableDouble.t option;
    (*

    The DPUs consumed by the session (formula: ExecutionTime * MaxCapacity).

    *)
  19. idleTimeout : IdleTimeout.t option;
    (*

    The number of minutes when idle before the session times out.

    *)
  20. profileName : Values_0.NameString.t option;
    (*

    The name of an Glue usage profile associated with the session.

    *)
}
Sourceval make : ?id:??? -> ?createdOn:??? -> ?status:??? -> ?errorMessage:??? -> ?description:??? -> ?role:??? -> ?command:??? -> ?defaultArguments:??? -> ?connections:??? -> ?progress:??? -> ?maxCapacity:??? -> ?securityConfiguration:??? -> ?glueVersion:??? -> ?numberOfWorkers:??? -> ?workerType:??? -> ?completedOn:??? -> ?executionTime:??? -> ?dPUSeconds:??? -> ?idleTimeout:??? -> ?profileName:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of DoubleValue.t | `Enum of string | `Integer of Values_0.NullableInteger.t | `Map of ([> `String of Values_0.OrchestrationNameString.t ] * [> `String of OrchestrationArgumentsValue.t ]) list | `String of Values_0.NameString.t | `Structure of (string * [> `List of [> `String of string ] list | `String of Values_0.NameString.t ]) list | `Timestamp of Values_0.TimestampValue.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