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

Amazonka.WAF.DeleteSqlInjectionMatchSet

Description

This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.

For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.

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

data DeleteSqlInjectionMatchSet Source #

A request to delete a SqlInjectionMatchSet from AWS WAF.

See: newDeleteSqlInjectionMatchSet smart constructor.

Constructors

DeleteSqlInjectionMatchSet' 

Fields

  • sqlInjectionMatchSetId :: Text

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

  • changeToken :: Text

    The value returned by the most recent call to GetChangeToken.

Instances

Instances details
Eq DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Read DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Show DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Generic DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Associated Types

type Rep DeleteSqlInjectionMatchSet :: Type -> Type #

NFData DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Hashable DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

ToJSON DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

AWSRequest DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

ToHeaders DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

ToPath DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

ToQuery DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSet = D1 ('MetaData "DeleteSqlInjectionMatchSet" "Amazonka.WAF.DeleteSqlInjectionMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "DeleteSqlInjectionMatchSet'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sqlInjectionMatchSetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteSqlInjectionMatchSet Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

newDeleteSqlInjectionMatchSet Source #

Create a value of DeleteSqlInjectionMatchSet with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sqlInjectionMatchSetId:DeleteSqlInjectionMatchSet', deleteSqlInjectionMatchSet_sqlInjectionMatchSetId - The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want to delete. SqlInjectionMatchSetId is returned by CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.

$sel:changeToken:DeleteSqlInjectionMatchSet', deleteSqlInjectionMatchSet_changeToken - The value returned by the most recent call to GetChangeToken.

Request Lenses

deleteSqlInjectionMatchSet_sqlInjectionMatchSetId :: Lens' DeleteSqlInjectionMatchSet Text Source #

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

deleteSqlInjectionMatchSet_changeToken :: Lens' DeleteSqlInjectionMatchSet Text Source #

The value returned by the most recent call to GetChangeToken.

Destructuring the Response

data DeleteSqlInjectionMatchSetResponse Source #

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

See: newDeleteSqlInjectionMatchSetResponse smart constructor.

Constructors

DeleteSqlInjectionMatchSetResponse' 

Fields

  • changeToken :: 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.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DeleteSqlInjectionMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Read DeleteSqlInjectionMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Show DeleteSqlInjectionMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Generic DeleteSqlInjectionMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

Associated Types

type Rep DeleteSqlInjectionMatchSetResponse :: Type -> Type #

NFData DeleteSqlInjectionMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSetResponse Source # 
Instance details

Defined in Amazonka.WAF.DeleteSqlInjectionMatchSet

type Rep DeleteSqlInjectionMatchSetResponse = D1 ('MetaData "DeleteSqlInjectionMatchSetResponse" "Amazonka.WAF.DeleteSqlInjectionMatchSet" "libZSservicesZSamazonka-wafZSamazonka-waf" 'False) (C1 ('MetaCons "DeleteSqlInjectionMatchSetResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "changeToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteSqlInjectionMatchSetResponse Source #

Create a value of DeleteSqlInjectionMatchSetResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:changeToken:DeleteSqlInjectionMatchSet', deleteSqlInjectionMatchSetResponse_changeToken - 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.

$sel:httpStatus:DeleteSqlInjectionMatchSetResponse', deleteSqlInjectionMatchSetResponse_httpStatus - The response's http status code.

Response Lenses

deleteSqlInjectionMatchSetResponse_changeToken :: 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.