amazonka-iot-1.4.3: 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.CreateTopicRule

Contents

Description

Creates a 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

createTopicRule Source #

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

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

data CreateTopicRule Source #

The input for the CreateTopicRule operation.

See: createTopicRule smart constructor.

Instances

Eq CreateTopicRule Source # 
Data CreateTopicRule Source # 

Methods

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

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

toConstr :: CreateTopicRule -> Constr #

dataTypeOf :: CreateTopicRule -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: CreateTopicRule -> () #

AWSRequest CreateTopicRule Source # 
ToPath CreateTopicRule Source # 
ToHeaders CreateTopicRule Source # 
ToQuery CreateTopicRule Source # 
type Rep CreateTopicRule Source # 
type Rep CreateTopicRule = D1 (MetaData "CreateTopicRule" "Network.AWS.IoT.CreateTopicRule" "amazonka-iot-1.4.3-GQ8Z5ol1Knl4MG0H0roOVJ" False) (C1 (MetaCons "CreateTopicRule'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ctrRuleName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_ctrTopicRulePayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TopicRulePayload))))
type Rs CreateTopicRule Source # 

Request Lenses

ctrRuleName :: Lens' CreateTopicRule Text Source #

The name of the rule.

Destructuring the Response

createTopicRuleResponse :: CreateTopicRuleResponse Source #

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

data CreateTopicRuleResponse Source #

See: createTopicRuleResponse smart constructor.

Instances

Eq CreateTopicRuleResponse Source # 
Data CreateTopicRuleResponse Source # 

Methods

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

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

toConstr :: CreateTopicRuleResponse -> Constr #

dataTypeOf :: CreateTopicRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTopicRuleResponse Source # 
Show CreateTopicRuleResponse Source # 
Generic CreateTopicRuleResponse Source # 
NFData CreateTopicRuleResponse Source # 

Methods

rnf :: CreateTopicRuleResponse -> () #

type Rep CreateTopicRuleResponse Source # 
type Rep CreateTopicRuleResponse = D1 (MetaData "CreateTopicRuleResponse" "Network.AWS.IoT.CreateTopicRule" "amazonka-iot-1.4.3-GQ8Z5ol1Knl4MG0H0roOVJ" False) (C1 (MetaCons "CreateTopicRuleResponse'" PrefixI False) U1)