amazonka-waf-1.4.0: Amazon WAF SDK.

Copyright(c) 2013-2016 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.DeleteSizeConstraintSet

Contents

Description

Permanently deletes a SizeConstraintSet. You can't delete a SizeConstraintSet if it's still used in any Rules or if it still includes any SizeConstraint objects (any filters).

If you just want to remove a SizeConstraintSet from a Rule, use UpdateRule.

To permanently delete a SizeConstraintSet, perform the following steps:

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

Synopsis

Creating a Request

deleteSizeConstraintSet Source

Creates a value of DeleteSizeConstraintSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dscsSizeConstraintSetId :: Lens' DeleteSizeConstraintSet Text Source

The SizeConstraintSetId of the SizeConstraintSet that you want to delete. SizeConstraintSetId is returned by CreateSizeConstraintSet and by ListSizeConstraintSets.

dscsChangeToken :: Lens' DeleteSizeConstraintSet Text Source

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

deleteSizeConstraintSetResponse Source

Creates a value of DeleteSizeConstraintSetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

dscsrsChangeToken :: Lens' DeleteSizeConstraintSetResponse (Maybe Text) Source

The ChangeToken that you used to submit the DeleteSizeConstraintSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.