amazonka-waf-regional-1.6.0: Amazon WAF Regional 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.WAFRegional.ListRateBasedRules

Contents

Description

Returns an array of RuleSummary objects.

Synopsis

Creating a Request

listRateBasedRules :: ListRateBasedRules Source #

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

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

  • lrbrNextMarker - 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 ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules .
  • lrbrLimit - 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 .

data ListRateBasedRules Source #

See: listRateBasedRules smart constructor.

Instances

Eq ListRateBasedRules Source # 
Data ListRateBasedRules Source # 

Methods

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

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

toConstr :: ListRateBasedRules -> Constr #

dataTypeOf :: ListRateBasedRules -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRateBasedRules Source # 
Show ListRateBasedRules Source # 
Generic ListRateBasedRules Source # 
Hashable ListRateBasedRules Source # 
ToJSON ListRateBasedRules Source # 
NFData ListRateBasedRules Source # 

Methods

rnf :: ListRateBasedRules -> () #

AWSRequest ListRateBasedRules Source # 
ToHeaders ListRateBasedRules Source # 
ToPath ListRateBasedRules Source # 
ToQuery ListRateBasedRules Source # 
type Rep ListRateBasedRules Source # 
type Rep ListRateBasedRules = D1 * (MetaData "ListRateBasedRules" "Network.AWS.WAFRegional.ListRateBasedRules" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "ListRateBasedRules'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrbrNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lrbrLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListRateBasedRules Source # 

Request Lenses

lrbrNextMarker :: Lens' ListRateBasedRules (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 ListRateBasedRules requests, specify the value of NextMarker from the previous response to get information about another batch of Rules .

lrbrLimit :: Lens' ListRateBasedRules (Maybe 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

listRateBasedRulesResponse Source #

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

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

  • lrbrrsRules - An array of RuleSummary objects.
  • lrbrrsNextMarker - 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 ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.
  • lrbrrsResponseStatus - -- | The response status code.

data ListRateBasedRulesResponse Source #

See: listRateBasedRulesResponse smart constructor.

Instances

Eq ListRateBasedRulesResponse Source # 
Data ListRateBasedRulesResponse Source # 

Methods

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

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

toConstr :: ListRateBasedRulesResponse -> Constr #

dataTypeOf :: ListRateBasedRulesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRateBasedRulesResponse Source # 
Show ListRateBasedRulesResponse Source # 
Generic ListRateBasedRulesResponse Source # 
NFData ListRateBasedRulesResponse Source # 
type Rep ListRateBasedRulesResponse Source # 
type Rep ListRateBasedRulesResponse = D1 * (MetaData "ListRateBasedRulesResponse" "Network.AWS.WAFRegional.ListRateBasedRules" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "ListRateBasedRulesResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrbrrsRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [RuleSummary]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrbrrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lrbrrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lrbrrsNextMarker :: Lens' ListRateBasedRulesResponse (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 ListRateBasedRules request, and specify the NextMarker value from the response in the NextMarker value in the next request.