amazonka-waf-regional-1.6.0: 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.DeleteRegexMatchSet

Contents

Description

Permanently deletes a RegexMatchSet . You can't delete a RegexMatchSet if it's still used in any Rules or if it still includes any RegexMatchTuples objects (any filters).

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

To permanently delete a RegexMatchSet , perform the following steps:

  • Update the RegexMatchSet to remove filters, if any. For more information, see UpdateRegexMatchSet .
  • Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteRegexMatchSet request.
  • Submit a DeleteRegexMatchSet request.

Synopsis

Creating a Request

deleteRegexMatchSet Source #

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

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

  • drmsRegexMatchSetId - The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets .
  • drmsChangeToken - The value returned by the most recent call to GetChangeToken .

data DeleteRegexMatchSet Source #

See: deleteRegexMatchSet smart constructor.

Instances

Eq DeleteRegexMatchSet Source # 
Data DeleteRegexMatchSet Source # 

Methods

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

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

toConstr :: DeleteRegexMatchSet -> Constr #

dataTypeOf :: DeleteRegexMatchSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRegexMatchSet Source # 
Show DeleteRegexMatchSet Source # 
Generic DeleteRegexMatchSet Source # 
Hashable DeleteRegexMatchSet Source # 
ToJSON DeleteRegexMatchSet Source # 
NFData DeleteRegexMatchSet Source # 

Methods

rnf :: DeleteRegexMatchSet -> () #

AWSRequest DeleteRegexMatchSet Source # 
ToHeaders DeleteRegexMatchSet Source # 
ToPath DeleteRegexMatchSet Source # 
ToQuery DeleteRegexMatchSet Source # 
type Rep DeleteRegexMatchSet Source # 
type Rep DeleteRegexMatchSet = D1 * (MetaData "DeleteRegexMatchSet" "Network.AWS.WAFRegional.DeleteRegexMatchSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "DeleteRegexMatchSet'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drmsRegexMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_drmsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteRegexMatchSet Source # 

Request Lenses

drmsRegexMatchSetId :: Lens' DeleteRegexMatchSet Text Source #

The RegexMatchSetId of the RegexMatchSet that you want to delete. RegexMatchSetId is returned by CreateRegexMatchSet and by ListRegexMatchSets .

drmsChangeToken :: Lens' DeleteRegexMatchSet Text Source #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteRegexMatchSetResponse Source #

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

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

  • drmsrsChangeToken - The ChangeToken that you used to submit the DeleteRegexMatchSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus .
  • drmsrsResponseStatus - -- | The response status code.

data DeleteRegexMatchSetResponse Source #

See: deleteRegexMatchSetResponse smart constructor.

Instances

Eq DeleteRegexMatchSetResponse Source # 
Data DeleteRegexMatchSetResponse Source # 

Methods

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

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

toConstr :: DeleteRegexMatchSetResponse -> Constr #

dataTypeOf :: DeleteRegexMatchSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRegexMatchSetResponse Source # 
Show DeleteRegexMatchSetResponse Source # 
Generic DeleteRegexMatchSetResponse Source # 
NFData DeleteRegexMatchSetResponse Source # 
type Rep DeleteRegexMatchSetResponse Source # 
type Rep DeleteRegexMatchSetResponse = D1 * (MetaData "DeleteRegexMatchSetResponse" "Network.AWS.WAFRegional.DeleteRegexMatchSet" "amazonka-waf-regional-1.6.0-8hbXet7pAjcFZLYYuMOYQd" False) (C1 * (MetaCons "DeleteRegexMatchSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drmsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drmsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

drmsrsChangeToken :: Lens' DeleteRegexMatchSetResponse (Maybe Text) Source #

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