libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WAFRegional.DeleteWebACL

Description

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

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

Creating a Request

data DeleteWebACL Source #

See: newDeleteWebACL smart constructor.

Constructors

DeleteWebACL' 

Fields

  • webACLId :: Text

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

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
Eq DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Read DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Show DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Generic DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Associated Types

type Rep DeleteWebACL :: Type -> Type #

NFData DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Methods

rnf :: DeleteWebACL -> () #

Hashable DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

ToJSON DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

AWSRequest DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Associated Types

type AWSResponse DeleteWebACL #

ToHeaders DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

ToPath DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

ToQuery DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

type Rep DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

type Rep DeleteWebACL = D1 ('MetaData "DeleteWebACL" "Amazonka.WAFRegional.DeleteWebACL" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "DeleteWebACL'" 'PrefixI 'True) (S1 ('MetaSel ('Just "webACLId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteWebACL Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

newDeleteWebACL Source #

Create a value of DeleteWebACL with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:webACLId:DeleteWebACL', deleteWebACL_webACLId - The WebACLId of the WebACL that you want to delete. WebACLId is returned by CreateWebACL and by ListWebACLs.

$sel:changeToken:DeleteWebACL', deleteWebACL_changeToken - The value returned by the most recent call to GetChangeToken.

Request Lenses

deleteWebACL_webACLId :: Lens' DeleteWebACL Text Source #

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

deleteWebACL_changeToken :: Lens' DeleteWebACL Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteWebACLResponse Source #

See: newDeleteWebACLResponse smart constructor.

Constructors

DeleteWebACLResponse' 

Fields

  • changeToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Read DeleteWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Show DeleteWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Generic DeleteWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Associated Types

type Rep DeleteWebACLResponse :: Type -> Type #

NFData DeleteWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

Methods

rnf :: DeleteWebACLResponse -> () #

type Rep DeleteWebACLResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteWebACL

type Rep DeleteWebACLResponse = D1 ('MetaData "DeleteWebACLResponse" "Amazonka.WAFRegional.DeleteWebACL" "libZSservicesZSamazonka-waf-regionalZSamazonka-waf-regional" 'False) (C1 ('MetaCons "DeleteWebACLResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteWebACLResponse Source #

Create a value of DeleteWebACLResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:changeToken:DeleteWebACL', deleteWebACLResponse_changeToken - 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.

$sel:httpStatus:DeleteWebACLResponse', deleteWebACLResponse_httpStatus - The response's http status code.

Response Lenses

deleteWebACLResponse_changeToken :: 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.