Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data GetRateBasedRuleManagedKeys = GetRateBasedRuleManagedKeys' {
- nextMarker :: Maybe Text
- ruleId :: Text
- newGetRateBasedRuleManagedKeys :: Text -> GetRateBasedRuleManagedKeys
- getRateBasedRuleManagedKeys_nextMarker :: Lens' GetRateBasedRuleManagedKeys (Maybe Text)
- getRateBasedRuleManagedKeys_ruleId :: Lens' GetRateBasedRuleManagedKeys Text
- data GetRateBasedRuleManagedKeysResponse = GetRateBasedRuleManagedKeysResponse' {
- nextMarker :: Maybe Text
- managedKeys :: Maybe [Text]
- httpStatus :: Int
- newGetRateBasedRuleManagedKeysResponse :: Int -> GetRateBasedRuleManagedKeysResponse
- getRateBasedRuleManagedKeysResponse_nextMarker :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe Text)
- getRateBasedRuleManagedKeysResponse_managedKeys :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe [Text])
- getRateBasedRuleManagedKeysResponse_httpStatus :: Lens' GetRateBasedRuleManagedKeysResponse Int
Creating a Request
data GetRateBasedRuleManagedKeys Source #
See: newGetRateBasedRuleManagedKeys
smart constructor.
GetRateBasedRuleManagedKeys' | |
|
Instances
newGetRateBasedRuleManagedKeys Source #
Create a value of GetRateBasedRuleManagedKeys
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:GetRateBasedRuleManagedKeys'
, getRateBasedRuleManagedKeys_nextMarker
- A null value and not currently used. Do not include this in your
request.
$sel:ruleId:GetRateBasedRuleManagedKeys'
, getRateBasedRuleManagedKeys_ruleId
- The RuleId
of the RateBasedRule for which you want to get a list of
ManagedKeys
. RuleId
is returned by CreateRateBasedRule and by
ListRateBasedRules.
Request Lenses
getRateBasedRuleManagedKeys_nextMarker :: Lens' GetRateBasedRuleManagedKeys (Maybe Text) Source #
A null value and not currently used. Do not include this in your request.
getRateBasedRuleManagedKeys_ruleId :: Lens' GetRateBasedRuleManagedKeys Text Source #
The RuleId
of the RateBasedRule for which you want to get a list of
ManagedKeys
. RuleId
is returned by CreateRateBasedRule and by
ListRateBasedRules.
Destructuring the Response
data GetRateBasedRuleManagedKeysResponse Source #
See: newGetRateBasedRuleManagedKeysResponse
smart constructor.
GetRateBasedRuleManagedKeysResponse' | |
|
Instances
newGetRateBasedRuleManagedKeysResponse Source #
Create a value of GetRateBasedRuleManagedKeysResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextMarker:GetRateBasedRuleManagedKeys'
, getRateBasedRuleManagedKeysResponse_nextMarker
- A null value and not currently used.
$sel:managedKeys:GetRateBasedRuleManagedKeysResponse'
, getRateBasedRuleManagedKeysResponse_managedKeys
- An array of IP addresses that currently are blocked by the specified
RateBasedRule.
$sel:httpStatus:GetRateBasedRuleManagedKeysResponse'
, getRateBasedRuleManagedKeysResponse_httpStatus
- The response's http status code.
Response Lenses
getRateBasedRuleManagedKeysResponse_nextMarker :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe Text) Source #
A null value and not currently used.
getRateBasedRuleManagedKeysResponse_managedKeys :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe [Text]) Source #
An array of IP addresses that currently are blocked by the specified RateBasedRule.
getRateBasedRuleManagedKeysResponse_httpStatus :: Lens' GetRateBasedRuleManagedKeysResponse Int Source #
The response's http status code.