pub struct StartRemediationExecution<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to StartRemediationExecution.
Runs an on-demand remediation for the specified Config rules against the last known remediation configuration. It runs an execution against the current state of your resources. Remediation execution is asynchronous.
You can specify up to 100 resource keys per request. An existing StartRemediationExecution call for the specified resource keys must complete before you can call the API again.
Implementations
impl<C, M, R> StartRemediationExecution<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StartRemediationExecution<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StartRemediationExecutionOutput, SdkError<StartRemediationExecutionError>> where
R::Policy: SmithyRetryPolicy<StartRemediationExecutionInputOperationOutputAlias, StartRemediationExecutionOutput, StartRemediationExecutionError, StartRemediationExecutionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StartRemediationExecutionOutput, SdkError<StartRemediationExecutionError>> where
R::Policy: SmithyRetryPolicy<StartRemediationExecutionInputOperationOutputAlias, StartRemediationExecutionOutput, StartRemediationExecutionError, StartRemediationExecutionInputOperationRetryAlias>,
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 list of names of Config rules that you want to run remediation execution for.
The list of names of Config rules that you want to run remediation execution for.
Appends an item to ResourceKeys.
To override the contents of this collection use set_resource_keys.
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
A list of resource keys to be processed with the current request. Each element in the list consists of the resource type and resource ID.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StartRemediationExecution<C, M, R>
impl<C, M, R> Send for StartRemediationExecution<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StartRemediationExecution<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StartRemediationExecution<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StartRemediationExecution<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