Struct aws_sdk_ssm::operation::start_session::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 you want to use to define the type of session, input parameters, or preferences 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. For more information, see Start a session in the Amazon Web Services Systems Manager User Guide.
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>>>
The values you want to specify for the parameters defined in the Session document.
Implementations§
source§impl StartSessionInput
impl StartSessionInput
sourcepub fn document_name(&self) -> Option<&str>
pub fn document_name(&self) -> Option<&str>
The name of the SSM document you want to use to define the type of session, input parameters, or preferences 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. For more information, see Start a session in the Amazon Web Services Systems Manager User Guide.
source§impl StartSessionInput
impl StartSessionInput
sourcepub fn builder() -> StartSessionInputBuilder
pub fn builder() -> StartSessionInputBuilder
Creates a new builder-style object to manufacture StartSessionInput
.
Trait Implementations§
source§impl Clone for StartSessionInput
impl Clone for StartSessionInput
source§fn clone(&self) -> StartSessionInput
fn clone(&self) -> StartSessionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StartSessionInput
impl Debug for StartSessionInput
source§impl PartialEq for StartSessionInput
impl PartialEq for StartSessionInput
impl StructuralPartialEq for StartSessionInput
Auto Trait Implementations§
impl Freeze for StartSessionInput
impl RefUnwindSafe for StartSessionInput
impl Send for StartSessionInput
impl Sync for StartSessionInput
impl Unpin for StartSessionInput
impl UnwindSafe for StartSessionInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more