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 RegexPatternSetSummary objects.
This operation returns paginated results.
Synopsis
- data ListRegexPatternSets = ListRegexPatternSets' {}
- newListRegexPatternSets :: ListRegexPatternSets
- listRegexPatternSets_nextMarker :: Lens' ListRegexPatternSets (Maybe Text)
- listRegexPatternSets_limit :: Lens' ListRegexPatternSets (Maybe Natural)
- data ListRegexPatternSetsResponse = ListRegexPatternSetsResponse' {}
- newListRegexPatternSetsResponse :: Int -> ListRegexPatternSetsResponse
- listRegexPatternSetsResponse_regexPatternSets :: Lens' ListRegexPatternSetsResponse (Maybe [RegexPatternSetSummary])
- listRegexPatternSetsResponse_nextMarker :: Lens' ListRegexPatternSetsResponse (Maybe Text)
- listRegexPatternSetsResponse_httpStatus :: Lens' ListRegexPatternSetsResponse Int
Creating a Request
data ListRegexPatternSets Source #
See: newListRegexPatternSets
smart constructor.
ListRegexPatternSets' | |
|
Instances
newListRegexPatternSets :: ListRegexPatternSets Source #
Create a value of ListRegexPatternSets
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:ListRegexPatternSets'
, listRegexPatternSets_nextMarker
- If you specify a value for Limit
and you have more RegexPatternSet
objects than the value of Limit
, AWS WAF returns a NextMarker
value
in the response that allows you to list another group of
RegexPatternSet
objects. For the second and subsequent
ListRegexPatternSets
requests, specify the value of NextMarker
from
the previous response to get information about another batch of
RegexPatternSet
objects.
$sel:limit:ListRegexPatternSets'
, listRegexPatternSets_limit
- Specifies the number of RegexPatternSet
objects that you want AWS WAF
to return for this request. If you have more RegexPatternSet
objects
than the number you specify for Limit
, the response includes a
NextMarker
value that you can use to get another batch of
RegexPatternSet
objects.
Request Lenses
listRegexPatternSets_nextMarker :: Lens' ListRegexPatternSets (Maybe Text) Source #
If you specify a value for Limit
and you have more RegexPatternSet
objects than the value of Limit
, AWS WAF returns a NextMarker
value
in the response that allows you to list another group of
RegexPatternSet
objects. For the second and subsequent
ListRegexPatternSets
requests, specify the value of NextMarker
from
the previous response to get information about another batch of
RegexPatternSet
objects.
listRegexPatternSets_limit :: Lens' ListRegexPatternSets (Maybe Natural) Source #
Specifies the number of RegexPatternSet
objects that you want AWS WAF
to return for this request. If you have more RegexPatternSet
objects
than the number you specify for Limit
, the response includes a
NextMarker
value that you can use to get another batch of
RegexPatternSet
objects.
Destructuring the Response
data ListRegexPatternSetsResponse Source #
See: newListRegexPatternSetsResponse
smart constructor.
ListRegexPatternSetsResponse' | |
|
Instances
newListRegexPatternSetsResponse Source #
Create a value of ListRegexPatternSetsResponse
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:regexPatternSets:ListRegexPatternSetsResponse'
, listRegexPatternSetsResponse_regexPatternSets
- An array of RegexPatternSetSummary objects.
$sel:nextMarker:ListRegexPatternSets'
, listRegexPatternSetsResponse_nextMarker
- If you have more RegexPatternSet
objects than the number that you
specified for Limit
in the request, the response includes a
NextMarker
value. To list more RegexPatternSet
objects, submit
another ListRegexPatternSets
request, and specify the NextMarker
value from the response in the NextMarker
value in the next request.
$sel:httpStatus:ListRegexPatternSetsResponse'
, listRegexPatternSetsResponse_httpStatus
- The response's http status code.
Response Lenses
listRegexPatternSetsResponse_regexPatternSets :: Lens' ListRegexPatternSetsResponse (Maybe [RegexPatternSetSummary]) Source #
An array of RegexPatternSetSummary objects.
listRegexPatternSetsResponse_nextMarker :: Lens' ListRegexPatternSetsResponse (Maybe Text) Source #
If you have more RegexPatternSet
objects than the number that you
specified for Limit
in the request, the response includes a
NextMarker
value. To list more RegexPatternSet
objects, submit
another ListRegexPatternSets
request, and specify the NextMarker
value from the response in the NextMarker
value in the next request.
listRegexPatternSetsResponse_httpStatus :: Lens' ListRegexPatternSetsResponse Int Source #
The response's http status code.