| 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.ListRateBasedRules
Description
Returns an array of RuleSummary objects.
Synopsis
- listRateBasedRules :: ListRateBasedRules
- data ListRateBasedRules
- lrbrNextMarker :: Lens' ListRateBasedRules (Maybe Text)
- lrbrLimit :: Lens' ListRateBasedRules (Maybe Natural)
- listRateBasedRulesResponse :: Int -> ListRateBasedRulesResponse
- data ListRateBasedRulesResponse
- lrbrrsRules :: Lens' ListRateBasedRulesResponse [RuleSummary]
- lrbrrsNextMarker :: Lens' ListRateBasedRulesResponse (Maybe Text)
- lrbrrsResponseStatus :: Lens' ListRateBasedRulesResponse Int
Creating a Request
listRateBasedRules :: ListRateBasedRules Source #
Creates a value of ListRateBasedRules with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrbrNextMarker- If you specify a value forLimitand you have moreRulesthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRules. For the second and subsequentListRateBasedRulesrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRules.lrbrLimit- Specifies the number ofRulesthat you want AWS WAF to return for this request. If you have moreRulesthan the number that you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRules.
data ListRateBasedRules Source #
See: listRateBasedRules smart constructor.
Instances
Request Lenses
lrbrNextMarker :: 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 .
lrbrLimit :: 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 .
Destructuring the Response
listRateBasedRulesResponse Source #
Arguments
| :: Int | |
| -> ListRateBasedRulesResponse |
Creates a value of ListRateBasedRulesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrbrrsRules- An array ofRuleSummaryobjects.lrbrrsNextMarker- If you have moreRulesthan the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRules, submit anotherListRateBasedRulesrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.lrbrrsResponseStatus- -- | The response status code.
data ListRateBasedRulesResponse Source #
See: listRateBasedRulesResponse smart constructor.
Instances
Response Lenses
lrbrrsRules :: Lens' ListRateBasedRulesResponse [RuleSummary] Source #
An array of RuleSummary objects.
lrbrrsNextMarker :: 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.
lrbrrsResponseStatus :: Lens' ListRateBasedRulesResponse Int Source #
- - | The response status code.