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

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

Show CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Generic CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Associated Types

type Rep CreateTopicRule :: Type -> Type #

Hashable CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

ToJSON CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

AWSRequest CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Associated Types

type Rs CreateTopicRule :: Type #

ToHeaders CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

ToPath CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

ToQuery CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

NFData CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Methods

rnf :: CreateTopicRule -> () #

type Rep CreateTopicRule Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

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

Defined in Network.AWS.IoT.CreateTopicRule

Show CreateTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Generic CreateTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Associated Types

type Rep CreateTopicRuleResponse :: Type -> Type #

NFData CreateTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

Methods

rnf :: CreateTopicRuleResponse -> () #

type Rep CreateTopicRuleResponse Source # 
Instance details

Defined in Network.AWS.IoT.CreateTopicRule

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