Struct aws_sdk_ssm::types::Session
source · #[non_exhaustive]pub struct Session { /* private fields */ }Expand description
Information about a Session Manager connection to a managed node.
Implementations§
source§impl Session
impl Session
sourcepub fn session_id(&self) -> Option<&str>
pub fn session_id(&self) -> Option<&str>
The ID of the session.
sourcepub fn target(&self) -> Option<&str>
pub fn target(&self) -> Option<&str>
The managed node that the Session Manager session connected to.
sourcepub fn status(&self) -> Option<&SessionStatus>
pub fn status(&self) -> Option<&SessionStatus>
The status of the session. For example, "Connected" or "Terminated".
sourcepub fn start_date(&self) -> Option<&DateTime>
pub fn start_date(&self) -> Option<&DateTime>
The date and time, in ISO-8601 Extended format, when the session began.
sourcepub fn end_date(&self) -> Option<&DateTime>
pub fn end_date(&self) -> Option<&DateTime>
The date and time, in ISO-8601 Extended format, when the session was terminated.
sourcepub fn document_name(&self) -> Option<&str>
pub fn document_name(&self) -> Option<&str>
The name of the Session Manager SSM document used to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell.
sourcepub fn owner(&self) -> Option<&str>
pub fn owner(&self) -> Option<&str>
The ID of the Amazon Web Services user account that started the session.
sourcepub fn output_url(&self) -> Option<&SessionManagerOutputUrl>
pub fn output_url(&self) -> Option<&SessionManagerOutputUrl>
Reserved for future use.
sourcepub fn max_session_duration(&self) -> Option<&str>
pub fn max_session_duration(&self) -> Option<&str>
The maximum duration of a session before it terminates.