Struct aws_sdk_ssm::input::GetCommandInvocationInput
source · [−]#[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 plugin for which you want detailed results. If the document contains only one plugin, you can omit the name and details for that plugin. If the document contains more than one plugin, you must specify the name of the plugin for which you want to view details.
Plugin names are also referred to as step names in Systems Manager documents (SSM documents). For example, aws:RunShellScript
is a plugin.
To find the PluginName
, check the document content and find the name of the plugin. Alternatively, use ListCommandInvocations
with the CommandId
and Details
parameters. The PluginName
is the Name
attribute of the CommandPlugin
object in the CommandPlugins
list.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCommandInvocation, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCommandInvocation, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetCommandInvocation
>
Creates a new builder-style object to manufacture GetCommandInvocationInput
(Required) The parent command ID of the invocation plugin.
(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.
The name of the plugin for which you want detailed results. If the document contains only one plugin, you can omit the name and details for that plugin. If the document contains more than one plugin, you must specify the name of the plugin for which you want to view details.
Plugin names are also referred to as step names in Systems Manager documents (SSM documents). For example, aws:RunShellScript
is a plugin.
To find the PluginName
, check the document content and find the name of the plugin. Alternatively, use ListCommandInvocations
with the CommandId
and Details
parameters. The PluginName
is the Name
attribute of the CommandPlugin
object in the CommandPlugins
list.
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 GetCommandInvocationInput
impl Send for GetCommandInvocationInput
impl Sync for GetCommandInvocationInput
impl Unpin for GetCommandInvocationInput
impl UnwindSafe for GetCommandInvocationInput
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