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

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 an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects.

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

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

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

Creating a Request

data DeleteXssMatchSet Source #

A request to delete an XssMatchSet from AWS WAF.

See: newDeleteXssMatchSet smart constructor.

Constructors

DeleteXssMatchSet' 

Fields

  • xssMatchSetId :: Text

    The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
Eq DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Read DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Show DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Generic DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Associated Types

type Rep DeleteXssMatchSet :: Type -> Type #

NFData DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Methods

rnf :: DeleteXssMatchSet -> () #

Hashable DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

ToJSON DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

AWSRequest DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Associated Types

type AWSResponse DeleteXssMatchSet #

ToHeaders DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

ToPath DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

ToQuery DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

type Rep DeleteXssMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

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

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

newDeleteXssMatchSet Source #

Create a value of DeleteXssMatchSet 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:xssMatchSetId:DeleteXssMatchSet', deleteXssMatchSet_xssMatchSetId - The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

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

Request Lenses

deleteXssMatchSet_xssMatchSetId :: Lens' DeleteXssMatchSet Text Source #

The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

deleteXssMatchSet_changeToken :: Lens' DeleteXssMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteXssMatchSetResponse Source #

The response to a request to delete an XssMatchSet from AWS WAF.

See: newDeleteXssMatchSetResponse smart constructor.

Constructors

DeleteXssMatchSetResponse' 

Fields

  • changeToken :: Maybe Text

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

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Read DeleteXssMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Show DeleteXssMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Generic DeleteXssMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

Associated Types

type Rep DeleteXssMatchSetResponse :: Type -> Type #

NFData DeleteXssMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

type Rep DeleteXssMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteXssMatchSet

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

newDeleteXssMatchSetResponse Source #

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

$sel:httpStatus:DeleteXssMatchSetResponse', deleteXssMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

deleteXssMatchSetResponse_changeToken :: Lens' DeleteXssMatchSetResponse (Maybe Text) Source #

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