Copyright | (c) 2013-2015 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 |
Returns the Rule that is specified by the RuleId
that you included in
the GetRule
request.
See: AWS API Reference for GetRule.
- 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.
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
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.