Session
¶
Source code in docs_src/capo_glue/types/session.py
command
instance-attribute
¶
command: NotRequired[SessionCommand]
The command object.See SessionCommand.
completed_on
instance-attribute
¶
completed_on: NotRequired[TimestampValue]
The date and time that this session is completed.
connections
instance-attribute
¶
connections: NotRequired[ConnectionsList]
The number of connections used for the session.
created_on
instance-attribute
¶
created_on: NotRequired[TimestampValue]
The time and date when the session was created.
default_arguments
instance-attribute
¶
default_arguments: NotRequired[OrchestrationArgumentsMap]
A map array of key-value pairs. Max is 75 pairs.
description
instance-attribute
¶
description: NotRequired[DescriptionString]
The description of the session.
dpu_seconds
instance-attribute
¶
dpu_seconds: NotRequired[NullableDouble]
The DPUs consumed by the session (formula: ExecutionTime * MaxCapacity).
error_message
instance-attribute
¶
error_message: NotRequired[DescriptionString]
The error message displayed during the session.
execution_time
instance-attribute
¶
execution_time: NotRequired[NullableDouble]
The total time the session ran for.
glue_version
instance-attribute
¶
glue_version: NotRequired[GlueVersionString]
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
idle_timeout
instance-attribute
¶
idle_timeout: NotRequired[IdleTimeout]
The number of minutes when idle before the session times out.
max_capacity
instance-attribute
¶
max_capacity: NotRequired[NullableDouble]
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.
number_of_workers
instance-attribute
¶
number_of_workers: NotRequired[NullableInteger]
The number of workers of a defined WorkerType to use for the session.
profile_name
instance-attribute
¶
profile_name: NotRequired[NameString]
The name of an Glue usage profile associated with the session.
role
instance-attribute
¶
role: NotRequired[OrchestrationRoleArn]
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
security_configuration
instance-attribute
¶
security_configuration: NotRequired[NameString]
The name of the SecurityConfiguration structure to be used with the session.
worker_type
instance-attribute
¶
worker_type: NotRequired[WorkerType]
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.