| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.WAF.DeleteSqlInjectionMatchSet
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
SqlInjectionMatchSetto remove filters, if any. For more information, see UpdateSqlInjectionMatchSet. - Use GetChangeToken to get the change token that you provide in the
ChangeTokenparameter of aDeleteSqlInjectionMatchSetrequest. - Submit a
DeleteSqlInjectionMatchSetrequest.
See: AWS API Reference for DeleteSqlInjectionMatchSet.
- 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:
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
Arguments
| :: Int | |
| -> 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:
data DeleteSqlInjectionMatchSetResponse Source
The response to a request to delete a SqlInjectionMatchSet from AWS WAF.
See: deleteSqlInjectionMatchSetResponse smart constructor.
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.