amazonka-waf-regional-1.6.1: Amazon WAF Regional SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.WAFRegional.DeleteGeoMatchSet

Contents

Description

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:

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

Creating a Request

deleteGeoMatchSet Source #

Creates a value of DeleteGeoMatchSet with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dgmsGeoMatchSetId - The GeoMatchSetID of the GeoMatchSet that you want to delete. GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets .
  • dgmsChangeToken - The value returned by the most recent call to GetChangeToken .

data DeleteGeoMatchSet Source #

See: deleteGeoMatchSet smart constructor.

Instances
Eq DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Data DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteGeoMatchSet -> c DeleteGeoMatchSet #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteGeoMatchSet #

toConstr :: DeleteGeoMatchSet -> Constr #

dataTypeOf :: DeleteGeoMatchSet -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteGeoMatchSet) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteGeoMatchSet) #

gmapT :: (forall b. Data b => b -> b) -> DeleteGeoMatchSet -> DeleteGeoMatchSet #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGeoMatchSet -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGeoMatchSet -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteGeoMatchSet -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteGeoMatchSet -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteGeoMatchSet -> m DeleteGeoMatchSet #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGeoMatchSet -> m DeleteGeoMatchSet #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGeoMatchSet -> m DeleteGeoMatchSet #

Read DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Show DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Generic DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Associated Types

type Rep DeleteGeoMatchSet :: Type -> Type #

Hashable DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

ToJSON DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

AWSRequest DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Associated Types

type Rs DeleteGeoMatchSet :: Type #

ToHeaders DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

ToPath DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

ToQuery DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

NFData DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Methods

rnf :: DeleteGeoMatchSet -> () #

type Rep DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

type Rep DeleteGeoMatchSet = D1 (MetaData "DeleteGeoMatchSet" "Network.AWS.WAFRegional.DeleteGeoMatchSet" "amazonka-waf-regional-1.6.1-IvDSn8aH4TMJoxm1GVf7Ug" False) (C1 (MetaCons "DeleteGeoMatchSet'" PrefixI True) (S1 (MetaSel (Just "_dgmsGeoMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dgmsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteGeoMatchSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Request Lenses

dgmsGeoMatchSetId :: Lens' DeleteGeoMatchSet Text Source #

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

dgmsChangeToken :: Lens' DeleteGeoMatchSet Text Source #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteGeoMatchSetResponse Source #

Creates a value of DeleteGeoMatchSetResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dgmsrsChangeToken - 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 .
  • dgmsrsResponseStatus - -- | The response status code.

data DeleteGeoMatchSetResponse Source #

See: deleteGeoMatchSetResponse smart constructor.

Instances
Eq DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Data DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteGeoMatchSetResponse -> c DeleteGeoMatchSetResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteGeoMatchSetResponse #

toConstr :: DeleteGeoMatchSetResponse -> Constr #

dataTypeOf :: DeleteGeoMatchSetResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteGeoMatchSetResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteGeoMatchSetResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteGeoMatchSetResponse -> DeleteGeoMatchSetResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGeoMatchSetResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteGeoMatchSetResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteGeoMatchSetResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteGeoMatchSetResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteGeoMatchSetResponse -> m DeleteGeoMatchSetResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGeoMatchSetResponse -> m DeleteGeoMatchSetResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteGeoMatchSetResponse -> m DeleteGeoMatchSetResponse #

Read DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Show DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Generic DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

Associated Types

type Rep DeleteGeoMatchSetResponse :: Type -> Type #

NFData DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

type Rep DeleteGeoMatchSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteGeoMatchSet

type Rep DeleteGeoMatchSetResponse = D1 (MetaData "DeleteGeoMatchSetResponse" "Network.AWS.WAFRegional.DeleteGeoMatchSet" "amazonka-waf-regional-1.6.1-IvDSn8aH4TMJoxm1GVf7Ug" False) (C1 (MetaCons "DeleteGeoMatchSetResponse'" PrefixI True) (S1 (MetaSel (Just "_dgmsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dgmsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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