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

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 #

The input for the CreateTopicRule operation.

See: createTopicRule smart constructor.

Instances
Eq CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Data CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

Show CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Generic CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Associated Types

type Rep CreateTopicRule :: * -> * #

Hashable CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

ToJSON CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

AWSRequest CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Associated Types

type Rs CreateTopicRule :: * #

ToHeaders CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

ToPath CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

ToQuery CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

NFData CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Methods

rnf :: CreateTopicRule -> () #

type Rep CreateTopicRule # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

Request Lenses

ctrRuleName :: Lens' CreateTopicRule Text #

The name of the rule.

Destructuring the Response

createTopicRuleResponse :: CreateTopicRuleResponse #

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

data CreateTopicRuleResponse #

See: createTopicRuleResponse smart constructor.

Instances
Eq CreateTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Data CreateTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

Show CreateTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Generic CreateTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Associated Types

type Rep CreateTopicRuleResponse :: * -> * #

NFData CreateTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Methods

rnf :: CreateTopicRuleResponse -> () #

type Rep CreateTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

type Rep CreateTopicRuleResponse = D1 (MetaData "CreateTopicRuleResponse" "Network.AWS.IoT.CreateTopicRule" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" False) (C1 (MetaCons "CreateTopicRuleResponse'" PrefixI False) (U1 :: * -> *))