1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetArchiveRule`](crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the analyzer to retrieve rules from.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to retrieve.</p><br>
    /// - On success, responds with [`GetArchiveRuleOutput`](crate::operation::get_archive_rule::GetArchiveRuleOutput) with field(s):
    ///   - [`archive_rule(Option<ArchiveRuleSummary>)`](crate::operation::get_archive_rule::GetArchiveRuleOutput::archive_rule): <p>Contains information about an archive rule.</p>
    /// - On failure, responds with [`SdkError<GetArchiveRuleError>`](crate::operation::get_archive_rule::GetArchiveRuleError)
    pub fn get_archive_rule(&self) -> crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder {
        crate::operation::get_archive_rule::builders::GetArchiveRuleFluentBuilder::new(self.handle.clone())
    }
}