libZSservicesZSamazonka-wafZSamazonka-waf
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.WAF.DeleteRegexPatternSet

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 RegexPatternSet. You can't delete a RegexPatternSet if it's still used in any RegexMatchSet or if the RegexPatternSet is not empty.

Synopsis

Creating a Request

data DeleteRegexPatternSet Source #

See: newDeleteRegexPatternSet smart constructor.

Constructors

DeleteRegexPatternSet' 

Fields

  • regexPatternSetId :: Text

    The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
Eq DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Read DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Show DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Generic DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Associated Types

type Rep DeleteRegexPatternSet :: Type -> Type #

NFData DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Methods

rnf :: DeleteRegexPatternSet -> () #

Hashable DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

ToJSON DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

AWSRequest DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Associated Types

type AWSResponse DeleteRegexPatternSet #

ToHeaders DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

ToPath DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

ToQuery DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

type Rep DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

type Rep DeleteRegexPatternSet = D1 ('MetaData "DeleteRegexPatternSet" "Amazonka.WAF.DeleteRegexPatternSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "DeleteRegexPatternSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "regexPatternSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteRegexPatternSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

newDeleteRegexPatternSet Source #

Create a value of DeleteRegexPatternSet 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:regexPatternSetId:DeleteRegexPatternSet', deleteRegexPatternSet_regexPatternSetId - The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

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

Request Lenses

deleteRegexPatternSet_regexPatternSetId :: Lens' DeleteRegexPatternSet Text Source #

The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets.

deleteRegexPatternSet_changeToken :: Lens' DeleteRegexPatternSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteRegexPatternSetResponse Source #

See: newDeleteRegexPatternSetResponse smart constructor.

Constructors

DeleteRegexPatternSetResponse' 

Fields

  • changeToken :: Maybe Text

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

Defined in Amazonka.WAF.DeleteRegexPatternSet

Read DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Show DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Generic DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

Associated Types

type Rep DeleteRegexPatternSetResponse :: Type -> Type #

NFData DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

type Rep DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteRegexPatternSet

type Rep DeleteRegexPatternSetResponse = D1 ('MetaData "DeleteRegexPatternSetResponse" "Amazonka.WAF.DeleteRegexPatternSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "DeleteRegexPatternSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteRegexPatternSetResponse Source #

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

$sel:httpStatus:DeleteRegexPatternSetResponse', deleteRegexPatternSetResponse_httpStatus - The response's http status code.

Response Lenses

deleteRegexPatternSetResponse_changeToken :: Lens' DeleteRegexPatternSetResponse (Maybe Text) Source #

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