aws_sdk_accessanalyzer/client/update_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 [`UpdateArchiveRule`](crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - [`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>
9 /// - [`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>
10 /// - On success, responds with [`UpdateArchiveRuleOutput`](crate::operation::update_archive_rule::UpdateArchiveRuleOutput)
11 /// - On failure, responds with [`SdkError<UpdateArchiveRuleError>`](crate::operation::update_archive_rule::UpdateArchiveRuleError)
12 pub fn update_archive_rule(&self) -> crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder {
13 crate::operation::update_archive_rule::builders::UpdateArchiveRuleFluentBuilder::new(self.handle.clone())
14 }
15}