libZSservicesZSamazonka-iotZSamazonka-iot
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Read EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Show EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Generic EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Associated Types

type Rep EnableTopicRule :: Type -> Type #

NFData EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Methods

rnf :: EnableTopicRule -> () #

Hashable EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

ToJSON EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

AWSRequest EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Associated Types

type AWSResponse 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

type Rep EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type Rep EnableTopicRule = D1 ('MetaData "EnableTopicRule" "Amazonka.IoT.EnableTopicRule" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "EnableTopicRule'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ruleName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse EnableTopicRule Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

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:

$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

Instances details
Eq EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Read EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Show EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Generic EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Associated Types

type Rep EnableTopicRuleResponse :: Type -> Type #

NFData EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

Methods

rnf :: EnableTopicRuleResponse -> () #

type Rep EnableTopicRuleResponse Source # 
Instance details

Defined in Amazonka.IoT.EnableTopicRule

type Rep EnableTopicRuleResponse = D1 ('MetaData "EnableTopicRuleResponse" "Amazonka.IoT.EnableTopicRule" "libZSservicesZSamazonka-iotZSamazonka-iot" '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.