amazonka-waf-1.4.3: Amazon WAF SDK.

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

Network.AWS.WAF.DeleteXSSMatchSet

Contents

Description

Permanently deletes an XssMatchSet. You can't delete an XssMatchSet if it's still used in any Rules or if it still contains any XssMatchTuple objects.

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

To permanently delete an XssMatchSet from AWS WAF, perform the following steps:

  1. Update the XssMatchSet to remove filters, if any. For more information, see UpdateXssMatchSet.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteXssMatchSet request.
  3. Submit a DeleteXssMatchSet request.

Synopsis

Creating a Request

deleteXSSMatchSet Source #

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

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

data DeleteXSSMatchSet Source #

A request to delete an XssMatchSet from AWS WAF.

See: deleteXSSMatchSet smart constructor.

Instances

Eq DeleteXSSMatchSet Source # 
Data DeleteXSSMatchSet Source # 

Methods

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

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

toConstr :: DeleteXSSMatchSet -> Constr #

dataTypeOf :: DeleteXSSMatchSet -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DeleteXSSMatchSet -> () #

AWSRequest DeleteXSSMatchSet Source # 
ToPath DeleteXSSMatchSet Source # 
ToHeaders DeleteXSSMatchSet Source # 
ToQuery DeleteXSSMatchSet Source # 
type Rep DeleteXSSMatchSet Source # 
type Rep DeleteXSSMatchSet = D1 (MetaData "DeleteXSSMatchSet" "Network.AWS.WAF.DeleteXSSMatchSet" "amazonka-waf-1.4.3-HJkEVBX92ZdHK435qw2Wf" False) (C1 (MetaCons "DeleteXSSMatchSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dxmsXSSMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dxmsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteXSSMatchSet Source # 

Request Lenses

dxmsXSSMatchSetId :: Lens' DeleteXSSMatchSet Text Source #

The XssMatchSetId of the XssMatchSet that you want to delete. XssMatchSetId is returned by CreateXssMatchSet and by ListXssMatchSets.

dxmsChangeToken :: Lens' DeleteXSSMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

deleteXSSMatchSetResponse Source #

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

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

data DeleteXSSMatchSetResponse Source #

The response to a request to delete an XssMatchSet from AWS WAF.

See: deleteXSSMatchSetResponse smart constructor.

Instances

Eq DeleteXSSMatchSetResponse Source # 
Data DeleteXSSMatchSetResponse Source # 

Methods

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

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

toConstr :: DeleteXSSMatchSetResponse -> Constr #

dataTypeOf :: DeleteXSSMatchSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteXSSMatchSetResponse Source # 
Show DeleteXSSMatchSetResponse Source # 
Generic DeleteXSSMatchSetResponse Source # 
NFData DeleteXSSMatchSetResponse Source # 
type Rep DeleteXSSMatchSetResponse Source # 
type Rep DeleteXSSMatchSetResponse = D1 (MetaData "DeleteXSSMatchSetResponse" "Network.AWS.WAF.DeleteXSSMatchSet" "amazonka-waf-1.4.3-HJkEVBX92ZdHK435qw2Wf" False) (C1 (MetaCons "DeleteXSSMatchSetResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dxmsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dxmsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dxmsrsChangeToken :: Lens' DeleteXSSMatchSetResponse (Maybe Text) Source #

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