| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WAF.GetRule
Description
- getRule :: Text -> GetRule
- data GetRule
- grRuleId :: Lens' GetRule Text
- getRuleResponse :: Int -> GetRuleResponse
- data GetRuleResponse
- grrsRule :: Lens' GetRuleResponse (Maybe Rule)
- grrsResponseStatus :: Lens' GetRuleResponse Int
Creating a Request
See: getRule smart constructor.
Instances
Request Lenses
grRuleId :: Lens' GetRule Text Source #
The RuleId of the Rule that you want to get. RuleId is returned
by CreateRule and by ListRules.
Destructuring the Response
Arguments
| :: Int | |
| -> GetRuleResponse |
Creates a value of GetRuleResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetRuleResponse Source #
See: getRuleResponse smart constructor.
Response Lenses
grrsResponseStatus :: Lens' GetRuleResponse Int Source #
The response status code.