| 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.CreateTopicRule
Description
Creates a rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.
Creating a Request
Arguments
| :: Text | |
| -> TopicRulePayload | |
| -> CreateTopicRule |
Creates a value of CreateTopicRule with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ctrRuleName- The name of the rule.ctrTopicRulePayload- The rule payload.
data CreateTopicRule Source #
The input for the CreateTopicRule operation.
See: createTopicRule smart constructor.
Instances
Request Lenses
ctrRuleName :: Lens' CreateTopicRule Text Source #
The name of the rule.
ctrTopicRulePayload :: Lens' CreateTopicRule TopicRulePayload Source #
The rule payload.
Destructuring the Response
createTopicRuleResponse :: CreateTopicRuleResponse Source #
Creates a value of CreateTopicRuleResponse with the minimum fields required to make a request.
data CreateTopicRuleResponse Source #
See: createTopicRuleResponse smart constructor.