amazonka-iot-2.0: Amazon IoT SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoT.EnableTopicRule

Description

Enables the rule.

Requires permission to access the EnableTopicRule action.

Synopsis

Creating a Request

data EnableTopicRule Source #

The input for the EnableTopicRuleRequest operation.

See: newEnableTopicRule smart constructor.

Constructors

EnableTopicRule' 

Fields

Instances

Instances details
ToJSON EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

ToHeaders EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

ToPath EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

ToQuery EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

AWSRequest EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Associated Types

type AWSResponse EnableTopicRule #

Generic EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Associated Types

type Rep EnableTopicRule :: Type -> Type #

Read EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Show EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

NFData EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Methods

rnf :: EnableTopicRule -> () #

Eq EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Hashable EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type AWSResponse EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type Rep EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type Rep EnableTopicRule = D1 ('MetaData "EnableTopicRule" "Amazonka.IoT.EnableTopicRule" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "EnableTopicRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newEnableTopicRule Source #

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.

Instances

Instances details
Generic EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Associated Types

type Rep EnableTopicRuleResponse :: Type -> Type #

Read EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Show EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

NFData EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Methods

rnf :: EnableTopicRuleResponse -> () #

Eq EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type Rep EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type Rep EnableTopicRuleResponse = D1 ('MetaData "EnableTopicRuleResponse" "Amazonka.IoT.EnableTopicRule" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "EnableTopicRuleResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newEnableTopicRuleResponse :: EnableTopicRuleResponse Source #

Create a value of EnableTopicRuleResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.