Struct aws_sdk_glue::types::Session
source · #[non_exhaustive]pub struct Session {Show 13 fields
pub id: Option<String>,
pub created_on: Option<DateTime>,
pub status: Option<SessionStatus>,
pub error_message: Option<String>,
pub description: Option<String>,
pub role: Option<String>,
pub command: Option<SessionCommand>,
pub default_arguments: Option<HashMap<String, String>>,
pub connections: Option<ConnectionsList>,
pub progress: f64,
pub max_capacity: Option<f64>,
pub security_configuration: Option<String>,
pub glue_version: Option<String>,
}Expand description
The period in which a remote Spark runtime environment is running.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>The ID of the session.
created_on: Option<DateTime>The time and date when the session was created.
status: Option<SessionStatus>The session status.
error_message: Option<String>The error message displayed during the session.
description: Option<String>The description of the session.
role: Option<String>The name or Amazon Resource Name (ARN) of the IAM role associated with the Session.
command: Option<SessionCommand>The command object.See SessionCommand.
default_arguments: Option<HashMap<String, String>>A map array of key-value pairs. Max is 75 pairs.
connections: Option<ConnectionsList>The number of connections used for the session.
progress: f64The code execution progress of the session.
max_capacity: 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.
security_configuration: Option<String>The name of the SecurityConfiguration structure to be used with the session.
glue_version: Option<String>The Glue version determines the versions of Apache Spark and Python that Glue supports. The GlueVersion must be greater than 2.0.
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.