| 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 |
Network.AWS.WAF.DeleteXSSMatchSet
Description
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, seeUpdateXssMatchSet. - Use
GetChangeTokento get the change token that you provide in theChangeTokenparameter of aDeleteXssMatchSetrequest. - Submit a
DeleteXssMatchSetrequest.
Synopsis
- 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
Arguments
| :: Text | |
| -> Text | |
| -> DeleteXSSMatchSet |
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- TheXssMatchSetIdof theXssMatchSetthat you want to delete.XssMatchSetIdis returned byCreateXssMatchSetand 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.
Instances
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 #
Arguments
| :: Int | |
| -> DeleteXSSMatchSetResponse |
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- TheChangeTokenthat you used to submit theDeleteXssMatchSetrequest. 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.
Instances
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.