| 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.IoT.GetTopicRule
Description
Gets information about the rule.
Synopsis
- 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
Arguments
| :: Text | |
| -> GetTopicRule |
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:
gtrRuleName- The name of the rule.
data GetTopicRule Source #
The input for the GetTopicRule operation.
See: getTopicRule smart constructor.
Instances
Request Lenses
gtrRuleName :: Lens' GetTopicRule Text Source #
The name of the rule.
Destructuring the Response
Arguments
| :: Int | |
| -> GetTopicRuleResponse |
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:
gtrrsRule- The rule.gtrrsRuleARN- The rule ARN.gtrrsResponseStatus- -- | The response status code.
data GetTopicRuleResponse Source #
The output from the GetTopicRule operation.
See: getTopicRuleResponse smart constructor.
Instances
Response Lenses
gtrrsRuleARN :: Lens' GetTopicRuleResponse (Maybe Text) Source #
The rule ARN.
gtrrsResponseStatus :: Lens' GetTopicRuleResponse Int Source #
- - | The response status code.