amazonka-iot-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Data ReplaceTopicRule Source # 
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 Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Show ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Generic ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Associated Types

type Rep ReplaceTopicRule :: Type -> Type #

Hashable ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

ToJSON ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

AWSRequest ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Associated Types

type Rs ReplaceTopicRule :: Type #

ToHeaders ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

ToPath ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

ToQuery ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

NFData ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Methods

rnf :: ReplaceTopicRule -> () #

type Rep ReplaceTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

type Rep ReplaceTopicRule = D1 (MetaData "ReplaceTopicRule" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" 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 Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

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

Defined in Network.AWS.IoT.ReplaceTopicRule

Data ReplaceTopicRuleResponse Source # 
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 Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Show ReplaceTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Generic ReplaceTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

Associated Types

type Rep ReplaceTopicRuleResponse :: Type -> Type #

NFData ReplaceTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

type Rep ReplaceTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.ReplaceTopicRule

type Rep ReplaceTopicRuleResponse = D1 (MetaData "ReplaceTopicRuleResponse" "Network.AWS.IoT.ReplaceTopicRule" "amazonka-iot-1.6.1-1U0NSVSRVsCEeZIE9W0TkV" False) (C1 (MetaCons "ReplaceTopicRuleResponse'" PrefixI False) (U1 :: Type -> Type))