amazonka-waf-1.5.0: Amazon WAF SDK.

Copyright(c) 2013-2017 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.DeleteSqlInjectionMatchSet

Contents

Description

Permanently deletes a SqlInjectionMatchSet . You can't delete a SqlInjectionMatchSet if it's still used in any Rules or if it still contains any SqlInjectionMatchTuple objects.

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

To permanently delete a SqlInjectionMatchSet from AWS WAF, perform the following steps:

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

Synopsis

Creating a Request

deleteSqlInjectionMatchSet Source #

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

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

data DeleteSqlInjectionMatchSet Source #

A request to delete a SqlInjectionMatchSet from AWS WAF.

See: deleteSqlInjectionMatchSet smart constructor.

Instances

Eq DeleteSqlInjectionMatchSet Source # 
Data DeleteSqlInjectionMatchSet Source # 

Methods

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

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

toConstr :: DeleteSqlInjectionMatchSet -> Constr #

dataTypeOf :: DeleteSqlInjectionMatchSet -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSqlInjectionMatchSet Source # 
Show DeleteSqlInjectionMatchSet Source # 
Generic DeleteSqlInjectionMatchSet Source # 
Hashable DeleteSqlInjectionMatchSet Source # 
ToJSON DeleteSqlInjectionMatchSet Source # 
NFData DeleteSqlInjectionMatchSet Source # 
AWSRequest DeleteSqlInjectionMatchSet Source # 
ToQuery DeleteSqlInjectionMatchSet Source # 
ToPath DeleteSqlInjectionMatchSet Source # 
ToHeaders DeleteSqlInjectionMatchSet Source # 
type Rep DeleteSqlInjectionMatchSet Source # 
type Rep DeleteSqlInjectionMatchSet = D1 (MetaData "DeleteSqlInjectionMatchSet" "Network.AWS.WAF.DeleteSqlInjectionMatchSet" "amazonka-waf-1.5.0-7MotG1cKFRJDGEqr7Xc0q6" False) (C1 (MetaCons "DeleteSqlInjectionMatchSet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsimsSqlInjectionMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dsimsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteSqlInjectionMatchSet Source # 

Request Lenses

dsimsSqlInjectionMatchSetId :: Lens' DeleteSqlInjectionMatchSet Text Source #

The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets .

dsimsChangeToken :: Lens' DeleteSqlInjectionMatchSet Text Source #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteSqlInjectionMatchSetResponse Source #

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

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

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

data DeleteSqlInjectionMatchSetResponse Source #

The response to a request to delete a SqlInjectionMatchSet from AWS WAF.

See: deleteSqlInjectionMatchSetResponse smart constructor.

Instances

Eq DeleteSqlInjectionMatchSetResponse Source # 
Data DeleteSqlInjectionMatchSetResponse Source # 

Methods

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

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

toConstr :: DeleteSqlInjectionMatchSetResponse -> Constr #

dataTypeOf :: DeleteSqlInjectionMatchSetResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteSqlInjectionMatchSetResponse Source # 
Show DeleteSqlInjectionMatchSetResponse Source # 
Generic DeleteSqlInjectionMatchSetResponse Source # 
NFData DeleteSqlInjectionMatchSetResponse Source # 
type Rep DeleteSqlInjectionMatchSetResponse Source # 
type Rep DeleteSqlInjectionMatchSetResponse = D1 (MetaData "DeleteSqlInjectionMatchSetResponse" "Network.AWS.WAF.DeleteSqlInjectionMatchSet" "amazonka-waf-1.5.0-7MotG1cKFRJDGEqr7Xc0q6" False) (C1 (MetaCons "DeleteSqlInjectionMatchSetResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dsimsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dsimsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dsimsrsChangeToken :: Lens' DeleteSqlInjectionMatchSetResponse (Maybe Text) Source #

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