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 |
Gets information about the specified rule.
- getTopicRule :: Text -> GetTopicRule
- data GetTopicRule
- gtrRuleName :: Lens' GetTopicRule Text
- getTopicRuleResponse :: Int -> GetTopicRuleResponse
- data GetTopicRuleResponse
- gtrrsRule :: Lens' GetTopicRuleResponse (Maybe TopicRule)
- gtrrsRuleARN :: Lens' GetTopicRuleResponse (Maybe Text)
- gtrrsResponseStatus :: Lens' GetTopicRuleResponse Int
Creating a Request
Creates a value of GetTopicRule
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetTopicRule Source #
The input for the GetTopicRule operation.
See: getTopicRule
smart constructor.
Request Lenses
gtrRuleName :: Lens' GetTopicRule Text Source #
The name of the rule.
Destructuring the Response
Creates a value of GetTopicRuleResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetTopicRuleResponse Source #
The output from the GetTopicRule operation.
See: getTopicRuleResponse
smart constructor.
Response Lenses
gtrrsRuleARN :: Lens' GetTopicRuleResponse (Maybe Text) Source #
The rule ARN.
gtrrsResponseStatus :: Lens' GetTopicRuleResponse Int Source #
The response status code.