#[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 ==.