amazonka-waf-1.6.0: Amazon WAF 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.WAF.ListRuleGroups

Contents

Description

Returns an array of RuleGroup objects.

Synopsis

Creating a Request

listRuleGroups :: ListRuleGroups Source #

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

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

  • lrgNextMarker - If you specify a value for Limit and you have more RuleGroups than the value of Limit , AWS WAF returns a NextMarker value in the response that allows you to list another group of RuleGroups . For the second and subsequent ListRuleGroups requests, specify the value of NextMarker from the previous response to get information about another batch of RuleGroups .
  • lrgLimit - Specifies the number of RuleGroups that you want AWS WAF to return for this request. If you have more RuleGroups than the number that you specify for Limit , the response includes a NextMarker value that you can use to get another batch of RuleGroups .

data ListRuleGroups Source #

See: listRuleGroups smart constructor.

Instances

Eq ListRuleGroups Source # 
Data ListRuleGroups Source # 

Methods

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

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

toConstr :: ListRuleGroups -> Constr #

dataTypeOf :: ListRuleGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRuleGroups Source # 
Show ListRuleGroups Source # 
Generic ListRuleGroups Source # 

Associated Types

type Rep ListRuleGroups :: * -> * #

Hashable ListRuleGroups Source # 
ToJSON ListRuleGroups Source # 
NFData ListRuleGroups Source # 

Methods

rnf :: ListRuleGroups -> () #

AWSRequest ListRuleGroups Source # 
ToHeaders ListRuleGroups Source # 
ToPath ListRuleGroups Source # 
ToQuery ListRuleGroups Source # 
type Rep ListRuleGroups Source # 
type Rep ListRuleGroups = D1 * (MetaData "ListRuleGroups" "Network.AWS.WAF.ListRuleGroups" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "ListRuleGroups'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrgNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lrgLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))
type Rs ListRuleGroups Source # 

Request Lenses

lrgNextMarker :: Lens' ListRuleGroups (Maybe Text) Source #

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

lrgLimit :: Lens' ListRuleGroups (Maybe Natural) Source #

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

Destructuring the Response

listRuleGroupsResponse Source #

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

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

  • lrgrsRuleGroups - An array of RuleGroup objects.
  • lrgrsNextMarker - If you have more RuleGroups than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more RuleGroups , submit another ListRuleGroups request, and specify the NextMarker value from the response in the NextMarker value in the next request.
  • lrgrsResponseStatus - -- | The response status code.

data ListRuleGroupsResponse Source #

See: listRuleGroupsResponse smart constructor.

Instances

Eq ListRuleGroupsResponse Source # 
Data ListRuleGroupsResponse Source # 

Methods

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

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

toConstr :: ListRuleGroupsResponse -> Constr #

dataTypeOf :: ListRuleGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListRuleGroupsResponse Source # 
Show ListRuleGroupsResponse Source # 
Generic ListRuleGroupsResponse Source # 
NFData ListRuleGroupsResponse Source # 

Methods

rnf :: ListRuleGroupsResponse -> () #

type Rep ListRuleGroupsResponse Source # 
type Rep ListRuleGroupsResponse = D1 * (MetaData "ListRuleGroupsResponse" "Network.AWS.WAF.ListRuleGroups" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "ListRuleGroupsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrgrsRuleGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [RuleGroupSummary]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_lrgrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_lrgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

lrgrsNextMarker :: Lens' ListRuleGroupsResponse (Maybe Text) Source #

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