aws_sdk_config/client/start_remediation_execution.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`StartRemediationExecution`](crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`config_rule_name(impl Into<String>)`](crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder::config_rule_name) / [`set_config_rule_name(Option<String>)`](crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder::set_config_rule_name):<br>required: **true**<br><p>The list of names of Config rules that you want to run remediation execution for.</p><br>
/// - [`resource_keys(ResourceKey)`](crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder::resource_keys) / [`set_resource_keys(Option<Vec::<ResourceKey>>)`](crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder::set_resource_keys):<br>required: **true**<br><p>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.</p><br>
/// - On success, responds with [`StartRemediationExecutionOutput`](crate::operation::start_remediation_execution::StartRemediationExecutionOutput) with field(s):
/// - [`failure_message(Option<String>)`](crate::operation::start_remediation_execution::StartRemediationExecutionOutput::failure_message): <p>Returns a failure message. For example, the resource is already compliant.</p>
/// - [`failed_items(Option<Vec::<ResourceKey>>)`](crate::operation::start_remediation_execution::StartRemediationExecutionOutput::failed_items): <p>For resources that have failed to start execution, the API returns a resource key object.</p>
/// - On failure, responds with [`SdkError<StartRemediationExecutionError>`](crate::operation::start_remediation_execution::StartRemediationExecutionError)
pub fn start_remediation_execution(&self) -> crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder {
crate::operation::start_remediation_execution::builders::StartRemediationExecutionFluentBuilder::new(self.handle.clone())
}
}