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

Contents

Description

Lists the rules for the specific topic.

This operation returns paginated results.

Synopsis

Creating a Request

listTopicRules :: ListTopicRules #

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

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

data ListTopicRules #

The input for the ListTopicRules operation.

See: listTopicRules smart constructor.

Instances
Eq ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Data ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Methods

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

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

toConstr :: ListTopicRules -> Constr #

dataTypeOf :: ListTopicRules -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Show ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Generic ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Associated Types

type Rep ListTopicRules :: * -> * #

Hashable ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

AWSPager ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

AWSRequest ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Associated Types

type Rs ListTopicRules :: * #

ToHeaders ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

ToPath ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

ToQuery ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

NFData ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Methods

rnf :: ListTopicRules -> () #

type Rep ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

type Rep ListTopicRules = D1 (MetaData "ListTopicRules" "Network.AWS.IoT.ListTopicRules" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" False) (C1 (MetaCons "ListTopicRules'" PrefixI True) ((S1 (MetaSel (Just "_ltrRuleDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "_ltrTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_ltrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListTopicRules # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Request Lenses

ltrRuleDisabled :: Lens' ListTopicRules (Maybe Bool) #

Specifies whether the rule is disabled.

ltrNextToken :: Lens' ListTopicRules (Maybe Text) #

A token used to retrieve the next value.

ltrMaxResults :: Lens' ListTopicRules (Maybe Natural) #

The maximum number of results to return.

Destructuring the Response

listTopicRulesResponse #

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

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

data ListTopicRulesResponse #

The output from the ListTopicRules operation.

See: listTopicRulesResponse smart constructor.

Instances
Eq ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Data ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Methods

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

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

toConstr :: ListTopicRulesResponse -> Constr #

dataTypeOf :: ListTopicRulesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Show ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Generic ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Associated Types

type Rep ListTopicRulesResponse :: * -> * #

NFData ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Methods

rnf :: ListTopicRulesResponse -> () #

type Rep ListTopicRulesResponse # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

type Rep ListTopicRulesResponse = D1 (MetaData "ListTopicRulesResponse" "Network.AWS.IoT.ListTopicRules" "amazonka-iot-1.6.0-7Vy7dErS7zJKuWc6mk800q" False) (C1 (MetaCons "ListTopicRulesResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrrsRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TopicRuleListItem])) :*: (S1 (MetaSel (Just "_ltrrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ltrrsNextToken :: Lens' ListTopicRulesResponse (Maybe Text) #

A token used to retrieve the next value.

ltrrsResponseStatus :: Lens' ListTopicRulesResponse Int #

  • - | The response status code.