amazonka-waf-regional-1.6.1: 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.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 # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Data ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

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

Defined in Network.AWS.WAFRegional.ListRuleGroups

Show ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Generic ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Associated Types

type Rep ListRuleGroups :: Type -> Type #

Hashable ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

ToJSON ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

AWSRequest ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Associated Types

type Rs ListRuleGroups :: Type #

ToHeaders ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

ToPath ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

ToQuery ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

NFData ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Methods

rnf :: ListRuleGroups -> () #

type Rep ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

type Rep ListRuleGroups = D1 (MetaData "ListRuleGroups" "Network.AWS.WAFRegional.ListRuleGroups" "amazonka-waf-regional-1.6.1-IvDSn8aH4TMJoxm1GVf7Ug" False) (C1 (MetaCons "ListRuleGroups'" PrefixI True) (S1 (MetaSel (Just "_lrgNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lrgLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))
type Rs ListRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

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

Defined in Network.AWS.WAFRegional.ListRuleGroups

Data ListRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

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

Defined in Network.AWS.WAFRegional.ListRuleGroups

Show ListRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Generic ListRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Associated Types

type Rep ListRuleGroupsResponse :: Type -> Type #

NFData ListRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

Methods

rnf :: ListRuleGroupsResponse -> () #

type Rep ListRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListRuleGroups

type Rep ListRuleGroupsResponse = D1 (MetaData "ListRuleGroupsResponse" "Network.AWS.WAFRegional.ListRuleGroups" "amazonka-waf-regional-1.6.1-IvDSn8aH4TMJoxm1GVf7Ug" False) (C1 (MetaCons "ListRuleGroupsResponse'" PrefixI True) (S1 (MetaSel (Just "_lrgrsRuleGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [RuleGroupSummary])) :*: (S1 (MetaSel (Just "_lrgrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.