Struct aws_sdk_waf::client::fluent_builders::GetRateBasedRuleManagedKeys
source ·
[−]pub struct GetRateBasedRuleManagedKeys<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to GetRateBasedRuleManagedKeys.
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Returns an array of IP addresses currently being blocked by the RateBasedRule that is specified by the RuleId. The maximum number of managed keys that will be blocked is 10,000. If more than 10,000 addresses exceed the rate limit, the 10,000 addresses with the highest rates will be blocked.
Implementations
impl<C, M, R> GetRateBasedRuleManagedKeys<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> GetRateBasedRuleManagedKeys<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<GetRateBasedRuleManagedKeysOutput, SdkError<GetRateBasedRuleManagedKeysError>> where
R::Policy: SmithyRetryPolicy<GetRateBasedRuleManagedKeysInputOperationOutputAlias, GetRateBasedRuleManagedKeysOutput, GetRateBasedRuleManagedKeysError, GetRateBasedRuleManagedKeysInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<GetRateBasedRuleManagedKeysOutput, SdkError<GetRateBasedRuleManagedKeysError>> where
R::Policy: SmithyRetryPolicy<GetRateBasedRuleManagedKeysInputOperationOutputAlias, GetRateBasedRuleManagedKeysOutput, GetRateBasedRuleManagedKeysError, GetRateBasedRuleManagedKeysInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.
The RuleId of the RateBasedRule for which you want to get a list of ManagedKeys. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules.
A null value and not currently used. Do not include this in your request.
A null value and not currently used. Do not include this in your request.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for GetRateBasedRuleManagedKeys<C, M, R>
impl<C, M, R> Send for GetRateBasedRuleManagedKeys<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for GetRateBasedRuleManagedKeys<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for GetRateBasedRuleManagedKeys<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for GetRateBasedRuleManagedKeys<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
