Copyright | (c) 2013-2021 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 |
Enables the rule.
Requires permission to access the EnableTopicRule action.
Creating a Request
data EnableTopicRule Source #
The input for the EnableTopicRuleRequest operation.
See: newEnableTopicRule
smart constructor.
Instances
Create a value of EnableTopicRule
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ruleName:EnableTopicRule'
, enableTopicRule_ruleName
- The name of the topic rule to enable.
Request Lenses
enableTopicRule_ruleName :: Lens' EnableTopicRule Text Source #
The name of the topic rule to enable.
Destructuring the Response
data EnableTopicRuleResponse Source #
See: newEnableTopicRuleResponse
smart constructor.
Instances
Eq EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule | |
Read EnableTopicRuleResponse Source # | |
Show EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule showsPrec :: Int -> EnableTopicRuleResponse -> ShowS # show :: EnableTopicRuleResponse -> String # showList :: [EnableTopicRuleResponse] -> ShowS # | |
Generic EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule type Rep EnableTopicRuleResponse :: Type -> Type # | |
NFData EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule rnf :: EnableTopicRuleResponse -> () # | |
type Rep EnableTopicRuleResponse Source # | |
newEnableTopicRuleResponse :: EnableTopicRuleResponse Source #
Create a value of EnableTopicRuleResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.