Struct aws_sdk_ssm::client::fluent_builders::CancelCommand [−][src]
pub struct CancelCommand<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to CancelCommand
.
Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.
Implementations
impl<C, M, R> CancelCommand<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CancelCommand<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CancelCommandOutput, SdkError<CancelCommandError>> where
R::Policy: SmithyRetryPolicy<CancelCommandInputOperationOutputAlias, CancelCommandOutput, CancelCommandError, CancelCommandInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CancelCommandOutput, SdkError<CancelCommandError>> where
R::Policy: SmithyRetryPolicy<CancelCommandInputOperationOutputAlias, CancelCommandOutput, CancelCommandError, CancelCommandInputOperationRetryAlias>,
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.
The ID of the command you want to cancel.
The ID of the command you want to cancel.
Appends an item to InstanceIds
.
To override the contents of this collection use set_instance_ids
.
(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.
(Optional) A list of instance IDs on which you want to cancel the command. If not provided, the command is canceled on every instance on which it was requested.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for CancelCommand<C, M, R>
impl<C, M, R> Unpin for CancelCommand<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for CancelCommand<C, M, R>
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