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 an XssMatchSet. You can't delete an XssMatchSet
if it's still used in any Rules
or if it still contains any
XssMatchTuple objects.
If you just want to remove an XssMatchSet
from a Rule
, use
UpdateRule.
To permanently delete an XssMatchSet
from AWS WAF, perform the
following steps:
- Update the
XssMatchSet
to remove filters, if any. For more information, see UpdateXssMatchSet. - Use GetChangeToken to get the change token that you provide in the
ChangeToken
parameter of aDeleteXssMatchSet
request. - Submit a
DeleteXssMatchSet
request.
Synopsis
- data DeleteXssMatchSet = DeleteXssMatchSet' {
- xssMatchSetId :: Text
- changeToken :: Text
- newDeleteXssMatchSet :: Text -> Text -> DeleteXssMatchSet
- deleteXssMatchSet_xssMatchSetId :: Lens' DeleteXssMatchSet Text
- deleteXssMatchSet_changeToken :: Lens' DeleteXssMatchSet Text
- data DeleteXssMatchSetResponse = DeleteXssMatchSetResponse' {
- changeToken :: Maybe Text
- httpStatus :: Int
- newDeleteXssMatchSetResponse :: Int -> DeleteXssMatchSetResponse
- deleteXssMatchSetResponse_changeToken :: Lens' DeleteXssMatchSetResponse (Maybe Text)
- deleteXssMatchSetResponse_httpStatus :: Lens' DeleteXssMatchSetResponse Int
Creating a Request
data DeleteXssMatchSet Source #
A request to delete an XssMatchSet from AWS WAF.
See: newDeleteXssMatchSet
smart constructor.
DeleteXssMatchSet' | |
|
Instances
:: Text | |
-> Text | |
-> DeleteXssMatchSet |
Create a value of DeleteXssMatchSet
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:xssMatchSetId:DeleteXssMatchSet'
, deleteXssMatchSet_xssMatchSetId
- The XssMatchSetId
of the XssMatchSet that you want to delete.
XssMatchSetId
is returned by CreateXssMatchSet and by
ListXssMatchSets.
$sel:changeToken:DeleteXssMatchSet'
, deleteXssMatchSet_changeToken
- The value returned by the most recent call to GetChangeToken.
Request Lenses
deleteXssMatchSet_xssMatchSetId :: Lens' DeleteXssMatchSet Text Source #
The XssMatchSetId
of the XssMatchSet that you want to delete.
XssMatchSetId
is returned by CreateXssMatchSet and by
ListXssMatchSets.
deleteXssMatchSet_changeToken :: Lens' DeleteXssMatchSet Text Source #
The value returned by the most recent call to GetChangeToken.
Destructuring the Response
data DeleteXssMatchSetResponse Source #
The response to a request to delete an XssMatchSet from AWS WAF.
See: newDeleteXssMatchSetResponse
smart constructor.
DeleteXssMatchSetResponse' | |
|
Instances
newDeleteXssMatchSetResponse Source #
Create a value of DeleteXssMatchSetResponse
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:DeleteXssMatchSet'
, deleteXssMatchSetResponse_changeToken
- The ChangeToken
that you used to submit the DeleteXssMatchSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
$sel:httpStatus:DeleteXssMatchSetResponse'
, deleteXssMatchSetResponse_httpStatus
- The response's http status code.
Response Lenses
deleteXssMatchSetResponse_changeToken :: Lens' DeleteXssMatchSetResponse (Maybe Text) Source #
The ChangeToken
that you used to submit the DeleteXssMatchSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
deleteXssMatchSetResponse_httpStatus :: Lens' DeleteXssMatchSetResponse Int Source #
The response's http status code.