#[non_exhaustive]pub struct StartRemediationExecutionInput { /* private fields */ }Implementations§
source§impl StartRemediationExecutionInput
impl StartRemediationExecutionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartRemediationExecution, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StartRemediationExecution, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StartRemediationExecution>
Examples found in repository?
src/client.rs (line 10525)
10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::StartRemediationExecution,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::StartRemediationExecutionError>,
> {
let handle = self.handle.clone();
let operation = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
Ok(crate::operation::customize::CustomizableOperation { handle, operation })
}
/// 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](aws_smithy_types::retry::RetryConfig), which can be
/// set when configuring the client.
pub async fn send(
self,
) -> std::result::Result<
crate::output::StartRemediationExecutionOutput,
aws_smithy_http::result::SdkError<crate::error::StartRemediationExecutionError>,
> {
let op = self
.inner
.build()
.map_err(aws_smithy_http::result::SdkError::construction_failure)?
.make_operation(&self.handle.conf)
.await
.map_err(aws_smithy_http::result::SdkError::construction_failure)?;
self.handle.client.call(op).await
}sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StartRemediationExecutionInput.
source§impl StartRemediationExecutionInput
impl StartRemediationExecutionInput
sourcepub fn config_rule_name(&self) -> Option<&str>
pub fn config_rule_name(&self) -> Option<&str>
The list of names of Config rules that you want to run remediation execution for.
sourcepub fn resource_keys(&self) -> Option<&[ResourceKey]>
pub fn resource_keys(&self) -> Option<&[ResourceKey]>
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§
source§impl Clone for StartRemediationExecutionInput
impl Clone for StartRemediationExecutionInput
source§fn clone(&self) -> StartRemediationExecutionInput
fn clone(&self) -> StartRemediationExecutionInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more