Struct aws_sdk_glue::model::Session
source · #[non_exhaustive]pub struct Session { /* private fields */ }Expand description
The period in which a remote Spark runtime environment is running.
Implementations§
source§impl Session
impl Session
sourcepub fn created_on(&self) -> Option<&DateTime>
pub fn created_on(&self) -> Option<&DateTime>
The time and date when the session was created.
sourcepub fn status(&self) -> Option<&SessionStatus>
pub fn status(&self) -> Option<&SessionStatus>
The session status.
sourcepub fn error_message(&self) -> Option<&str>
pub fn error_message(&self) -> Option<&str>
The error message displayed during the session.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the session.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
sourcepub fn command(&self) -> Option<&SessionCommand>
pub fn command(&self) -> Option<&SessionCommand>
The command object.See SessionCommand.
sourcepub fn default_arguments(&self) -> Option<&HashMap<String, String>>
pub fn default_arguments(&self) -> Option<&HashMap<String, String>>
A map array of key-value pairs. Max is 75 pairs.
sourcepub fn connections(&self) -> Option<&ConnectionsList>
pub fn connections(&self) -> Option<&ConnectionsList>
The number of connections used for the session.
sourcepub fn max_capacity(&self) -> Option<f64>
pub fn max_capacity(&self) -> Option<f64>
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.
sourcepub fn security_configuration(&self) -> Option<&str>
pub fn security_configuration(&self) -> Option<&str>
The name of the SecurityConfiguration structure to be used with the session.
sourcepub fn glue_version(&self) -> Option<&str>
pub fn glue_version(&self) -> Option<&str>
The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.