aws_sdk_accessanalyzer/client/
delete_archive_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 [`DeleteArchiveRule`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the analyzer that associated with the archive rule to delete.</p><br>
7    ///   - [`rule_name(impl Into<String>)`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to delete.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
9    /// - On success, responds with [`DeleteArchiveRuleOutput`](crate::operation::delete_archive_rule::DeleteArchiveRuleOutput)
10    /// - On failure, responds with [`SdkError<DeleteArchiveRuleError>`](crate::operation::delete_archive_rule::DeleteArchiveRuleError)
11    pub fn delete_archive_rule(&self) -> crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder {
12        crate::operation::delete_archive_rule::builders::DeleteArchiveRuleFluentBuilder::new(self.handle.clone())
13    }
14}