Copyright | (c) 2013-2021 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 |
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 IPSetSummary objects in the response.
This operation returns paginated results.
Synopsis
- data ListIPSets = ListIPSets' {}
- newListIPSets :: ListIPSets
- listIPSets_nextMarker :: Lens' ListIPSets (Maybe Text)
- listIPSets_limit :: Lens' ListIPSets (Maybe Natural)
- data ListIPSetsResponse = ListIPSetsResponse' {
- nextMarker :: Maybe Text
- iPSets :: Maybe [IPSetSummary]
- httpStatus :: Int
- newListIPSetsResponse :: Int -> ListIPSetsResponse
- listIPSetsResponse_nextMarker :: Lens' ListIPSetsResponse (Maybe Text)
- listIPSetsResponse_iPSets :: Lens' ListIPSetsResponse (Maybe [IPSetSummary])
- listIPSetsResponse_httpStatus :: Lens' ListIPSetsResponse Int
Creating a Request
data ListIPSets Source #
See: newListIPSets
smart constructor.
ListIPSets' | |
|
Instances
newListIPSets :: ListIPSets Source #
Create a value of ListIPSets
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:nextMarker:ListIPSets'
, listIPSets_nextMarker
- 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
.
$sel:limit:ListIPSets'
, listIPSets_limit
- 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.
Request Lenses
listIPSets_nextMarker :: Lens' ListIPSets (Maybe Text) Source #
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
.
listIPSets_limit :: 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
data ListIPSetsResponse Source #
See: newListIPSetsResponse
smart constructor.
ListIPSetsResponse' | |
|
Instances
newListIPSetsResponse Source #
Create a value of ListIPSetsResponse
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:nextMarker:ListIPSets'
, listIPSetsResponse_nextMarker
- To list more IPSet
objects, submit another ListIPSets
request, and
in the next request use the NextMarker
response value as the
NextMarker
value.
$sel:iPSets:ListIPSetsResponse'
, listIPSetsResponse_iPSets
- An array of IPSetSummary objects.
$sel:httpStatus:ListIPSetsResponse'
, listIPSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listIPSetsResponse_nextMarker :: Lens' ListIPSetsResponse (Maybe Text) Source #
To list more IPSet
objects, submit another ListIPSets
request, and
in the next request use the NextMarker
response value as the
NextMarker
value.
listIPSetsResponse_iPSets :: Lens' ListIPSetsResponse (Maybe [IPSetSummary]) Source #
An array of IPSetSummary objects.
listIPSetsResponse_httpStatus :: Lens' ListIPSetsResponse Int Source #
The response's http status code.