amazonka-waf-1.3.4: Amazon WAF SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WAF.DeleteByteMatchSet

Contents

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:

  1. Update the ByteMatchSet to remove filters, if any. For more information, see UpdateByteMatchSet.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteByteMatchSet request.
  3. Submit a DeleteByteMatchSet request.

See: AWS API Reference for DeleteByteMatchSet.

Synopsis

Creating a Request

deleteByteMatchSet Source

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:

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

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.