Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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, seeUpdateXssMatchSet
. - Use
GetChangeToken
to get the change token that you provide in theChangeToken
parameter of aDeleteXssMatchSet
request. - Submit a
DeleteXssMatchSet
request.
- deleteXSSMatchSet :: Text -> Text -> DeleteXSSMatchSet
- data DeleteXSSMatchSet
- dxmsXSSMatchSetId :: Lens' DeleteXSSMatchSet Text
- dxmsChangeToken :: Lens' DeleteXSSMatchSet Text
- deleteXSSMatchSetResponse :: Int -> DeleteXSSMatchSetResponse
- data DeleteXSSMatchSetResponse
- dxmsrsChangeToken :: Lens' DeleteXSSMatchSetResponse (Maybe Text)
- dxmsrsResponseStatus :: Lens' DeleteXSSMatchSetResponse Int
Creating a Request
Creates a value of DeleteXSSMatchSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dxmsXSSMatchSetId
- TheXssMatchSetId
of theXssMatchSet
that you want to delete.XssMatchSetId
is returned byCreateXssMatchSet
and byListXssMatchSets
.dxmsChangeToken
- The value returned by the most recent call toGetChangeToken
.
data DeleteXSSMatchSet Source #
A request to delete an XssMatchSet
from AWS WAF.
See: deleteXSSMatchSet
smart constructor.
Request Lenses
dxmsXSSMatchSetId :: Lens' DeleteXSSMatchSet Text Source #
The XssMatchSetId
of the XssMatchSet
that you want to delete. XssMatchSetId
is returned by CreateXssMatchSet
and by ListXssMatchSets
.
dxmsChangeToken :: Lens' DeleteXSSMatchSet Text Source #
The value returned by the most recent call to GetChangeToken
.
Destructuring the Response
deleteXSSMatchSetResponse Source #
Creates a value of DeleteXSSMatchSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dxmsrsChangeToken
- TheChangeToken
that you used to submit theDeleteXssMatchSet
request. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus
.dxmsrsResponseStatus
- -- | The response status code.
data DeleteXSSMatchSetResponse Source #
The response to a request to delete an XssMatchSet
from AWS WAF.
See: deleteXSSMatchSetResponse
smart constructor.
Response Lenses
dxmsrsChangeToken :: 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
.
dxmsrsResponseStatus :: Lens' DeleteXSSMatchSetResponse Int Source #
- - | The response status code.