| 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 |
Network.AWS.IoT.GetTopicRule
Description
Gets information about the specified rule.
See: AWS API Reference for GetTopicRule.
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:
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:
data GetTopicRuleResponse Source
The output from the GetTopicRule operation.
See: getTopicRuleResponse smart constructor.
Response Lenses
gtrrsResponseStatus :: Lens' GetTopicRuleResponse Int Source
The response status code.