| 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.GetRateBasedRule
Description
Returns the RateBasedRule that is specified by the RuleId that you included in the GetRateBasedRule request.
Synopsis
- getRateBasedRule :: Text -> GetRateBasedRule
- data GetRateBasedRule
- grbrRuleId :: Lens' GetRateBasedRule Text
- getRateBasedRuleResponse :: Int -> GetRateBasedRuleResponse
- data GetRateBasedRuleResponse
- grbrrsRule :: Lens' GetRateBasedRuleResponse (Maybe RateBasedRule)
- grbrrsResponseStatus :: Lens' GetRateBasedRuleResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetRateBasedRule |
Creates a value of GetRateBasedRule with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grbrRuleId- TheRuleIdof theRateBasedRulethat you want to get.RuleIdis returned byCreateRateBasedRuleand byListRateBasedRules.
data GetRateBasedRule Source #
See: getRateBasedRule smart constructor.
Instances
Request Lenses
grbrRuleId :: Lens' GetRateBasedRule Text Source #
The RuleId of the RateBasedRule that you want to get. RuleId is returned by CreateRateBasedRule and by ListRateBasedRules .
Destructuring the Response
getRateBasedRuleResponse Source #
Arguments
| :: Int | |
| -> GetRateBasedRuleResponse |
Creates a value of GetRateBasedRuleResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
grbrrsRule- Information about theRateBasedRulethat you specified in theGetRateBasedRulerequest.grbrrsResponseStatus- -- | The response status code.
data GetRateBasedRuleResponse Source #
See: getRateBasedRuleResponse smart constructor.
Instances
Response Lenses
grbrrsRule :: Lens' GetRateBasedRuleResponse (Maybe RateBasedRule) Source #
Information about the RateBasedRule that you specified in the GetRateBasedRule request.
grbrrsResponseStatus :: Lens' GetRateBasedRuleResponse Int Source #
- - | The response status code.