| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WAF.ListActivatedRulesInRuleGroup
Description
Returns an array of ActivatedRule objects.
Synopsis
- listActivatedRulesInRuleGroup :: ListActivatedRulesInRuleGroup
- data ListActivatedRulesInRuleGroup
- larirgRuleGroupId :: Lens' ListActivatedRulesInRuleGroup (Maybe Text)
- larirgNextMarker :: Lens' ListActivatedRulesInRuleGroup (Maybe Text)
- larirgLimit :: Lens' ListActivatedRulesInRuleGroup (Maybe Natural)
- listActivatedRulesInRuleGroupResponse :: Int -> ListActivatedRulesInRuleGroupResponse
- data ListActivatedRulesInRuleGroupResponse
- larirgrsNextMarker :: Lens' ListActivatedRulesInRuleGroupResponse (Maybe Text)
- larirgrsActivatedRules :: Lens' ListActivatedRulesInRuleGroupResponse [ActivatedRule]
- larirgrsResponseStatus :: Lens' ListActivatedRulesInRuleGroupResponse Int
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- TheRuleGroupIdof theRuleGroupfor which you want to get a list ofActivatedRuleobjects.larirgNextMarker- If you specify a value forLimitand you have moreActivatedRulesthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofActivatedRules. For the second and subsequentListActivatedRulesInRuleGrouprequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofActivatedRules.larirgLimit- Specifies the number ofActivatedRulesthat you want AWS WAF to return for this request. If you have moreActivatedRulesthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofActivatedRules.
data ListActivatedRulesInRuleGroup Source #
See: listActivatedRulesInRuleGroup smart constructor.
Instances
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 moreActivatedRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreActivatedRules, submit anotherListActivatedRulesInRuleGrouprequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.larirgrsActivatedRules- An array ofActivatedRulesobjects.larirgrsResponseStatus- -- | The response status code.
data ListActivatedRulesInRuleGroupResponse Source #
See: listActivatedRulesInRuleGroupResponse smart constructor.
Instances
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.
larirgrsActivatedRules :: Lens' ListActivatedRulesInRuleGroupResponse [ActivatedRule] Source #
An array of ActivatedRules objects.
larirgrsResponseStatus :: Lens' ListActivatedRulesInRuleGroupResponse Int Source #
- - | The response status code.