Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.WAF.DeleteByteMatchSet
Description
Permanently deletes a ByteMatchSet. You can't delete a
ByteMatchSet
if it's still used in any Rules
or if it still
includes any ByteMatchTuple objects (any filters).
If you just want to remove a ByteMatchSet
from a Rule
, use
UpdateRule.
To permanently delete a ByteMatchSet
, perform the following steps:
- Update the
ByteMatchSet
to remove filters, if any. For more information, see UpdateByteMatchSet. - Use GetChangeToken to get the change token that you provide in
the
ChangeToken
parameter of aDeleteByteMatchSet
request. - Submit a
DeleteByteMatchSet
request.
- deleteByteMatchSet :: Text -> Text -> DeleteByteMatchSet
- data DeleteByteMatchSet
- dbmsByteMatchSetId :: Lens' DeleteByteMatchSet Text
- dbmsChangeToken :: Lens' DeleteByteMatchSet Text
- deleteByteMatchSetResponse :: Int -> DeleteByteMatchSetResponse
- data DeleteByteMatchSetResponse
- dbmsrsChangeToken :: Lens' DeleteByteMatchSetResponse (Maybe Text)
- dbmsrsResponseStatus :: Lens' DeleteByteMatchSetResponse Int
Creating a Request
Arguments
:: Text | |
-> Text | |
-> DeleteByteMatchSet |
Creates a value of DeleteByteMatchSet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteByteMatchSet Source #
See: deleteByteMatchSet
smart constructor.
Instances
Request Lenses
dbmsByteMatchSetId :: Lens' DeleteByteMatchSet Text Source #
The ByteMatchSetId
of the ByteMatchSet that you want to delete.
ByteMatchSetId
is returned by CreateByteMatchSet and by
ListByteMatchSets.
dbmsChangeToken :: Lens' DeleteByteMatchSet Text Source #
The value returned by the most recent call to GetChangeToken.
Destructuring the Response
deleteByteMatchSetResponse Source #
Arguments
:: Int | |
-> DeleteByteMatchSetResponse |
Creates a value of DeleteByteMatchSetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Response Lenses
dbmsrsChangeToken :: Lens' DeleteByteMatchSetResponse (Maybe Text) Source #
The ChangeToken
that you used to submit the DeleteByteMatchSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
dbmsrsResponseStatus :: Lens' DeleteByteMatchSetResponse Int Source #
The response status code.