amazonka-waf-1.4.0: 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.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:

  1. Update the SqlInjectionMatchSet to remove filters, if any. For more information, see UpdateSqlInjectionMatchSet.
  2. Use GetChangeToken to get the change token that you provide in the ChangeToken parameter of a DeleteSqlInjectionMatchSet request.
  3. 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:

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:

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.