WAF / Client / list_regex_pattern_sets
list_regex_pattern_sets¶
- WAF.Client.list_regex_pattern_sets(**kwargs)¶
Note
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.
See also: AWS API Documentation
Request Syntax
response = client.list_regex_pattern_sets( NextMarker='string', Limit=123 )
- Parameters:
NextMarker (string) – If you specify a value for
Limitand you have moreRegexPatternSetobjects than the value ofLimit, AWS WAF returns aNextMarkervalue in the response that allows you to list another group ofRegexPatternSetobjects. For the second and subsequentListRegexPatternSetsrequests, specify the value ofNextMarkerfrom the previous response to get information about another batch ofRegexPatternSetobjects.Limit (integer) – Specifies the number of
RegexPatternSetobjects that you want AWS WAF to return for this request. If you have moreRegexPatternSetobjects than the number you specify forLimit, the response includes aNextMarkervalue that you can use to get another batch ofRegexPatternSetobjects.
- Return type:
dict
- Returns:
Response Syntax
{ 'NextMarker': 'string', 'RegexPatternSets': [ { 'RegexPatternSetId': 'string', 'Name': 'string' }, ] }
Response Structure
(dict) –
NextMarker (string) –
If you have more
RegexPatternSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRegexPatternSetobjects, submit anotherListRegexPatternSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.RegexPatternSets (list) –
An array of RegexPatternSetSummary objects.
(dict) –
Note
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.
Returned by ListRegexPatternSets. Each
RegexPatternSetSummaryobject includes theNameandRegexPatternSetIdfor one RegexPatternSet.RegexPatternSetId (string) –
The
RegexPatternSetIdfor aRegexPatternSet. You useRegexPatternSetIdto get information about aRegexPatternSet, update aRegexPatternSet, remove aRegexPatternSetfrom aRegexMatchSet, and delete aRegexPatternSetfrom AWS WAF.RegexPatternSetIdis returned by CreateRegexPatternSet and by ListRegexPatternSets.Name (string) –
A friendly name or description of the RegexPatternSet. You can’t change
Nameafter you create aRegexPatternSet.
Exceptions
WAF.Client.exceptions.WAFInternalErrorExceptionWAF.Client.exceptions.WAFInvalidAccountException