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 |
Returns an array of RuleGroup
objects.
Synopsis
- listRuleGroups :: ListRuleGroups
- data ListRuleGroups
- lrgNextMarker :: Lens' ListRuleGroups (Maybe Text)
- lrgLimit :: Lens' ListRuleGroups (Maybe Natural)
- listRuleGroupsResponse :: Int -> ListRuleGroupsResponse
- data ListRuleGroupsResponse
- lrgrsRuleGroups :: Lens' ListRuleGroupsResponse [RuleGroupSummary]
- lrgrsNextMarker :: Lens' ListRuleGroupsResponse (Maybe Text)
- lrgrsResponseStatus :: Lens' ListRuleGroupsResponse Int
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 forLimit
and you have moreRuleGroups
than the value ofLimit
, AWS WAF returns aNextMarker
value in the response that allows you to list another group ofRuleGroups
. For the second and subsequentListRuleGroups
requests, specify the value ofNextMarker
from the previous response to get information about another batch ofRuleGroups
.lrgLimit
- Specifies the number ofRuleGroups
that you want AWS WAF to return for this request. If you have moreRuleGroups
than the number that you specify forLimit
, the response includes aNextMarker
value that you can use to get another batch ofRuleGroups
.
data ListRuleGroups Source #
See: listRuleGroups
smart constructor.
Instances
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 ofRuleGroup
objects.lrgrsNextMarker
- If you have moreRuleGroups
than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreRuleGroups
, submit anotherListRuleGroups
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.lrgrsResponseStatus
- -- | The response status code.
data ListRuleGroupsResponse Source #
See: listRuleGroupsResponse
smart constructor.
Instances
Response Lenses
lrgrsRuleGroups :: Lens' ListRuleGroupsResponse [RuleGroupSummary] Source #
An array of RuleGroup
objects.
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.
lrgrsResponseStatus :: Lens' ListRuleGroupsResponse Int Source #
- - | The response status code.