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.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 # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Data DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

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 # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Show DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Generic DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Associated Types

type Rep DeleteRegexPatternSet :: Type -> Type #

Hashable DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

ToJSON DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

AWSRequest DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Associated Types

type Rs DeleteRegexPatternSet :: Type #

ToHeaders DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

ToPath DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

ToQuery DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

NFData DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Methods

rnf :: DeleteRegexPatternSet -> () #

type Rep DeleteRegexPatternSet Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

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

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

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 # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Data DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

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 # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Show DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Generic DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

Associated Types

type Rep DeleteRegexPatternSetResponse :: Type -> Type #

NFData DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

type Rep DeleteRegexPatternSetResponse Source # 
Instance details

Defined in Network.AWS.WAFRegional.DeleteRegexPatternSet

type Rep DeleteRegexPatternSetResponse = D1 (MetaData "DeleteRegexPatternSetResponse" "Network.AWS.WAFRegional.DeleteRegexPatternSet" "amazonka-waf-regional-1.6.1-IvDSn8aH4TMJoxm1GVf7Ug" False) (C1 (MetaCons "DeleteRegexPatternSetResponse'" PrefixI True) (S1 (MetaSel (Just "_drpsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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 .