1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRuleSet`](crate::operation::get_rule_set::builders::GetRuleSetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rule_set_id(impl Into<String>)`](crate::operation::get_rule_set::builders::GetRuleSetFluentBuilder::rule_set_id) / [`set_rule_set_id(Option<String>)`](crate::operation::get_rule_set::builders::GetRuleSetFluentBuilder::set_rule_set_id):<br>required: **true**<br><p>The identifier of an existing rule set to be retrieved.</p><br>
    /// - On success, responds with [`GetRuleSetOutput`](crate::operation::get_rule_set::GetRuleSetOutput) with field(s):
    ///   - [`rule_set_id(String)`](crate::operation::get_rule_set::GetRuleSetOutput::rule_set_id): <p>The identifier of the rule set resource.</p>
    ///   - [`rule_set_arn(String)`](crate::operation::get_rule_set::GetRuleSetOutput::rule_set_arn): <p>The Amazon Resource Name (ARN) of the rule set resource.</p>
    ///   - [`rule_set_name(String)`](crate::operation::get_rule_set::GetRuleSetOutput::rule_set_name): <p>A user-friendly name for the rule set resource.</p>
    ///   - [`created_date(DateTime)`](crate::operation::get_rule_set::GetRuleSetOutput::created_date): <p>The date of when then rule set was created.</p>
    ///   - [`last_modification_date(DateTime)`](crate::operation::get_rule_set::GetRuleSetOutput::last_modification_date): <p>The date of when the rule set was last modified.</p>
    ///   - [`rules(Vec::<Rule>)`](crate::operation::get_rule_set::GetRuleSetOutput::rules): <p>The rules contained in the rule set.</p>
    /// - On failure, responds with [`SdkError<GetRuleSetError>`](crate::operation::get_rule_set::GetRuleSetError)
    pub fn get_rule_set(&self) -> crate::operation::get_rule_set::builders::GetRuleSetFluentBuilder {
        crate::operation::get_rule_set::builders::GetRuleSetFluentBuilder::new(self.handle.clone())
    }
}