| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WAFRegional.DeleteXssMatchSet
Description
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
XssMatchSetto remove filters, if any. For more information, see UpdateXssMatchSet. - Use GetChangeToken to get the change token that you provide in the
ChangeTokenparameter of aDeleteXssMatchSetrequest. - Submit a
DeleteXssMatchSetrequest.
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.
Constructors
| DeleteXssMatchSet' | |
Fields
| |
Instances
Arguments
| :: 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:
DeleteXssMatchSet, deleteXssMatchSet_xssMatchSetId - The XssMatchSetId of the XssMatchSet that you want to delete.
XssMatchSetId is returned by CreateXssMatchSet and by
ListXssMatchSets.
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.
Constructors
| DeleteXssMatchSetResponse' | |
Fields
| |
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:
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.