aws_sdk_config/client/
delete_config_rule.rs

1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteConfigRule`](crate::operation::delete_config_rule::builders::DeleteConfigRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`config_rule_name(impl Into<String>)`](crate::operation::delete_config_rule::builders::DeleteConfigRuleFluentBuilder::config_rule_name) / [`set_config_rule_name(Option<String>)`](crate::operation::delete_config_rule::builders::DeleteConfigRuleFluentBuilder::set_config_rule_name):<br>required: **true**<br><p>The name of the Config rule that you want to delete.</p><br>
    /// - On success, responds with [`DeleteConfigRuleOutput`](crate::operation::delete_config_rule::DeleteConfigRuleOutput)
    /// - On failure, responds with [`SdkError<DeleteConfigRuleError>`](crate::operation::delete_config_rule::DeleteConfigRuleError)
    pub fn delete_config_rule(&self) -> crate::operation::delete_config_rule::builders::DeleteConfigRuleFluentBuilder {
        crate::operation::delete_config_rule::builders::DeleteConfigRuleFluentBuilder::new(self.handle.clone())
    }
}