| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WAF.GetRateBasedRuleManagedKeys
Description
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
- getRateBasedRuleManagedKeys :: Text -> GetRateBasedRuleManagedKeys
- data GetRateBasedRuleManagedKeys
- grbrmkNextMarker :: Lens' GetRateBasedRuleManagedKeys (Maybe Text)
- grbrmkRuleId :: Lens' GetRateBasedRuleManagedKeys Text
- getRateBasedRuleManagedKeysResponse :: Int -> GetRateBasedRuleManagedKeysResponse
- data GetRateBasedRuleManagedKeysResponse
- grbrmkrsNextMarker :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe Text)
- grbrmkrsManagedKeys :: Lens' GetRateBasedRuleManagedKeysResponse [Text]
- grbrmkrsResponseStatus :: Lens' GetRateBasedRuleManagedKeysResponse Int
Creating a Request
getRateBasedRuleManagedKeys Source #
Arguments
| :: Text | |
| -> GetRateBasedRuleManagedKeys |
Creates a value of GetRateBasedRuleManagedKeys with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grbrmkNextMarker- A null value and not currently used. Do not include this in your request.grbrmkRuleId- TheRuleIdof theRateBasedRulefor which you want to get a list ofManagedKeys.RuleIdis returned byCreateRateBasedRuleand byListRateBasedRules.
data GetRateBasedRuleManagedKeys Source #
See: getRateBasedRuleManagedKeys smart constructor.
Instances
Request Lenses
grbrmkNextMarker :: Lens' GetRateBasedRuleManagedKeys (Maybe Text) Source #
A null value and not currently used. Do not include this in your request.
grbrmkRuleId :: 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
getRateBasedRuleManagedKeysResponse Source #
Arguments
| :: Int | |
| -> GetRateBasedRuleManagedKeysResponse |
Creates a value of GetRateBasedRuleManagedKeysResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grbrmkrsNextMarker- A null value and not currently used.grbrmkrsManagedKeys- An array of IP addresses that currently are blocked by the specifiedRateBasedRule.grbrmkrsResponseStatus- -- | The response status code.
data GetRateBasedRuleManagedKeysResponse Source #
See: getRateBasedRuleManagedKeysResponse smart constructor.
Instances
Response Lenses
grbrmkrsNextMarker :: Lens' GetRateBasedRuleManagedKeysResponse (Maybe Text) Source #
A null value and not currently used.
grbrmkrsManagedKeys :: Lens' GetRateBasedRuleManagedKeysResponse [Text] Source #
An array of IP addresses that currently are blocked by the specified RateBasedRule .
grbrmkrsResponseStatus :: Lens' GetRateBasedRuleManagedKeysResponse Int Source #
- - | The response status code.