amazonka-waf-regional-2.0: Amazon WAF Regional SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WAFRegional.DeleteByteMatchSet

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

Creating a Request

data DeleteByteMatchSet Source #

See: newDeleteByteMatchSet smart constructor.

Constructors

DeleteByteMatchSet' 

Fields

  • byteMatchSetId :: Text

    The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
ToJSON DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

ToHeaders DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

ToPath DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

ToQuery DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

AWSRequest DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Associated Types

type AWSResponse DeleteByteMatchSet #

Generic DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Associated Types

type Rep DeleteByteMatchSet :: Type -> Type #

Read DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Show DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

NFData DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Methods

rnf :: DeleteByteMatchSet -> () #

Eq DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Hashable DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

type AWSResponse DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

type Rep DeleteByteMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

type Rep DeleteByteMatchSet = D1 ('MetaData "DeleteByteMatchSet" "Amazonka.WAFRegional.DeleteByteMatchSet" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "DeleteByteMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "byteMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteByteMatchSet Source #

Create a value of DeleteByteMatchSet 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:

DeleteByteMatchSet, deleteByteMatchSet_byteMatchSetId - The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

DeleteByteMatchSet, deleteByteMatchSet_changeToken - The value returned by the most recent call to GetChangeToken.

Request Lenses

deleteByteMatchSet_byteMatchSetId :: Lens' DeleteByteMatchSet Text Source #

The ByteMatchSetId of the ByteMatchSet that you want to delete. ByteMatchSetId is returned by CreateByteMatchSet and by ListByteMatchSets.

deleteByteMatchSet_changeToken :: Lens' DeleteByteMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteByteMatchSetResponse Source #

See: newDeleteByteMatchSetResponse smart constructor.

Constructors

DeleteByteMatchSetResponse' 

Fields

  • changeToken :: Maybe Text

    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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Associated Types

type Rep DeleteByteMatchSetResponse :: Type -> Type #

Read DeleteByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Show DeleteByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

NFData DeleteByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

Eq DeleteByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

type Rep DeleteByteMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteByteMatchSet

type Rep DeleteByteMatchSetResponse = D1 ('MetaData "DeleteByteMatchSetResponse" "Amazonka.WAFRegional.DeleteByteMatchSet" "amazonka-waf-regional-2.0-83dY3vKOuQzAAW7M6EmzRI" 'False) (C1 ('MetaCons "DeleteByteMatchSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteByteMatchSetResponse Source #

Create a value of DeleteByteMatchSetResponse 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:

DeleteByteMatchSet, deleteByteMatchSetResponse_changeToken - 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.

$sel:httpStatus:DeleteByteMatchSetResponse', deleteByteMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

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