| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WAFRegional.ListRuleGroups
Description
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
Returns an array of RuleGroup objects.
Synopsis
- data ListRuleGroups = ListRuleGroups' {}
- newListRuleGroups :: ListRuleGroups
- listRuleGroups_limit :: Lens' ListRuleGroups (Maybe Natural)
- listRuleGroups_nextMarker :: Lens' ListRuleGroups (Maybe Text)
- data ListRuleGroupsResponse = ListRuleGroupsResponse' {
- nextMarker :: Maybe Text
- ruleGroups :: Maybe [RuleGroupSummary]
- httpStatus :: Int
- newListRuleGroupsResponse :: Int -> ListRuleGroupsResponse
- listRuleGroupsResponse_nextMarker :: Lens' ListRuleGroupsResponse (Maybe Text)
- listRuleGroupsResponse_ruleGroups :: Lens' ListRuleGroupsResponse (Maybe [RuleGroupSummary])
- listRuleGroupsResponse_httpStatus :: Lens' ListRuleGroupsResponse Int
Creating a Request
data ListRuleGroups Source #
See: newListRuleGroups smart constructor.
Constructors
| ListRuleGroups' | |
Fields
| |
Instances
newListRuleGroups :: ListRuleGroups Source #
Create a value of ListRuleGroups with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:limit:ListRuleGroups', listRuleGroups_limit - 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.
ListRuleGroups, listRuleGroups_nextMarker - 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.
Request Lenses
listRuleGroups_limit :: 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.
listRuleGroups_nextMarker :: 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.
Destructuring the Response
data ListRuleGroupsResponse Source #
See: newListRuleGroupsResponse smart constructor.
Constructors
| ListRuleGroupsResponse' | |
Fields
| |
Instances
newListRuleGroupsResponse Source #
Create a value of ListRuleGroupsResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListRuleGroups, listRuleGroupsResponse_nextMarker - 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.
$sel:ruleGroups:ListRuleGroupsResponse', listRuleGroupsResponse_ruleGroups - An array of RuleGroup objects.
$sel:httpStatus:ListRuleGroupsResponse', listRuleGroupsResponse_httpStatus - The response's http status code.
Response Lenses
listRuleGroupsResponse_nextMarker :: 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.
listRuleGroupsResponse_ruleGroups :: Lens' ListRuleGroupsResponse (Maybe [RuleGroupSummary]) Source #
An array of RuleGroup objects.
listRuleGroupsResponse_httpStatus :: Lens' ListRuleGroupsResponse Int Source #
The response's http status code.