amazonka-waf-1.4.2: Amazon WAF SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WAF.ListRules

Contents

Description

Returns an array of RuleSummary objects.

Synopsis

Creating a Request

listRules Source #

Arguments

:: Natural

lrLimit

-> ListRules 

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

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

data ListRules Source #

See: listRules smart constructor.

Instances

Eq ListRules Source # 
Data ListRules Source # 

Methods

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

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

toConstr :: ListRules -> Constr #

dataTypeOf :: ListRules -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRules Source # 
Show ListRules Source # 
Generic ListRules Source # 

Associated Types

type Rep ListRules :: * -> * #

ToJSON ListRules Source # 
Hashable ListRules Source # 
NFData ListRules Source # 

Methods

rnf :: ListRules -> () #

AWSRequest ListRules Source # 
ToPath ListRules Source # 
ToHeaders ListRules Source # 

Methods

toHeaders :: ListRules -> [Header] #

ToQuery ListRules Source # 
type Rep ListRules Source # 
type Rep ListRules = D1 (MetaData "ListRules" "Network.AWS.WAF.ListRules" "amazonka-waf-1.4.2-GUOLg0Y7f3KJKVyTZ0nfG8" False) (C1 (MetaCons "ListRules'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))
type Rs ListRules Source # 

Request Lenses

lrNextMarker :: Lens' ListRules (Maybe Text) Source #

If you specify a value for Limit and you have more Rules than the value of Limit, AWS WAF returns a NextMarker value in the response that allows you to list another group of Rules. For the second and subsequent ListRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules.

lrLimit :: Lens' ListRules Natural Source #

Specifies the number of Rules that you want AWS WAF to return for this request. If you have more Rules than the number that you specify for Limit, the response includes a NextMarker value that you can use to get another batch of Rules.

Destructuring the Response

listRulesResponse Source #

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

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

data ListRulesResponse Source #

See: listRulesResponse smart constructor.

Instances

Eq ListRulesResponse Source # 
Data ListRulesResponse Source # 

Methods

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

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

toConstr :: ListRulesResponse -> Constr #

dataTypeOf :: ListRulesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRulesResponse Source # 
Show ListRulesResponse Source # 
Generic ListRulesResponse Source # 
NFData ListRulesResponse Source # 

Methods

rnf :: ListRulesResponse -> () #

type Rep ListRulesResponse Source # 
type Rep ListRulesResponse = D1 (MetaData "ListRulesResponse" "Network.AWS.WAF.ListRules" "amazonka-waf-1.4.2-GUOLg0Y7f3KJKVyTZ0nfG8" False) (C1 (MetaCons "ListRulesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RuleSummary]))) ((:*:) (S1 (MetaSel (Just Symbol "_lrrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses

lrrsNextMarker :: Lens' ListRulesResponse (Maybe Text) Source #

If you have more Rules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more Rules, submit another ListRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.