| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WAFRegional.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:
- 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.
Synopsis
- data DeleteSqlInjectionMatchSet = DeleteSqlInjectionMatchSet' {}
- newDeleteSqlInjectionMatchSet :: Text -> Text -> DeleteSqlInjectionMatchSet
- deleteSqlInjectionMatchSet_sqlInjectionMatchSetId :: Lens' DeleteSqlInjectionMatchSet Text
- deleteSqlInjectionMatchSet_changeToken :: Lens' DeleteSqlInjectionMatchSet Text
- data DeleteSqlInjectionMatchSetResponse = DeleteSqlInjectionMatchSetResponse' {
- changeToken :: Maybe Text
- httpStatus :: Int
- newDeleteSqlInjectionMatchSetResponse :: Int -> DeleteSqlInjectionMatchSetResponse
- deleteSqlInjectionMatchSetResponse_changeToken :: Lens' DeleteSqlInjectionMatchSetResponse (Maybe Text)
- deleteSqlInjectionMatchSetResponse_httpStatus :: Lens' DeleteSqlInjectionMatchSetResponse Int
Creating a Request
data DeleteSqlInjectionMatchSet Source #
A request to delete a SqlInjectionMatchSet from AWS WAF.
See: newDeleteSqlInjectionMatchSet smart constructor.
Constructors
| DeleteSqlInjectionMatchSet' | |
Fields
| |
Instances
newDeleteSqlInjectionMatchSet Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteSqlInjectionMatchSet |
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:
DeleteSqlInjectionMatchSet, deleteSqlInjectionMatchSet_sqlInjectionMatchSetId - The SqlInjectionMatchSetId of the SqlInjectionMatchSet that you want
to delete. SqlInjectionMatchSetId is returned by
CreateSqlInjectionMatchSet and by ListSqlInjectionMatchSets.
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
| |
Instances
newDeleteSqlInjectionMatchSetResponse Source #
Arguments
| :: Int | |
| -> DeleteSqlInjectionMatchSetResponse |
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:
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.
deleteSqlInjectionMatchSetResponse_httpStatus :: Lens' DeleteSqlInjectionMatchSetResponse Int Source #
The response's http status code.