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

Defined in Network.AWS.IoT.ListTopicRules

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

Defined in Network.AWS.IoT.ListTopicRules

Show ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Generic ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Associated Types

type Rep ListTopicRules :: Type -> Type #

Hashable ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

AWSPager ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

AWSRequest ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Associated Types

type Rs ListTopicRules :: Type #

ToHeaders ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

ToPath ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

ToQuery ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

NFData ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Methods

rnf :: ListTopicRules -> () #

type Rep ListTopicRules Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

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

Defined in Network.AWS.IoT.ListTopicRules

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

Defined in Network.AWS.IoT.ListTopicRules

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

Defined in Network.AWS.IoT.ListTopicRules

Show ListTopicRulesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Generic ListTopicRulesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Associated Types

type Rep ListTopicRulesResponse :: Type -> Type #

NFData ListTopicRulesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

Methods

rnf :: ListTopicRulesResponse -> () #

type Rep ListTopicRulesResponse Source # 
Instance details

Defined in Network.AWS.IoT.ListTopicRules

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

A token used to retrieve the next value.