| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoT.EnableTopicRule
Description
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.
Constructors
| EnableTopicRule' | |
Instances
Arguments
| :: Text | |
| -> EnableTopicRule |
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:
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.
Constructors
| EnableTopicRuleResponse' | |
Instances
| Generic EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule Associated Types type Rep EnableTopicRuleResponse :: Type -> Type # Methods from :: EnableTopicRuleResponse -> Rep EnableTopicRuleResponse x # to :: Rep EnableTopicRuleResponse x -> EnableTopicRuleResponse # | |
| Read EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule | |
| Show EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule Methods showsPrec :: Int -> EnableTopicRuleResponse -> ShowS # show :: EnableTopicRuleResponse -> String # showList :: [EnableTopicRuleResponse] -> ShowS # | |
| NFData EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule Methods rnf :: EnableTopicRuleResponse -> () # | |
| Eq EnableTopicRuleResponse Source # | |
Defined in Amazonka.IoT.EnableTopicRule Methods (==) :: EnableTopicRuleResponse -> EnableTopicRuleResponse -> Bool # (/=) :: EnableTopicRuleResponse -> EnableTopicRuleResponse -> Bool # | |
| 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.