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

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 #

A request to delete a SqlInjectionMatchSet from AWS WAF.

See: deleteSqlInjectionMatchSet smart constructor.

Instances
Eq DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Data DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

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

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Show DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Generic DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Associated Types

type Rep DeleteSqlInjectionMatchSet :: * -> * #

Hashable DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

ToJSON DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

AWSRequest DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Associated Types

type Rs DeleteSqlInjectionMatchSet :: * #

ToHeaders DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

ToPath DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

ToQuery DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

NFData DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSet = D1 (MetaData "DeleteSqlInjectionMatchSet" "Network.AWS.WAF.DeleteSqlInjectionMatchSet" "amazonka-waf-1.6.0-8vJWOdEr4mb8Ak9o7JGEhy" False) (C1 (MetaCons "DeleteSqlInjectionMatchSet'" PrefixI True) (S1 (MetaSel (Just "_dsimsSqlInjectionMatchSetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_dsimsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DeleteSqlInjectionMatchSet # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Request Lenses

dsimsSqlInjectionMatchSetId :: Lens' DeleteSqlInjectionMatchSet Text #

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

dsimsChangeToken :: Lens' DeleteSqlInjectionMatchSet Text #

The value returned by the most recent call to GetChangeToken .

Destructuring the Response

deleteSqlInjectionMatchSetResponse #

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 #

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

See: deleteSqlInjectionMatchSetResponse smart constructor.

Instances
Eq DeleteSqlInjectionMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Data DeleteSqlInjectionMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

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

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Show DeleteSqlInjectionMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Generic DeleteSqlInjectionMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

Associated Types

type Rep DeleteSqlInjectionMatchSetResponse :: * -> * #

NFData DeleteSqlInjectionMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSetResponse # 
Instance details

Defined in Network.AWS.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSetResponse = D1 (MetaData "DeleteSqlInjectionMatchSetResponse" "Network.AWS.WAF.DeleteSqlInjectionMatchSet" "amazonka-waf-1.6.0-8vJWOdEr4mb8Ak9o7JGEhy" False) (C1 (MetaCons "DeleteSqlInjectionMatchSetResponse'" PrefixI True) (S1 (MetaSel (Just "_dsimsrsChangeToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dsimsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

dsimsrsChangeToken :: Lens' DeleteSqlInjectionMatchSetResponse (Maybe Text) #

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 .