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.DeleteIPSet

Contents

Description

Permanently deletes an IPSet. You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses.

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

To permanently delete an IPSet from AWS WAF, perform the following steps:

  1. Update the IPSet to remove IP address ranges, if any. For more information, see UpdateIPSet.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteIPSet request.
  3. Submit a DeleteIPSet request.

Synopsis

Creating a Request

deleteIPSet Source

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

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

Request Lenses

disIPSetId :: Lens' DeleteIPSet Text Source

The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets.

disChangeToken :: Lens' DeleteIPSet Text Source

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

deleteIPSetResponse Source

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

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

Response Lenses

disrsChangeToken :: Lens' DeleteIPSetResponse (Maybe Text) Source

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