Struct aws_sdk_athena::operation::start_session::StartSessionOutput
source · #[non_exhaustive]pub struct StartSessionOutput {
pub session_id: Option<String>,
pub state: Option<SessionState>,
/* private fields */
}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.session_id: Option<String>The session ID.
state: Option<SessionState>The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
Implementations§
source§impl StartSessionOutput
impl StartSessionOutput
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
The session ID.
sourcepub fn state(&self) -> Option<&SessionState>
pub fn state(&self) -> Option<&SessionState>
The state of the session. A description of each state follows.
CREATING - The session is being started, including acquiring resources.
CREATED - The session has been started.
IDLE - The session is able to accept a calculation.
BUSY - The session is processing another task and is unable to accept a calculation.
TERMINATING - The session is in the process of shutting down.
TERMINATED - The session and its resources are no longer running.
DEGRADED - The session has no healthy coordinators.
FAILED - Due to a failure, the session and its resources are no longer running.
source§impl StartSessionOutput
impl StartSessionOutput
sourcepub fn builder() -> StartSessionOutputBuilder
pub fn builder() -> StartSessionOutputBuilder
Creates a new builder-style object to manufacture StartSessionOutput.
Trait Implementations§
source§impl Clone for StartSessionOutput
impl Clone for StartSessionOutput
source§fn clone(&self) -> StartSessionOutput
fn clone(&self) -> StartSessionOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartSessionOutput
impl Debug for StartSessionOutput
source§impl PartialEq for StartSessionOutput
impl PartialEq for StartSessionOutput
source§fn eq(&self, other: &StartSessionOutput) -> bool
fn eq(&self, other: &StartSessionOutput) -> bool
self and other values to be equal, and is used
by ==.source§impl RequestId for StartSessionOutput
impl RequestId for StartSessionOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.