GetRegexPatternSet - AWS WAFV2





Returns the RegexPatternSet specified by RegexPatternSetId.

Request Syntax

{ "RegexPatternSetId": "string" }

Request Parameters


The request accepts the following data in JSON format.


The RegexPatternSetId of the RegexPatternSet that you want to get. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets .

Type: String


Pattern: .*\S.*

Required: Yes

Response Syntax

{ "RegexPatternSet": { "Name": "string", "RegexPatternSetId": "string", "RegexPatternStrings": [ "string" ] } }

Response Elements


The following data is returned in JSON format by the service.


Information about the RegexPatternSet that you specified in the GetRegexPatternSet request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.

Type: RegexPatternSet object





HTTP Status Code: 500



HTTP Status Code: 400


The operation failed because the referenced object doesn't exist.

HTTP Status Code: 400

See Also
