| 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.ListRateBasedRules
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 RuleSummary objects.
Synopsis
- data ListRateBasedRules = ListRateBasedRules' {}
- newListRateBasedRules :: ListRateBasedRules
- listRateBasedRules_limit :: Lens' ListRateBasedRules (Maybe Natural)
- listRateBasedRules_nextMarker :: Lens' ListRateBasedRules (Maybe Text)
- data ListRateBasedRulesResponse = ListRateBasedRulesResponse' {
- nextMarker :: Maybe Text
- rules :: Maybe [RuleSummary]
- httpStatus :: Int
- newListRateBasedRulesResponse :: Int -> ListRateBasedRulesResponse
- listRateBasedRulesResponse_nextMarker :: Lens' ListRateBasedRulesResponse (Maybe Text)
- listRateBasedRulesResponse_rules :: Lens' ListRateBasedRulesResponse (Maybe [RuleSummary])
- listRateBasedRulesResponse_httpStatus :: Lens' ListRateBasedRulesResponse Int
Creating a Request
data ListRateBasedRules Source #
See: newListRateBasedRules smart constructor.
Constructors
| ListRateBasedRules' | |
Fields
| |
Instances
newListRateBasedRules :: ListRateBasedRules Source #
Create a value of ListRateBasedRules 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:ListRateBasedRules', listRateBasedRules_limit - Specifies the number of Rules that you want AWS WAF to return for this
request. If you have more Rules than the number that you specify for
Limit, the response includes a NextMarker value that you can use to
get another batch of Rules.
ListRateBasedRules, listRateBasedRules_nextMarker - If you specify a value for Limit and you have more Rules than the
value of Limit, AWS WAF returns a NextMarker value in the response
that allows you to list another group of Rules. For the second and
subsequent ListRateBasedRules requests, specify the value of
NextMarker from the previous response to get information about another
batch of Rules.
Request Lenses
listRateBasedRules_limit :: Lens' ListRateBasedRules (Maybe Natural) Source #
Specifies the number of Rules that you want AWS WAF to return for this
request. If you have more Rules than the number that you specify for
Limit, the response includes a NextMarker value that you can use to
get another batch of Rules.
listRateBasedRules_nextMarker :: Lens' ListRateBasedRules (Maybe Text) Source #
If you specify a value for Limit and you have more Rules than the
value of Limit, AWS WAF returns a NextMarker value in the response
that allows you to list another group of Rules. For the second and
subsequent ListRateBasedRules requests, specify the value of
NextMarker from the previous response to get information about another
batch of Rules.
Destructuring the Response
data ListRateBasedRulesResponse Source #
See: newListRateBasedRulesResponse smart constructor.
Constructors
| ListRateBasedRulesResponse' | |
Fields
| |
Instances
newListRateBasedRulesResponse Source #
Create a value of ListRateBasedRulesResponse 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:
ListRateBasedRules, listRateBasedRulesResponse_nextMarker - If you have more Rules than the number that you specified for Limit
in the request, the response includes a NextMarker value. To list more
Rules, submit another ListRateBasedRules request, and specify the
NextMarker value from the response in the NextMarker value in the
next request.
ListRateBasedRulesResponse, listRateBasedRulesResponse_rules - An array of RuleSummary objects.
$sel:httpStatus:ListRateBasedRulesResponse', listRateBasedRulesResponse_httpStatus - The response's http status code.
Response Lenses
listRateBasedRulesResponse_nextMarker :: Lens' ListRateBasedRulesResponse (Maybe Text) Source #
If you have more Rules than the number that you specified for Limit
in the request, the response includes a NextMarker value. To list more
Rules, submit another ListRateBasedRules request, and specify the
NextMarker value from the response in the NextMarker value in the
next request.
listRateBasedRulesResponse_rules :: Lens' ListRateBasedRulesResponse (Maybe [RuleSummary]) Source #
An array of RuleSummary objects.
listRateBasedRulesResponse_httpStatus :: Lens' ListRateBasedRulesResponse Int Source #
The response's http status code.