Struct aws_sdk_ssm::input::StartSessionInput
source · [−]#[non_exhaustive]pub struct StartSessionInput {
pub target: Option<String>,
pub document_name: Option<String>,
pub reason: Option<String>,
pub parameters: Option<HashMap<String, Vec<String>>>,
}
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.target: Option<String>
The managed node to connect to for the session.
document_name: Option<String>
The name of the SSM document to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell
. You can call the GetDocument
API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the managed node is launched by default.
reason: Option<String>
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.
parameters: Option<HashMap<String, Vec<String>>>
Reserved for future use.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartSession, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartSession, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<StartSession
>
Creates a new builder-style object to manufacture StartSessionInput
The name of the SSM document to define the parameters and plugin settings for the session. For example, SSM-SessionManagerRunShell
. You can call the GetDocument
API to verify the document exists before attempting to start a session. If no document name is provided, a shell to the managed node is launched by default.
The reason for connecting to the instance. This value is included in the details for the Amazon CloudWatch Events event created when you start the session.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for StartSessionInput
impl Send for StartSessionInput
impl Sync for StartSessionInput
impl Unpin for StartSessionInput
impl UnwindSafe for StartSessionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more