amazonka-waf-1.6.1: 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.ListSubscribedRuleGroups

Contents

Description

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

Synopsis

Creating a Request

listSubscribedRuleGroups :: ListSubscribedRuleGroups #

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 #

See: listSubscribedRuleGroups smart constructor.

Instances
Eq ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Data ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.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 # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Show ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Generic ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Associated Types

type Rep ListSubscribedRuleGroups :: Type -> Type #

Hashable ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

ToJSON ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

AWSRequest ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Associated Types

type Rs ListSubscribedRuleGroups :: Type #

ToHeaders ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

ToPath ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

ToQuery ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

NFData ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroups # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroups = D1 (MetaData "ListSubscribedRuleGroups" "Network.AWS.WAF.ListSubscribedRuleGroups" "amazonka-waf-1.6.1-58qiOW5VcwnIkfAeSj6srS" 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 # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Request Lenses

lsrgNextMarker :: Lens' ListSubscribedRuleGroups (Maybe Text) #

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) #

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 #

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 #

See: listSubscribedRuleGroupsResponse smart constructor.

Instances
Eq ListSubscribedRuleGroupsResponse # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Data ListSubscribedRuleGroupsResponse # 
Instance details

Defined in Network.AWS.WAF.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 # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Show ListSubscribedRuleGroupsResponse # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Generic ListSubscribedRuleGroupsResponse # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

Associated Types

type Rep ListSubscribedRuleGroupsResponse :: Type -> Type #

NFData ListSubscribedRuleGroupsResponse # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroupsResponse # 
Instance details

Defined in Network.AWS.WAF.ListSubscribedRuleGroups

type Rep ListSubscribedRuleGroupsResponse = D1 (MetaData "ListSubscribedRuleGroupsResponse" "Network.AWS.WAF.ListSubscribedRuleGroups" "amazonka-waf-1.6.1-58qiOW5VcwnIkfAeSj6srS" 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) #

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.