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

Contents

Description

Returns an array of ActivatedRule objects.

Synopsis

Creating a Request

listActivatedRulesInRuleGroup :: ListActivatedRulesInRuleGroup Source #

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

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

  • larirgRuleGroupId - The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.
  • larirgNextMarker - If you specify a value for Limit and you have more ActivatedRules than the value of Limit , AWS WAF returns a NextMarker value in the response that allows you to list another group of ActivatedRules . For the second and subsequent ListActivatedRulesInRuleGroup requests, specify the value of NextMarker from the previous response to get information about another batch of ActivatedRules .
  • larirgLimit - Specifies the number of ActivatedRules that you want AWS WAF to return for this request. If you have more ActivatedRules than the number that you specify for Limit , the response includes a NextMarker value that you can use to get another batch of ActivatedRules .

data ListActivatedRulesInRuleGroup Source #

See: listActivatedRulesInRuleGroup smart constructor.

Instances

Eq ListActivatedRulesInRuleGroup Source # 
Data ListActivatedRulesInRuleGroup Source # 

Methods

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

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

toConstr :: ListActivatedRulesInRuleGroup -> Constr #

dataTypeOf :: ListActivatedRulesInRuleGroup -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListActivatedRulesInRuleGroup Source # 
Show ListActivatedRulesInRuleGroup Source # 
Generic ListActivatedRulesInRuleGroup Source # 
Hashable ListActivatedRulesInRuleGroup Source # 
ToJSON ListActivatedRulesInRuleGroup Source # 
NFData ListActivatedRulesInRuleGroup Source # 
AWSRequest ListActivatedRulesInRuleGroup Source # 
ToHeaders ListActivatedRulesInRuleGroup Source # 
ToPath ListActivatedRulesInRuleGroup Source # 
ToQuery ListActivatedRulesInRuleGroup Source # 
type Rep ListActivatedRulesInRuleGroup Source # 
type Rep ListActivatedRulesInRuleGroup = D1 * (MetaData "ListActivatedRulesInRuleGroup" "Network.AWS.WAF.ListActivatedRulesInRuleGroup" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "ListActivatedRulesInRuleGroup'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_larirgRuleGroupId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larirgNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_larirgLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))))
type Rs ListActivatedRulesInRuleGroup Source # 

Request Lenses

larirgRuleGroupId :: Lens' ListActivatedRulesInRuleGroup (Maybe Text) Source #

The RuleGroupId of the RuleGroup for which you want to get a list of ActivatedRule objects.

larirgNextMarker :: Lens' ListActivatedRulesInRuleGroup (Maybe Text) Source #

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

larirgLimit :: Lens' ListActivatedRulesInRuleGroup (Maybe Natural) Source #

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

Destructuring the Response

listActivatedRulesInRuleGroupResponse Source #

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

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

  • larirgrsNextMarker - If you have more ActivatedRules than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more ActivatedRules , submit another ListActivatedRulesInRuleGroup request, and specify the NextMarker value from the response in the NextMarker value in the next request.
  • larirgrsActivatedRules - An array of ActivatedRules objects.
  • larirgrsResponseStatus - -- | The response status code.

data ListActivatedRulesInRuleGroupResponse Source #

Instances

Eq ListActivatedRulesInRuleGroupResponse Source # 
Data ListActivatedRulesInRuleGroupResponse Source # 

Methods

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

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

toConstr :: ListActivatedRulesInRuleGroupResponse -> Constr #

dataTypeOf :: ListActivatedRulesInRuleGroupResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListActivatedRulesInRuleGroupResponse Source # 
Show ListActivatedRulesInRuleGroupResponse Source # 
Generic ListActivatedRulesInRuleGroupResponse Source # 
NFData ListActivatedRulesInRuleGroupResponse Source # 
type Rep ListActivatedRulesInRuleGroupResponse Source # 
type Rep ListActivatedRulesInRuleGroupResponse = D1 * (MetaData "ListActivatedRulesInRuleGroupResponse" "Network.AWS.WAF.ListActivatedRulesInRuleGroup" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "ListActivatedRulesInRuleGroupResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_larirgrsNextMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_larirgrsActivatedRules") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [ActivatedRule]))) (S1 * (MetaSel (Just Symbol "_larirgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

larirgrsNextMarker :: Lens' ListActivatedRulesInRuleGroupResponse (Maybe Text) Source #

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