amazonka-iot-1.6.0: Amazon IoT SDK.

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

Network.AWS.IoT.EnableTopicRule

Contents

Description

Enables the rule.

Synopsis

Creating a Request

enableTopicRule Source #

Creates a value of EnableTopicRule with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data EnableTopicRule Source #

The input for the EnableTopicRuleRequest operation.

See: enableTopicRule smart constructor.

Instances

Eq EnableTopicRule Source # 
Data EnableTopicRule Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnableTopicRule -> c EnableTopicRule #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnableTopicRule #

toConstr :: EnableTopicRule -> Constr #

dataTypeOf :: EnableTopicRule -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EnableTopicRule) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnableTopicRule) #

gmapT :: (forall b. Data b => b -> b) -> EnableTopicRule -> EnableTopicRule #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnableTopicRule -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnableTopicRule -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnableTopicRule -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnableTopicRule -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnableTopicRule -> m EnableTopicRule #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnableTopicRule -> m EnableTopicRule #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnableTopicRule -> m EnableTopicRule #

Read EnableTopicRule Source # 
Show EnableTopicRule Source # 
Generic EnableTopicRule Source # 
Hashable EnableTopicRule Source # 
ToJSON EnableTopicRule Source # 
NFData EnableTopicRule Source # 

Methods

rnf :: EnableTopicRule -> () #

AWSRequest EnableTopicRule Source # 
ToHeaders EnableTopicRule Source # 
ToPath EnableTopicRule Source # 
ToQuery EnableTopicRule Source # 
type Rep EnableTopicRule Source # 
type Rep EnableTopicRule = D1 * (MetaData "EnableTopicRule" "Network.AWS.IoT.EnableTopicRule" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" True) (C1 * (MetaCons "EnableTopicRule'" PrefixI True) (S1 * (MetaSel (Just Symbol "_etrRuleName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs EnableTopicRule Source # 

Request Lenses

etrRuleName :: Lens' EnableTopicRule Text Source #

The name of the topic rule to enable.

Destructuring the Response

enableTopicRuleResponse :: EnableTopicRuleResponse Source #

Creates a value of EnableTopicRuleResponse with the minimum fields required to make a request.

data EnableTopicRuleResponse Source #

See: enableTopicRuleResponse smart constructor.

Instances

Eq EnableTopicRuleResponse Source # 
Data EnableTopicRuleResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EnableTopicRuleResponse -> c EnableTopicRuleResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c EnableTopicRuleResponse #

toConstr :: EnableTopicRuleResponse -> Constr #

dataTypeOf :: EnableTopicRuleResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c EnableTopicRuleResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c EnableTopicRuleResponse) #

gmapT :: (forall b. Data b => b -> b) -> EnableTopicRuleResponse -> EnableTopicRuleResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EnableTopicRuleResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EnableTopicRuleResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> EnableTopicRuleResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> EnableTopicRuleResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> EnableTopicRuleResponse -> m EnableTopicRuleResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EnableTopicRuleResponse -> m EnableTopicRuleResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EnableTopicRuleResponse -> m EnableTopicRuleResponse #

Read EnableTopicRuleResponse Source # 
Show EnableTopicRuleResponse Source # 
Generic EnableTopicRuleResponse Source # 
NFData EnableTopicRuleResponse Source # 

Methods

rnf :: EnableTopicRuleResponse -> () #

type Rep EnableTopicRuleResponse Source # 
type Rep EnableTopicRuleResponse = D1 * (MetaData "EnableTopicRuleResponse" "Network.AWS.IoT.EnableTopicRule" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "EnableTopicRuleResponse'" PrefixI False) (U1 *))