Session
¶
Source code in docs_src/capo_emr/types/session.py
account_id
instance-attribute
¶
account_id: NotRequired[XmlStringMaxLen256]
The Amazon Web Services account ID that owns the session.
cluster_id
instance-attribute
¶
cluster_id: NotRequired[ClusterId]
The ID of the cluster that the session belongs to.
created_at
instance-attribute
¶
created_at: NotRequired[Date]
The date and time that the session was created.
ended_at
instance-attribute
¶
ended_at: NotRequired[Date]
The date and time that the session was terminated or failed.
engine_configurations
instance-attribute
¶
engine_configurations: NotRequired[ConfigurationList]
The configuration overrides for the session. Only runtime configuration overrides are supported.
execution_role_arn
instance-attribute
¶
execution_role_arn: NotRequired[IAMRoleArn]
The execution role ARN for the session. Amazon EMR uses this role to access Amazon Web Services resources on your behalf during session execution.
idle_since
instance-attribute
¶
idle_since: NotRequired[Date]
The date and time that the session last entered the IDLE state.
monitoring_configuration
instance-attribute
¶
monitoring_configuration: NotRequired[SessionMonitoringConfiguration]
The monitoring configuration for the session.
name
instance-attribute
¶
name: NotRequired[XmlStringMaxLen256]
The name of the session, if one was provided at creation time.
release_label
instance-attribute
¶
release_label: NotRequired[XmlStringMaxLen256]
The Amazon EMR release label of the cluster that the session is running on.
server_url
instance-attribute
¶
server_url: NotRequired[XmlString]
The Spark Connect server URL for the session. Use this URL with the Credentials returned by GetSessionEndpoint to connect directly to the session over VPC peering.
session_idle_timeout_in_minutes
instance-attribute
¶
session_idle_timeout_in_minutes: NotRequired[Long]
The idle timeout, in minutes. If the session is idle for this duration, Amazon EMR automatically terminates it.
started_at
instance-attribute
¶
started_at: NotRequired[Date]
The date and time that the session entered the STARTED state.
state
instance-attribute
¶
state: NotRequired[SessionState]
The current state of the session. Valid values are SUBMITTED, STARTING, STARTED, IDLE, BUSY, TERMINATING, TERMINATED, and FAILED.