aws_sdk_accessanalyzer/client/
apply_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 [`ApplyArchiveRule`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`analyzer_arn(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::analyzer_arn) / [`set_analyzer_arn(Option<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_analyzer_arn):<br>required: **true**<br><p>The Amazon resource name (ARN) of the analyzer.</p><br>
7    ///   - [`rule_name(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to apply.</p><br>
8    ///   - [`client_token(impl Into<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
9    /// - On success, responds with [`ApplyArchiveRuleOutput`](crate::operation::apply_archive_rule::ApplyArchiveRuleOutput)
10    /// - On failure, responds with [`SdkError<ApplyArchiveRuleError>`](crate::operation::apply_archive_rule::ApplyArchiveRuleError)
11    pub fn apply_archive_rule(&self) -> crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder {
12        crate::operation::apply_archive_rule::builders::ApplyArchiveRuleFluentBuilder::new(self.handle.clone())
13    }
14}