#[non_exhaustive]pub struct GetCommandInvocationInput {
pub command_id: Option<String>,
pub instance_id: Option<String>,
pub plugin_name: Option<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.command_id: Option<String>
(Required) The parent command ID of the invocation plugin.
instance_id: Option<String>
(Required) The ID of the managed node targeted by the command. A managed node can be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, and on-premises server or VM in your hybrid environment that is configured for Amazon Web Services Systems Manager.
plugin_name: Option<String>
The name of the step for which you want detailed results. If the document contains only one step, you can omit the name and details for that step. If the document contains more than one step, you must specify the name of the step for which you want to view details. Be sure to specify the name of the step, not the name of a plugin like aws:RunShellScript
.
To find the PluginName
, check the document content and find the name of the step you want details for. Alternatively, use ListCommandInvocations
with the CommandId
and Details
parameters. The PluginName
is the Name
attribute of the CommandPlugin
object in the CommandPlugins
list.
Implementations§
source§impl GetCommandInvocationInput
impl GetCommandInvocationInput
sourcepub fn command_id(&self) -> Option<&str>
pub fn command_id(&self) -> Option<&str>
(Required) The parent command ID of the invocation plugin.
sourcepub fn instance_id(&self) -> Option<&str>
pub fn instance_id(&self) -> Option<&str>
(Required) The ID of the managed node targeted by the command. A managed node can be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, and on-premises server or VM in your hybrid environment that is configured for Amazon Web Services Systems Manager.
sourcepub fn plugin_name(&self) -> Option<&str>
pub fn plugin_name(&self) -> Option<&str>
The name of the step for which you want detailed results. If the document contains only one step, you can omit the name and details for that step. If the document contains more than one step, you must specify the name of the step for which you want to view details. Be sure to specify the name of the step, not the name of a plugin like aws:RunShellScript
.
To find the PluginName
, check the document content and find the name of the step you want details for. Alternatively, use ListCommandInvocations
with the CommandId
and Details
parameters. The PluginName
is the Name
attribute of the CommandPlugin
object in the CommandPlugins
list.
source§impl GetCommandInvocationInput
impl GetCommandInvocationInput
sourcepub fn builder() -> GetCommandInvocationInputBuilder
pub fn builder() -> GetCommandInvocationInputBuilder
Creates a new builder-style object to manufacture GetCommandInvocationInput
.
Trait Implementations§
source§impl Clone for GetCommandInvocationInput
impl Clone for GetCommandInvocationInput
source§fn clone(&self) -> GetCommandInvocationInput
fn clone(&self) -> GetCommandInvocationInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetCommandInvocationInput
impl Debug for GetCommandInvocationInput
source§impl PartialEq for GetCommandInvocationInput
impl PartialEq for GetCommandInvocationInput
source§fn eq(&self, other: &GetCommandInvocationInput) -> bool
fn eq(&self, other: &GetCommandInvocationInput) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GetCommandInvocationInput
Auto Trait Implementations§
impl Freeze for GetCommandInvocationInput
impl RefUnwindSafe for GetCommandInvocationInput
impl Send for GetCommandInvocationInput
impl Sync for GetCommandInvocationInput
impl Unpin for GetCommandInvocationInput
impl UnwindSafe for GetCommandInvocationInput
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> 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