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

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 GeoMatchSet. You can't delete a GeoMatchSet if it's still used in any Rules or if it still includes any countries.

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

To permanently delete a GeoMatchSet from AWS WAF, perform the following steps:

  1. Update the GeoMatchSet to remove any countries. For more information, see UpdateGeoMatchSet.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteGeoMatchSet request.
  3. Submit a DeleteGeoMatchSet request.
Synopsis

Creating a Request

data DeleteGeoMatchSet Source #

See: newDeleteGeoMatchSet smart constructor.

Constructors

DeleteGeoMatchSet' 

Fields

  • geoMatchSetId :: Text

    The GeoMatchSetID of the GeoMatchSet that you want to delete. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
Eq DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Read DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Show DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Generic DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Associated Types

type Rep DeleteGeoMatchSet :: Type -> Type #

NFData DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Methods

rnf :: DeleteGeoMatchSet -> () #

Hashable DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

ToJSON DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

AWSRequest DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Associated Types

type AWSResponse DeleteGeoMatchSet #

ToHeaders DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

ToPath DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

ToQuery DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

type Rep DeleteGeoMatchSet Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

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

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

newDeleteGeoMatchSet Source #

Create a value of DeleteGeoMatchSet 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:geoMatchSetId:DeleteGeoMatchSet', deleteGeoMatchSet_geoMatchSetId - The GeoMatchSetID of the GeoMatchSet that you want to delete. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

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

Request Lenses

deleteGeoMatchSet_geoMatchSetId :: Lens' DeleteGeoMatchSet Text Source #

The GeoMatchSetID of the GeoMatchSet that you want to delete. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.

deleteGeoMatchSet_changeToken :: Lens' DeleteGeoMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteGeoMatchSetResponse Source #

See: newDeleteGeoMatchSetResponse smart constructor.

Constructors

DeleteGeoMatchSetResponse' 

Fields

  • changeToken :: Maybe Text

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

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Read DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Show DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Generic DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

Associated Types

type Rep DeleteGeoMatchSetResponse :: Type -> Type #

NFData DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

type Rep DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAFRegional.DeleteGeoMatchSet

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

newDeleteGeoMatchSetResponse Source #

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

$sel:httpStatus:DeleteGeoMatchSetResponse', deleteGeoMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

deleteGeoMatchSetResponse_changeToken :: Lens' DeleteGeoMatchSetResponse (Maybe Text) Source #

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