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

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

The input for the ListTopicRules operation.

See: listTopicRules smart constructor.

Instances

Eq ListTopicRules Source # 
Data ListTopicRules Source # 

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 Source # 
Show ListTopicRules Source # 
Generic ListTopicRules Source # 

Associated Types

type Rep ListTopicRules :: * -> * #

Hashable ListTopicRules Source # 
NFData ListTopicRules Source # 

Methods

rnf :: ListTopicRules -> () #

AWSPager ListTopicRules Source # 
AWSRequest ListTopicRules Source # 
ToHeaders ListTopicRules Source # 
ToPath ListTopicRules Source # 
ToQuery ListTopicRules Source # 
type Rep ListTopicRules Source # 
type Rep ListTopicRules = D1 * (MetaData "ListTopicRules" "Network.AWS.IoT.ListTopicRules" "amazonka-iot-1.6.0-GZYdsKS1TEjHFZo6BqaYJk" False) (C1 * (MetaCons "ListTopicRules'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_ltrRuleDisabled") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) (S1 * (MetaSel (Just Symbol "_ltrTopic") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_ltrNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_ltrMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListTopicRules Source # 

Request Lenses

ltrRuleDisabled :: Lens' ListTopicRules (Maybe Bool) Source #

Specifies whether the rule is disabled.

ltrNextToken :: Lens' ListTopicRules (Maybe Text) Source #

A token used to retrieve the next value.

ltrMaxResults :: Lens' ListTopicRules (Maybe Natural) Source #

The maximum number of results to return.

Destructuring the Response

listTopicRulesResponse Source #

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

The output from the ListTopicRules operation.

See: listTopicRulesResponse smart constructor.

Instances

Eq ListTopicRulesResponse Source # 
Data ListTopicRulesResponse Source # 

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 Source # 
Show ListTopicRulesResponse Source # 
Generic ListTopicRulesResponse Source # 
NFData ListTopicRulesResponse Source # 

Methods

rnf :: ListTopicRulesResponse -> () #

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

Response Lenses

ltrrsNextToken :: Lens' ListTopicRulesResponse (Maybe Text) Source #

A token used to retrieve the next value.