amazonka-iot-1.4.4: 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 Source #

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 Source #

The input for the ReplaceTopicRule operation.

See: replaceTopicRule smart constructor.

Instances

Eq ReplaceTopicRule Source # 
Data ReplaceTopicRule Source # 

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 Source # 
Show ReplaceTopicRule Source # 
Generic ReplaceTopicRule Source # 
Hashable ReplaceTopicRule Source # 
NFData ReplaceTopicRule Source # 

Methods

rnf :: ReplaceTopicRule -> () #

AWSRequest ReplaceTopicRule Source # 
ToPath ReplaceTopicRule Source # 
ToHeaders ReplaceTopicRule Source # 
ToQuery ReplaceTopicRule Source # 
ToJSON ReplaceTopicRule Source # 
type Rep ReplaceTopicRule Source # 
type Rep ReplaceTopicRule = D1 (MetaData "ReplaceTopicRule" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.4.4-DeZW0JwAfGmFb7dFqhSZgL" 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 Source # 

Request Lenses

rtrRuleName :: Lens' ReplaceTopicRule Text Source #

The name of the rule.

Destructuring the Response

replaceTopicRuleResponse :: ReplaceTopicRuleResponse Source #

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

data ReplaceTopicRuleResponse Source #

See: replaceTopicRuleResponse smart constructor.

Instances

Eq ReplaceTopicRuleResponse Source # 
Data ReplaceTopicRuleResponse Source # 

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 Source # 
Show ReplaceTopicRuleResponse Source # 
Generic ReplaceTopicRuleResponse Source # 
NFData ReplaceTopicRuleResponse Source # 
type Rep ReplaceTopicRuleResponse Source # 
type Rep ReplaceTopicRuleResponse = D1 (MetaData "ReplaceTopicRuleResponse" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.4.4-DeZW0JwAfGmFb7dFqhSZgL" False) (C1 (MetaCons "ReplaceTopicRuleResponse'" PrefixI False) U1)