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

Contents

Description

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

deleteRegexPatternSet Source #

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

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

  • drpsRegexPatternSetId - The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets .
  • drpsChangeToken - The value returned by the most recent call to GetChangeToken .

data DeleteRegexPatternSet Source #

See: deleteRegexPatternSet smart constructor.

Instances

Eq DeleteRegexPatternSet Source # 
Data DeleteRegexPatternSet Source # 

Methods

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

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

toConstr :: DeleteRegexPatternSet -> Constr #

dataTypeOf :: DeleteRegexPatternSet -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteRegexPatternSet -> () #

AWSRequest DeleteRegexPatternSet Source # 
ToHeaders DeleteRegexPatternSet Source # 
ToPath DeleteRegexPatternSet Source # 
ToQuery DeleteRegexPatternSet Source # 
type Rep DeleteRegexPatternSet Source # 
type Rep DeleteRegexPatternSet = D1 * (MetaData "DeleteRegexPatternSet" "Network.AWS.WAF.DeleteRegexPatternSet" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "DeleteRegexPatternSet'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drpsRegexPatternSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_drpsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs DeleteRegexPatternSet Source # 

Request Lenses

drpsRegexPatternSetId :: Lens' DeleteRegexPatternSet Text Source #

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

drpsChangeToken :: Lens' DeleteRegexPatternSet Text Source #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteRegexPatternSetResponse Source #

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

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

  • drpsrsChangeToken - 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 .
  • drpsrsResponseStatus - -- | The response status code.

data DeleteRegexPatternSetResponse Source #

See: deleteRegexPatternSetResponse smart constructor.

Instances

Eq DeleteRegexPatternSetResponse Source # 
Data DeleteRegexPatternSetResponse Source # 

Methods

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

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

toConstr :: DeleteRegexPatternSetResponse -> Constr #

dataTypeOf :: DeleteRegexPatternSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteRegexPatternSetResponse Source # 
Show DeleteRegexPatternSetResponse Source # 
Generic DeleteRegexPatternSetResponse Source # 
NFData DeleteRegexPatternSetResponse Source # 
type Rep DeleteRegexPatternSetResponse Source # 
type Rep DeleteRegexPatternSetResponse = D1 * (MetaData "DeleteRegexPatternSetResponse" "Network.AWS.WAF.DeleteRegexPatternSet" "amazonka-waf-1.6.0-3fCImJDdtLm395kgBUHRQd" False) (C1 * (MetaCons "DeleteRegexPatternSetResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_drpsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_drpsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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