amazonka-iot-1.4.5: Amazon IoT SDK.

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

Network.AWS.IoT.ReplaceTopicRule

Contents

Description

Replaces the specified rule. You must specify all parameters for the new rule. Creating rules is an administrator-level action. Any user who has permission to create rules will be able to access data processed by the rule.

Synopsis

Creating a Request

replaceTopicRule #

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

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

data ReplaceTopicRule #

The input for the ReplaceTopicRule operation.

See: replaceTopicRule smart constructor.

Instances

Eq ReplaceTopicRule # 
Data ReplaceTopicRule # 

Methods

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

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

toConstr :: ReplaceTopicRule -> Constr #

dataTypeOf :: ReplaceTopicRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReplaceTopicRule # 
Show ReplaceTopicRule # 
Generic ReplaceTopicRule # 
Hashable ReplaceTopicRule # 
ToJSON ReplaceTopicRule # 
NFData ReplaceTopicRule # 

Methods

rnf :: ReplaceTopicRule -> () #

AWSRequest ReplaceTopicRule # 
ToQuery ReplaceTopicRule # 
ToPath ReplaceTopicRule # 
ToHeaders ReplaceTopicRule # 
type Rep ReplaceTopicRule # 
type Rep ReplaceTopicRule = D1 (MetaData "ReplaceTopicRule" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "ReplaceTopicRule'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rtrRuleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_rtrTopicRulePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TopicRulePayload))))
type Rs ReplaceTopicRule # 

Request Lenses

rtrRuleName :: Lens' ReplaceTopicRule Text #

The name of the rule.

Destructuring the Response

replaceTopicRuleResponse :: ReplaceTopicRuleResponse #

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

data ReplaceTopicRuleResponse #

See: replaceTopicRuleResponse smart constructor.

Instances

Eq ReplaceTopicRuleResponse # 
Data ReplaceTopicRuleResponse # 

Methods

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

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

toConstr :: ReplaceTopicRuleResponse -> Constr #

dataTypeOf :: ReplaceTopicRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ReplaceTopicRuleResponse # 
Show ReplaceTopicRuleResponse # 
Generic ReplaceTopicRuleResponse # 
NFData ReplaceTopicRuleResponse # 
type Rep ReplaceTopicRuleResponse # 
type Rep ReplaceTopicRuleResponse = D1 (MetaData "ReplaceTopicRuleResponse" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.4.5-HnBhW38Gbiq1QAd2zPEJmJ" False) (C1 (MetaCons "ReplaceTopicRuleResponse'" PrefixI False) U1)