aws_sdk_waf/client/
get_rate_based_rule_managed_keys.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetRateBasedRuleManagedKeys`](crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`rule_id(impl Into<String>)`](crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder::rule_id) / [`set_rule_id(Option<String>)`](crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder::set_rule_id):<br>required: **true**<br><p>The <code>RuleId</code> of the <code>RateBasedRule</code> for which you want to get a list of <code>ManagedKeys</code>. <code>RuleId</code> is returned by <code>CreateRateBasedRule</code> and by <code>ListRateBasedRules</code>.</p><br>
    ///   - [`next_marker(impl Into<String>)`](crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder::next_marker) / [`set_next_marker(Option<String>)`](crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder::set_next_marker):<br>required: **false**<br><p>A null value and not currently used. Do not include this in your request.</p><br>
    /// - On success, responds with [`GetRateBasedRuleManagedKeysOutput`](crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeysOutput) with field(s):
    ///   - [`managed_keys(Option<Vec::<String>>)`](crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeysOutput::managed_keys): <p>An array of IP addresses that currently are blocked by the specified <code>RateBasedRule</code>.</p>
    ///   - [`next_marker(Option<String>)`](crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeysOutput::next_marker): <p>A null value and not currently used.</p>
    /// - On failure, responds with [`SdkError<GetRateBasedRuleManagedKeysError>`](crate::operation::get_rate_based_rule_managed_keys::GetRateBasedRuleManagedKeysError)
    pub fn get_rate_based_rule_managed_keys(
        &self,
    ) -> crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder {
        crate::operation::get_rate_based_rule_managed_keys::builders::GetRateBasedRuleManagedKeysFluentBuilder::new(self.handle.clone())
    }
}