#[non_exhaustive]pub struct StartSessionOutputBuilder { /* private fields */ }
Expand description
A builder for StartSessionOutput
.
Implementations§
source§impl StartSessionOutputBuilder
impl StartSessionOutputBuilder
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The ID of the session.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The ID of the session.
sourcepub fn token_value(self, input: impl Into<String>) -> Self
pub fn token_value(self, input: impl Into<String>) -> Self
An encrypted token value containing session and caller information. This token is used to authenticate the connection to the managed node, and is valid only long enough to ensure the connection is successful. Never share your session's token.
sourcepub fn set_token_value(self, input: Option<String>) -> Self
pub fn set_token_value(self, input: Option<String>) -> Self
An encrypted token value containing session and caller information. This token is used to authenticate the connection to the managed node, and is valid only long enough to ensure the connection is successful. Never share your session's token.
sourcepub fn stream_url(self, input: impl Into<String>) -> Self
pub fn stream_url(self, input: impl Into<String>) -> Self
A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and receive output from the node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)
region represents the Region identifier for an Amazon Web Services Region supported by Amazon Web Services Systems Manager, such as us-east-2
for the US East (Ohio) Region. For a list of supported region values, see the Region column in Systems Manager service endpoints in the Amazon Web Services General Reference.
session-id represents the ID of a Session Manager session, such as 1a2b3c4dEXAMPLE
.
sourcepub fn set_stream_url(self, input: Option<String>) -> Self
pub fn set_stream_url(self, input: Option<String>) -> Self
A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and receive output from the node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output)
region represents the Region identifier for an Amazon Web Services Region supported by Amazon Web Services Systems Manager, such as us-east-2
for the US East (Ohio) Region. For a list of supported region values, see the Region column in Systems Manager service endpoints in the Amazon Web Services General Reference.
session-id represents the ID of a Session Manager session, such as 1a2b3c4dEXAMPLE
.
sourcepub fn build(self) -> StartSessionOutput
pub fn build(self) -> StartSessionOutput
Consumes the builder and constructs a StartSessionOutput
.
Trait Implementations§
source§impl Clone for StartSessionOutputBuilder
impl Clone for StartSessionOutputBuilder
source§fn clone(&self) -> StartSessionOutputBuilder
fn clone(&self) -> StartSessionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartSessionOutputBuilder
impl Debug for StartSessionOutputBuilder
source§impl Default for StartSessionOutputBuilder
impl Default for StartSessionOutputBuilder
source§fn default() -> StartSessionOutputBuilder
fn default() -> StartSessionOutputBuilder
source§impl PartialEq<StartSessionOutputBuilder> for StartSessionOutputBuilder
impl PartialEq<StartSessionOutputBuilder> for StartSessionOutputBuilder
source§fn eq(&self, other: &StartSessionOutputBuilder) -> bool
fn eq(&self, other: &StartSessionOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.