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.ListSubscribedRuleGroups

Contents

Description

Returns an array of RuleGroup objects that you are subscribed to.

Synopsis

Creating a Request

listSubscribedRuleGroups :: ListSubscribedRuleGroups Source #

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

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

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

data ListSubscribedRuleGroups Source #

See: listSubscribedRuleGroups smart constructor.

Instances
Eq ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Data ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Methods

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

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

toConstr :: ListSubscribedRuleGroups -> Constr #

dataTypeOf :: ListSubscribedRuleGroups -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Show ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Generic ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Associated Types

type Rep ListSubscribedRuleGroups :: Type -> Type #

Hashable ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

ToJSON ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

AWSRequest ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Associated Types

type Rs ListSubscribedRuleGroups :: Type #

ToHeaders ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

ToPath ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

ToQuery ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

NFData ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroups Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

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

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Request Lenses

lsrgNextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text) Source #

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

lsrgLimit :: Lens' ListSubscribedRuleGroups (Maybe Natural) Source #

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

Destructuring the Response

listSubscribedRuleGroupsResponse Source #

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

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

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

data ListSubscribedRuleGroupsResponse Source #

See: listSubscribedRuleGroupsResponse smart constructor.

Instances
Eq ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Data ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Methods

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

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

toConstr :: ListSubscribedRuleGroupsResponse -> Constr #

dataTypeOf :: ListSubscribedRuleGroupsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Show ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Generic ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

Associated Types

type Rep ListSubscribedRuleGroupsResponse :: Type -> Type #

NFData ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroupsResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroupsResponse = D1 (MetaData "ListSubscribedRuleGroupsResponse" "Network.AWS.WAFRegional.ListSubscribedRuleGroups" "amazonka-waf-regional-1.6.1-IvDSn8aH4TMJoxm1GVf7Ug" False) (C1 (MetaCons "ListSubscribedRuleGroupsResponse'" PrefixI True) (S1 (MetaSel (Just "_lsrgrsRuleGroups") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [SubscribedRuleGroupSummary])) :*: (S1 (MetaSel (Just "_lsrgrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lsrgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

lsrgrsNextMarker :: Lens' ListSubscribedRuleGroupsResponse (Maybe Text) Source #

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