Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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, seeUpdateSqlInjectionMatchSet
. - Use
GetChangeToken
to get the change token that you provide in theChangeToken
parameter of aDeleteSqlInjectionMatchSet
request. - Submit a
DeleteSqlInjectionMatchSet
request.
Synopsis
- deleteSqlInjectionMatchSet :: Text -> Text -> DeleteSqlInjectionMatchSet
- data DeleteSqlInjectionMatchSet
- dsimsSqlInjectionMatchSetId :: Lens' DeleteSqlInjectionMatchSet Text
- dsimsChangeToken :: Lens' DeleteSqlInjectionMatchSet Text
- deleteSqlInjectionMatchSetResponse :: Int -> DeleteSqlInjectionMatchSetResponse
- data DeleteSqlInjectionMatchSetResponse
- dsimsrsChangeToken :: Lens' DeleteSqlInjectionMatchSetResponse (Maybe Text)
- dsimsrsResponseStatus :: Lens' DeleteSqlInjectionMatchSetResponse Int
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:
dsimsSqlInjectionMatchSetId
- TheSqlInjectionMatchSetId
of theSqlInjectionMatchSet
that you want to delete.SqlInjectionMatchSetId
is returned byCreateSqlInjectionMatchSet
and byListSqlInjectionMatchSets
.dsimsChangeToken
- The value returned by the most recent call toGetChangeToken
.
data DeleteSqlInjectionMatchSet Source #
A request to delete a SqlInjectionMatchSet
from AWS WAF.
See: deleteSqlInjectionMatchSet
smart constructor.
Instances
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
- TheChangeToken
that you used to submit theDeleteSqlInjectionMatchSet
request. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus
.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
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
.
dsimsrsResponseStatus :: Lens' DeleteSqlInjectionMatchSetResponse Int Source #
- - | The response status code.