aws_sdk_mailmanager/client/delete_rule_set.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`DeleteRuleSet`](crate::operation::delete_rule_set::builders::DeleteRuleSetFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`rule_set_id(impl Into<String>)`](crate::operation::delete_rule_set::builders::DeleteRuleSetFluentBuilder::rule_set_id) / [`set_rule_set_id(Option<String>)`](crate::operation::delete_rule_set::builders::DeleteRuleSetFluentBuilder::set_rule_set_id):<br>required: **true**<br><p>The identifier of an existing rule set resource to delete.</p><br>
7 /// - On success, responds with [`DeleteRuleSetOutput`](crate::operation::delete_rule_set::DeleteRuleSetOutput)
8 /// - On failure, responds with [`SdkError<DeleteRuleSetError>`](crate::operation::delete_rule_set::DeleteRuleSetError)
9 pub fn delete_rule_set(&self) -> crate::operation::delete_rule_set::builders::DeleteRuleSetFluentBuilder {
10 crate::operation::delete_rule_set::builders::DeleteRuleSetFluentBuilder::new(self.handle.clone())
11 }
12}