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

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 RegexMatchSet. You can't delete a RegexMatchSet if it's still used in any Rules or if it still includes any RegexMatchTuples objects (any filters).

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

To permanently delete a RegexMatchSet, perform the following steps:

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

Creating a Request

data DeleteRegexMatchSet Source #

See: newDeleteRegexMatchSet smart constructor.

Constructors

DeleteRegexMatchSet' 

Fields

  • regexMatchSetId :: Text

    The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
Eq DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Read DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Show DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Generic DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Associated Types

type Rep DeleteRegexMatchSet :: Type -> Type #

NFData DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Methods

rnf :: DeleteRegexMatchSet -> () #

Hashable DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

ToJSON DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

AWSRequest DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Associated Types

type AWSResponse DeleteRegexMatchSet #

ToHeaders DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

ToPath DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

ToQuery DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

type Rep DeleteRegexMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

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

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

newDeleteRegexMatchSet Source #

Create a value of DeleteRegexMatchSet 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:regexMatchSetId:DeleteRegexMatchSet', deleteRegexMatchSet_regexMatchSetId - The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

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

Request Lenses

deleteRegexMatchSet_regexMatchSetId :: Lens' DeleteRegexMatchSet Text Source #

The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets.

deleteRegexMatchSet_changeToken :: Lens' DeleteRegexMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteRegexMatchSetResponse Source #

See: newDeleteRegexMatchSetResponse smart constructor.

Constructors

DeleteRegexMatchSetResponse' 

Fields

  • changeToken :: Maybe Text

    The ChangeToken that you used to submit the DeleteRegexMatchSet 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 DeleteRegexMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Read DeleteRegexMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Show DeleteRegexMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Generic DeleteRegexMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

Associated Types

type Rep DeleteRegexMatchSetResponse :: Type -> Type #

NFData DeleteRegexMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

type Rep DeleteRegexMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteRegexMatchSet

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

newDeleteRegexMatchSetResponse Source #

Create a value of DeleteRegexMatchSetResponse 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:DeleteRegexMatchSet', deleteRegexMatchSetResponse_changeToken - The ChangeToken that you used to submit the DeleteRegexMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.

$sel:httpStatus:DeleteRegexMatchSetResponse', deleteRegexMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

deleteRegexMatchSetResponse_changeToken :: Lens' DeleteRegexMatchSetResponse (Maybe Text) Source #

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