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.
Permanently deletes a RegexMatchSet. You can't delete a RegexMatchSet
if it's still used in any Rules
or if it still includes any
RegexMatchTuples
objects (any filters).
If you just want to remove a RegexMatchSet
from a Rule
, use
UpdateRule.
To permanently delete a RegexMatchSet
, perform the following steps:
- Update the
RegexMatchSet
to remove filters, if any. For more information, see UpdateRegexMatchSet. - Use GetChangeToken to get the change token that you provide in the
ChangeToken
parameter of aDeleteRegexMatchSet
request. - Submit a
DeleteRegexMatchSet
request.
Synopsis
- data DeleteRegexMatchSet = DeleteRegexMatchSet' {}
- newDeleteRegexMatchSet :: Text -> Text -> DeleteRegexMatchSet
- deleteRegexMatchSet_regexMatchSetId :: Lens' DeleteRegexMatchSet Text
- deleteRegexMatchSet_changeToken :: Lens' DeleteRegexMatchSet Text
- data DeleteRegexMatchSetResponse = DeleteRegexMatchSetResponse' {
- changeToken :: Maybe Text
- httpStatus :: Int
- newDeleteRegexMatchSetResponse :: Int -> DeleteRegexMatchSetResponse
- deleteRegexMatchSetResponse_changeToken :: Lens' DeleteRegexMatchSetResponse (Maybe Text)
- deleteRegexMatchSetResponse_httpStatus :: Lens' DeleteRegexMatchSetResponse Int
Creating a Request
data DeleteRegexMatchSet Source #
See: newDeleteRegexMatchSet
smart constructor.
DeleteRegexMatchSet' | |
|
Instances
newDeleteRegexMatchSet Source #
:: Text | |
-> Text | |
-> DeleteRegexMatchSet |
Create a value of DeleteRegexMatchSet
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:regexMatchSetId:DeleteRegexMatchSet'
, deleteRegexMatchSet_regexMatchSetId
- The RegexMatchSetId
of the RegexMatchSet that you want to delete.
RegexMatchSetId
is returned by CreateRegexMatchSet and by
ListRegexMatchSets.
$sel:changeToken:DeleteRegexMatchSet'
, deleteRegexMatchSet_changeToken
- The value returned by the most recent call to GetChangeToken.
Request Lenses
deleteRegexMatchSet_regexMatchSetId :: Lens' DeleteRegexMatchSet Text Source #
The RegexMatchSetId
of the RegexMatchSet that you want to delete.
RegexMatchSetId
is returned by CreateRegexMatchSet and by
ListRegexMatchSets.
deleteRegexMatchSet_changeToken :: Lens' DeleteRegexMatchSet Text Source #
The value returned by the most recent call to GetChangeToken.
Destructuring the Response
data DeleteRegexMatchSetResponse Source #
See: newDeleteRegexMatchSetResponse
smart constructor.
DeleteRegexMatchSetResponse' | |
|
Instances
newDeleteRegexMatchSetResponse Source #
Create a value of DeleteRegexMatchSetResponse
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:changeToken:DeleteRegexMatchSet'
, deleteRegexMatchSetResponse_changeToken
- The ChangeToken
that you used to submit the DeleteRegexMatchSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
$sel:httpStatus:DeleteRegexMatchSetResponse'
, deleteRegexMatchSetResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRegexMatchSetResponse_changeToken :: Lens' DeleteRegexMatchSetResponse (Maybe Text) Source #
The ChangeToken
that you used to submit the DeleteRegexMatchSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
deleteRegexMatchSetResponse_httpStatus :: Lens' DeleteRegexMatchSetResponse Int Source #
The response's http status code.