| 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.ListIPSets
Description
Returns an array of IPSetSummary objects in the response.
This operation returns paginated results.
Synopsis
- listIPSets :: ListIPSets
- data ListIPSets
- lisNextMarker :: Lens' ListIPSets (Maybe Text)
- lisLimit :: Lens' ListIPSets (Maybe Natural)
- listIPSetsResponse :: Int -> ListIPSetsResponse
- data ListIPSetsResponse
- lisrsNextMarker :: Lens' ListIPSetsResponse (Maybe Text)
- lisrsIPSets :: Lens' ListIPSetsResponse [IPSetSummary]
- lisrsResponseStatus :: Lens' ListIPSetsResponse Int
Creating a Request
listIPSets :: ListIPSets Source #
Creates a value of ListIPSets with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lisNextMarker- If you specify a value forLimitand you have moreIPSetsthan the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofIPSets. For the second and subsequentListIPSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofIPSets.lisLimit- Specifies the number ofIPSetobjects that you want AWS WAF to return for this request. If you have moreIPSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofIPSetobjects.
data ListIPSets Source #
See: listIPSets smart constructor.
Instances
Request Lenses
lisNextMarker :: Lens' ListIPSets (Maybe Text) Source #
If you specify a value for Limit and you have more IPSets than the value of Limit , AWS WAF returns a NextMarker value in the response that allows you to list another group of IPSets . For the second and subsequent ListIPSets requests, specify the value of NextMarker from the previous response to get information about another batch of IPSets .
lisLimit :: Lens' ListIPSets (Maybe Natural) Source #
Specifies the number of IPSet objects that you want AWS WAF to return for this request. If you have more IPSet objects than the number you specify for Limit , the response includes a NextMarker value that you can use to get another batch of IPSet objects.
Destructuring the Response
Arguments
| :: Int | |
| -> ListIPSetsResponse |
Creates a value of ListIPSetsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lisrsNextMarker- If you have moreIPSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreIPSetobjects, submit anotherListIPSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.lisrsIPSets- An array ofIPSetSummaryobjects.lisrsResponseStatus- -- | The response status code.
data ListIPSetsResponse Source #
See: listIPSetsResponse smart constructor.
Instances
Response Lenses
lisrsNextMarker :: Lens' ListIPSetsResponse (Maybe Text) Source #
If you have more IPSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more IPSet objects, submit another ListIPSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.
lisrsIPSets :: Lens' ListIPSetsResponse [IPSetSummary] Source #
An array of IPSetSummary objects.
lisrsResponseStatus :: Lens' ListIPSetsResponse Int Source #
- - | The response status code.