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.
Permanently deletes a RegexPatternSet. You can't delete a
RegexPatternSet if it's still used in any RegexMatchSet or if the
RegexPatternSet is not empty.
waf_delete_regex_pattern_set(RegexPatternSetId, ChangeToken)[required] The RegexPatternSetId of the RegexPatternSet that you want to delete.
RegexPatternSetId is returned by
create_regex_pattern_set and by
list_regex_pattern_sets.
[required] The value returned by the most recent call to
get_change_token.
A list with the following syntax:
list( ChangeToken = "string" )
svc$delete_regex_pattern_set( RegexPatternSetId = "string", ChangeToken = "string" )