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.ReplaceTopicRule

Contents

Description

Replaces the 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 # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Data ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.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 # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Show ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Generic ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Associated Types

type Rep ReplaceTopicRule :: * -> * #

Hashable ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

ToJSON ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

AWSRequest ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Associated Types

type Rs ReplaceTopicRule :: * #

ToHeaders ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

ToPath ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

ToQuery ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

NFData ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Methods

rnf :: ReplaceTopicRule -> () #

type Rep ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

type Rep ReplaceTopicRule = D1 (MetaData "ReplaceTopicRule" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.6.0-CAejnyMMkfk3pNFUOERBSd" False) (C1 (MetaCons "ReplaceTopicRule'" PrefixI True) (S1 (MetaSel (Just "_rtrRuleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rtrTopicRulePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TopicRulePayload)))
type Rs ReplaceTopicRule # 
Instance details

Defined in Network.AWS.IoT.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 # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Data ReplaceTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

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 # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Show ReplaceTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Generic ReplaceTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Associated Types

type Rep ReplaceTopicRuleResponse :: * -> * #

NFData ReplaceTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

type Rep ReplaceTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

type Rep ReplaceTopicRuleResponse = D1 (MetaData "ReplaceTopicRuleResponse" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.6.0-CAejnyMMkfk3pNFUOERBSd" False) (C1 (MetaCons "ReplaceTopicRuleResponse'" PrefixI False) (U1 :: * -> *))