1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateArchiveRule`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the analyzer to update the archive rules for.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to update.</p><br>
    ///   - [`filter(impl Into<String>, Criterion)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::filter) / [`set_filter(Option<HashMap::<String, Criterion>>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::set_filter):<br>required: **true**<br><p>A filter to match for the rules to update. Only rules that match the filter are updated.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
    /// - On success, responds with [`UpdateArchiveRuleOutput`](crate::operation::update_archive_rule::UpdateArchiveRuleOutput)
    /// - On failure, responds with [`SdkError<UpdateArchiveRuleError>`](crate::operation::update_archive_rule::UpdateArchiveRuleError)
    pub fn update_archive_rule(&self) -> crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder {
        crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::new(self.handle.clone())
    }
}