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 #

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 #

The input for the GetTopicRule operation.

See: getTopicRule smart constructor.

Instances
Eq GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Data GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

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

Defined in Network.AWS.IoT.GetTopicRule

Show GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Generic GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Associated Types

type Rep GetTopicRule :: * -> * #

Hashable GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

AWSRequest GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Associated Types

type Rs GetTopicRule :: * #

ToHeaders GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

ToPath GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

ToQuery GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

NFData GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Methods

rnf :: GetTopicRule -> () #

type Rep GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

type Rep GetTopicRule = D1 (MetaData "GetTopicRule" "Network.AWS.IoT.GetTopicRule" "amazonka-iot-1.6.0-CAejnyMMkfk3pNFUOERBSd" True) (C1 (MetaCons "GetTopicRule'" PrefixI True) (S1 (MetaSel (Just "_gtrRuleName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs GetTopicRule # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Request Lenses

gtrRuleName :: Lens' GetTopicRule Text #

The name of the rule.

Destructuring the Response

getTopicRuleResponse #

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 #

The output from the GetTopicRule operation.

See: getTopicRuleResponse smart constructor.

Instances
Eq GetTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Data GetTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

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

Defined in Network.AWS.IoT.GetTopicRule

Show GetTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Generic GetTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Associated Types

type Rep GetTopicRuleResponse :: * -> * #

NFData GetTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

Methods

rnf :: GetTopicRuleResponse -> () #

type Rep GetTopicRuleResponse # 
Instance details

Defined in Network.AWS.IoT.GetTopicRule

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

Response Lenses

gtrrsResponseStatus :: Lens' GetTopicRuleResponse Int #

  • - | The response status code.