| 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 |
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, seeUpdateSqlInjectionMatchSet. - Use
GetChangeTokento get the change token that you provide in theChangeTokenparameter of aDeleteSqlInjectionMatchSetrequest. - Submit a
DeleteSqlInjectionMatchSetrequest.
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- TheSqlInjectionMatchSetIdof theSqlInjectionMatchSetthat you want to delete.SqlInjectionMatchSetIdis returned byCreateSqlInjectionMatchSetand 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 #
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:
dsimsrsChangeToken- TheChangeTokenthat you used to submit theDeleteSqlInjectionMatchSetrequest. 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.