Struct aws_sdk_ssm::operation::get_command_invocation::builders::GetCommandInvocationInputBuilder
source · #[non_exhaustive]pub struct GetCommandInvocationInputBuilder { /* private fields */ }
Expand description
A builder for GetCommandInvocationInput
.
Implementations§
source§impl GetCommandInvocationInputBuilder
impl GetCommandInvocationInputBuilder
sourcepub fn command_id(self, input: impl Into<String>) -> Self
pub fn command_id(self, input: impl Into<String>) -> Self
(Required) The parent command ID of the invocation plugin.
This field is required.sourcepub fn set_command_id(self, input: Option<String>) -> Self
pub fn set_command_id(self, input: Option<String>) -> Self
(Required) The parent command ID of the invocation plugin.
sourcepub fn get_command_id(&self) -> &Option<String>
pub fn get_command_id(&self) -> &Option<String>
(Required) The parent command ID of the invocation plugin.
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
(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.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
(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 get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &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.
sourcepub fn plugin_name(self, input: impl Into<String>) -> Self
pub fn plugin_name(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_plugin_name(self, input: Option<String>) -> Self
pub fn set_plugin_name(self, input: Option<String>) -> Self
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.
sourcepub fn get_plugin_name(&self) -> &Option<String>
pub fn get_plugin_name(&self) -> &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.
sourcepub fn build(self) -> Result<GetCommandInvocationInput, BuildError>
pub fn build(self) -> Result<GetCommandInvocationInput, BuildError>
Consumes the builder and constructs a GetCommandInvocationInput
.
source§impl GetCommandInvocationInputBuilder
impl GetCommandInvocationInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetCommandInvocationOutput, SdkError<GetCommandInvocationError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetCommandInvocationOutput, SdkError<GetCommandInvocationError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetCommandInvocationInputBuilder
impl Clone for GetCommandInvocationInputBuilder
source§fn clone(&self) -> GetCommandInvocationInputBuilder
fn clone(&self) -> GetCommandInvocationInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetCommandInvocationInputBuilder
impl Default for GetCommandInvocationInputBuilder
source§fn default() -> GetCommandInvocationInputBuilder
fn default() -> GetCommandInvocationInputBuilder
source§impl PartialEq for GetCommandInvocationInputBuilder
impl PartialEq for GetCommandInvocationInputBuilder
source§fn eq(&self, other: &GetCommandInvocationInputBuilder) -> bool
fn eq(&self, other: &GetCommandInvocationInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.