amazonka-waf-1.6.0: Amazon WAF 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.WAF.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 #

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 #

See: deleteGeoMatchSet smart constructor.

Instances
Eq DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Data DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.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 # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Show DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Generic DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Associated Types

type Rep DeleteGeoMatchSet :: * -> * #

Hashable DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

ToJSON DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

AWSRequest DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Associated Types

type Rs DeleteGeoMatchSet :: * #

ToHeaders DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

ToPath DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

ToQuery DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

NFData DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Methods

rnf :: DeleteGeoMatchSet -> () #

type Rep DeleteGeoMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

type Rep DeleteGeoMatchSet = D1 (MetaData "DeleteGeoMatchSet" "Network.AWS.WAF.DeleteGeoMatchSet" "amazonka-waf-1.6.0-CW9xC92N0D3LNApAd7iUoL" 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 # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Request Lenses

dgmsGeoMatchSetId :: Lens' DeleteGeoMatchSet Text #

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

dgmsChangeToken :: Lens' DeleteGeoMatchSet Text #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteGeoMatchSetResponse #

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 #

See: deleteGeoMatchSetResponse smart constructor.

Instances
Eq DeleteGeoMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Data DeleteGeoMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.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 # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Show DeleteGeoMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Generic DeleteGeoMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

Associated Types

type Rep DeleteGeoMatchSetResponse :: * -> * #

NFData DeleteGeoMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

type Rep DeleteGeoMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteGeoMatchSet

type Rep DeleteGeoMatchSetResponse = D1 (MetaData "DeleteGeoMatchSetResponse" "Network.AWS.WAF.DeleteGeoMatchSet" "amazonka-waf-1.6.0-CW9xC92N0D3LNApAd7iUoL" 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) #

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 :: Lens' DeleteGeoMatchSetResponse Int #

  • - | The response status code.