| 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.ListRuleGroups
Description
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 forLimitand you have moreRuleGroupsthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRuleGroups. For the second and subsequentListRuleGroupsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRuleGroups.lrgLimit- Specifies the number ofRuleGroupsthat you want AWS WAF to return for this request. If you have moreRuleGroupsthan the number that you specify forLimit, the response includes aNextMarkervalue 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 #
Arguments
| :: Int | |
| -> ListRuleGroupsResponse |
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 ofRuleGroupobjects.lrgrsNextMarker- If you have moreRuleGroupsthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRuleGroups, submit anotherListRuleGroupsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue 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.