aws_sdk_config/client/
put_remediation_exceptions.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`PutRemediationExceptions`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`config_rule_name(impl Into<String>)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::config_rule_name) / [`set_config_rule_name(Option<String>)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::set_config_rule_name):<br>required: **true**<br><p>The name of the Config rule for which you want to create remediation exception.</p><br>
    ///   - [`resource_keys(RemediationExceptionResourceKey)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::resource_keys) / [`set_resource_keys(Option<Vec::<RemediationExceptionResourceKey>>)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::set_resource_keys):<br>required: **true**<br><p>An exception list of resource exception keys to be processed with the current request. Config adds exception for each resource key. For example, Config adds 3 exceptions for 3 resource keys.</p><br>
    ///   - [`message(impl Into<String>)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::message) / [`set_message(Option<String>)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::set_message):<br>required: **false**<br><p>The message contains an explanation of the exception.</p><br>
    ///   - [`expiration_time(DateTime)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::expiration_time) / [`set_expiration_time(Option<DateTime>)`](crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::set_expiration_time):<br>required: **false**<br><p>The exception is automatically deleted after the expiration date.</p><br>
    /// - On success, responds with [`PutRemediationExceptionsOutput`](crate::operation::put_remediation_exceptions::PutRemediationExceptionsOutput) with field(s):
    ///   - [`failed_batches(Option<Vec::<FailedRemediationExceptionBatch>>)`](crate::operation::put_remediation_exceptions::PutRemediationExceptionsOutput::failed_batches): <p>Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.</p>
    /// - On failure, responds with [`SdkError<PutRemediationExceptionsError>`](crate::operation::put_remediation_exceptions::PutRemediationExceptionsError)
    pub fn put_remediation_exceptions(&self) -> crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder {
        crate::operation::put_remediation_exceptions::builders::PutRemediationExceptionsFluentBuilder::new(self.handle.clone())
    }
}