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

Contents

Description

Permanently deletes a WebACL. You can't delete a WebACL if it still contains any Rules.

To delete a WebACL, perform the following steps:

  1. Update the WebACL to remove Rules, if any. For more information, see UpdateWebACL.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteWebACL request.
  3. Submit a DeleteWebACL request.

See: AWS API Reference for DeleteWebACL.

Synopsis

Creating a Request

deleteWebACL Source

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

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

Request Lenses

dwaWebACLId :: Lens' DeleteWebACL Text Source

The WebACLId of the WebACL that you want to delete. WebACLId is returned by CreateWebACL and by ListWebACLs.

dwaChangeToken :: Lens' DeleteWebACL Text Source

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

deleteWebACLResponse Source

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

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

Response Lenses

dwarsChangeToken :: Lens' DeleteWebACLResponse (Maybe Text) Source

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