Struct aws_sdk_ssm::operation::get_command_invocation::builders::GetCommandInvocationFluentBuilder
source · pub struct GetCommandInvocationFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to GetCommandInvocation
.
Returns detailed information about command execution for an invocation or plugin.
GetCommandInvocation
only gives the execution status of a plugin in a document. To get the command execution status on a specific managed node, use ListCommandInvocations
. To get the command execution status across managed nodes, use ListCommands
.
Implementations§
source§impl GetCommandInvocationFluentBuilder
impl GetCommandInvocationFluentBuilder
sourcepub fn as_input(&self) -> &GetCommandInvocationInputBuilder
pub fn as_input(&self) -> &GetCommandInvocationInputBuilder
Access the GetCommandInvocation as a reference.
sourcepub async fn send(
self
) -> Result<GetCommandInvocationOutput, SdkError<GetCommandInvocationError, HttpResponse>>
pub async fn send( self ) -> Result<GetCommandInvocationOutput, SdkError<GetCommandInvocationError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<GetCommandInvocationOutput, GetCommandInvocationError, Self>
pub fn customize( self ) -> CustomizableOperation<GetCommandInvocationOutput, GetCommandInvocationError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
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.
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.
Trait Implementations§
source§impl Clone for GetCommandInvocationFluentBuilder
impl Clone for GetCommandInvocationFluentBuilder
source§fn clone(&self) -> GetCommandInvocationFluentBuilder
fn clone(&self) -> GetCommandInvocationFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for GetCommandInvocationFluentBuilder
impl !RefUnwindSafe for GetCommandInvocationFluentBuilder
impl Send for GetCommandInvocationFluentBuilder
impl Sync for GetCommandInvocationFluentBuilder
impl Unpin for GetCommandInvocationFluentBuilder
impl !UnwindSafe for GetCommandInvocationFluentBuilder
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