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 [`CreateArchiveRule`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`analyzer_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::analyzer_name) / [`set_analyzer_name(Option<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_analyzer_name):<br>required: **true**<br><p>The name of the created analyzer.</p><br>
    ///   - [`rule_name(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::rule_name) / [`set_rule_name(Option<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_rule_name):<br>required: **true**<br><p>The name of the rule to create.</p><br>
    ///   - [`filter(impl Into<String>, Criterion)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::filter) / [`set_filter(Option<HashMap::<String, Criterion>>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_filter):<br>required: **true**<br><p>The criteria for the rule.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::set_client_token):<br>required: **false**<br><p>A client token.</p><br>
    /// - On success, responds with [`CreateArchiveRuleOutput`](crate::operation::create_archive_rule::CreateArchiveRuleOutput)
    /// - On failure, responds with [`SdkError<CreateArchiveRuleError>`](crate::operation::create_archive_rule::CreateArchiveRuleError)
    pub fn create_archive_rule(&self) -> crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder {
        crate::operation::create_archive_rule::builders::CreateArchiveRuleFluentBuilder::new(self.handle.clone())
    }
}