| 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.ListGeoMatchSets
Description
Returns an array of GeoMatchSetSummary objects in the response.
- listGeoMatchSets :: ListGeoMatchSets
- data ListGeoMatchSets
- lgmsNextMarker :: Lens' ListGeoMatchSets (Maybe Text)
- lgmsLimit :: Lens' ListGeoMatchSets (Maybe Natural)
- listGeoMatchSetsResponse :: Int -> ListGeoMatchSetsResponse
- data ListGeoMatchSetsResponse
- lgmsrsGeoMatchSets :: Lens' ListGeoMatchSetsResponse [GeoMatchSetSummary]
- lgmsrsNextMarker :: Lens' ListGeoMatchSetsResponse (Maybe Text)
- lgmsrsResponseStatus :: Lens' ListGeoMatchSetsResponse Int
Creating a Request
listGeoMatchSets :: ListGeoMatchSets Source #
Creates a value of ListGeoMatchSets with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgmsNextMarker- If you specify a value forLimitand you have moreGeoMatchSets than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofGeoMatchSetobjects. For the second and subsequentListGeoMatchSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofGeoMatchSetobjects.lgmsLimit- Specifies the number ofGeoMatchSetobjects that you want AWS WAF to return for this request. If you have moreGeoMatchSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofGeoMatchSetobjects.
data ListGeoMatchSets Source #
See: listGeoMatchSets smart constructor.
Instances
Request Lenses
lgmsNextMarker :: Lens' ListGeoMatchSets (Maybe Text) Source #
If you specify a value for Limit and you have more GeoMatchSet s than the value of Limit , AWS WAF returns a NextMarker value in the response that allows you to list another group of GeoMatchSet objects. For the second and subsequent ListGeoMatchSets requests, specify the value of NextMarker from the previous response to get information about another batch of GeoMatchSet objects.
lgmsLimit :: Lens' ListGeoMatchSets (Maybe Natural) Source #
Specifies the number of GeoMatchSet objects that you want AWS WAF to return for this request. If you have more GeoMatchSet objects than the number you specify for Limit , the response includes a NextMarker value that you can use to get another batch of GeoMatchSet objects.
Destructuring the Response
listGeoMatchSetsResponse Source #
Arguments
| :: Int | |
| -> ListGeoMatchSetsResponse |
Creates a value of ListGeoMatchSetsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lgmsrsGeoMatchSets- An array ofGeoMatchSetSummaryobjects.lgmsrsNextMarker- If you have moreGeoMatchSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreGeoMatchSetobjects, submit anotherListGeoMatchSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.lgmsrsResponseStatus- -- | The response status code.
data ListGeoMatchSetsResponse Source #
See: listGeoMatchSetsResponse smart constructor.
Response Lenses
lgmsrsGeoMatchSets :: Lens' ListGeoMatchSetsResponse [GeoMatchSetSummary] Source #
An array of GeoMatchSetSummary objects.
lgmsrsNextMarker :: Lens' ListGeoMatchSetsResponse (Maybe Text) Source #
If you have more GeoMatchSet objects than the number that you specified for Limit in the request, the response includes a NextMarker value. To list more GeoMatchSet objects, submit another ListGeoMatchSets request, and specify the NextMarker value from the response in the NextMarker value in the next request.
lgmsrsResponseStatus :: Lens' ListGeoMatchSetsResponse Int Source #
- - | The response status code.