Skip to main content

aws_sdk_networksecuritymanager/client/
delete_rule.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 [`DeleteRule`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`rule_identifier(impl Into<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::rule_identifier) / [`set_rule_identifier(Option<String>)`](crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::set_rule_identifier):<br>required: **true**<br><p>The identifier of the rule. This is the rule's Amazon Resource Name (ARN).</p><br>
7    /// - On success, responds with [`DeleteRuleOutput`](crate::operation::delete_rule::DeleteRuleOutput)
8    /// - On failure, responds with [`SdkError<DeleteRuleError>`](crate::operation::delete_rule::DeleteRuleError)
9    pub fn delete_rule(&self) -> crate::operation::delete_rule::builders::DeleteRuleFluentBuilder {
10        crate::operation::delete_rule::builders::DeleteRuleFluentBuilder::new(self.handle.clone())
11    }
12}