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

Contents

Description

Gets information about the rule.

Synopsis

Creating a Request

getTopicRule Source #

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

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

data GetTopicRule Source #

The input for the GetTopicRule operation.

See: getTopicRule smart constructor.

Instances

Eq GetTopicRule Source # 
Data GetTopicRule Source # 

Methods

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

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

toConstr :: GetTopicRule -> Constr #

dataTypeOf :: GetTopicRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTopicRule Source # 
Show GetTopicRule Source # 
Generic GetTopicRule Source # 

Associated Types

type Rep GetTopicRule :: * -> * #

Hashable GetTopicRule Source # 
NFData GetTopicRule Source # 

Methods

rnf :: GetTopicRule -> () #

AWSRequest GetTopicRule Source # 
ToHeaders GetTopicRule Source # 
ToPath GetTopicRule Source # 
ToQuery GetTopicRule Source # 
type Rep GetTopicRule Source # 
type Rep GetTopicRule = D1 * (MetaData "GetTopicRule" "Network.AWS.IoT.GetTopicRule" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" True) (C1 * (MetaCons "GetTopicRule'" PrefixI True) (S1 * (MetaSel (Just Symbol "_gtrRuleName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs GetTopicRule Source # 

Request Lenses

gtrRuleName :: Lens' GetTopicRule Text Source #

The name of the rule.

Destructuring the Response

getTopicRuleResponse Source #

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

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

data GetTopicRuleResponse Source #

The output from the GetTopicRule operation.

See: getTopicRuleResponse smart constructor.

Instances

Eq GetTopicRuleResponse Source # 
Data GetTopicRuleResponse Source # 

Methods

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

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

toConstr :: GetTopicRuleResponse -> Constr #

dataTypeOf :: GetTopicRuleResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTopicRuleResponse Source # 
Show GetTopicRuleResponse Source # 
Generic GetTopicRuleResponse Source # 
NFData GetTopicRuleResponse Source # 

Methods

rnf :: GetTopicRuleResponse -> () #

type Rep GetTopicRuleResponse Source # 
type Rep GetTopicRuleResponse = D1 * (MetaData "GetTopicRuleResponse" "Network.AWS.IoT.GetTopicRule" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "GetTopicRuleResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtrrsRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe TopicRule))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gtrrsRuleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gtrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gtrrsResponseStatus :: Lens' GetTopicRuleResponse Int Source #

  • - | The response status code.