Copyright | (c) 2013-2021 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 |
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 RegexPatternSet. You can't delete a
RegexPatternSet
if it's still used in any RegexMatchSet
or if the
RegexPatternSet
is not empty.
Synopsis
- data DeleteRegexPatternSet = DeleteRegexPatternSet' {}
- newDeleteRegexPatternSet :: Text -> Text -> DeleteRegexPatternSet
- deleteRegexPatternSet_regexPatternSetId :: Lens' DeleteRegexPatternSet Text
- deleteRegexPatternSet_changeToken :: Lens' DeleteRegexPatternSet Text
- data DeleteRegexPatternSetResponse = DeleteRegexPatternSetResponse' {
- changeToken :: Maybe Text
- httpStatus :: Int
- newDeleteRegexPatternSetResponse :: Int -> DeleteRegexPatternSetResponse
- deleteRegexPatternSetResponse_changeToken :: Lens' DeleteRegexPatternSetResponse (Maybe Text)
- deleteRegexPatternSetResponse_httpStatus :: Lens' DeleteRegexPatternSetResponse Int
Creating a Request
data DeleteRegexPatternSet Source #
See: newDeleteRegexPatternSet
smart constructor.
DeleteRegexPatternSet' | |
|
Instances
newDeleteRegexPatternSet Source #
:: Text | |
-> Text | |
-> DeleteRegexPatternSet |
Create a value of DeleteRegexPatternSet
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:regexPatternSetId:DeleteRegexPatternSet'
, deleteRegexPatternSet_regexPatternSetId
- The RegexPatternSetId
of the RegexPatternSet that you want to delete.
RegexPatternSetId
is returned by CreateRegexPatternSet and by
ListRegexPatternSets.
$sel:changeToken:DeleteRegexPatternSet'
, deleteRegexPatternSet_changeToken
- The value returned by the most recent call to GetChangeToken.
Request Lenses
deleteRegexPatternSet_regexPatternSetId :: Lens' DeleteRegexPatternSet Text Source #
The RegexPatternSetId
of the RegexPatternSet that you want to delete.
RegexPatternSetId
is returned by CreateRegexPatternSet and by
ListRegexPatternSets.
deleteRegexPatternSet_changeToken :: Lens' DeleteRegexPatternSet Text Source #
The value returned by the most recent call to GetChangeToken.
Destructuring the Response
data DeleteRegexPatternSetResponse Source #
See: newDeleteRegexPatternSetResponse
smart constructor.
DeleteRegexPatternSetResponse' | |
|
Instances
newDeleteRegexPatternSetResponse Source #
Create a value of DeleteRegexPatternSetResponse
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:DeleteRegexPatternSet'
, deleteRegexPatternSetResponse_changeToken
- The ChangeToken
that you used to submit the DeleteRegexPatternSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
$sel:httpStatus:DeleteRegexPatternSetResponse'
, deleteRegexPatternSetResponse_httpStatus
- The response's http status code.
Response Lenses
deleteRegexPatternSetResponse_changeToken :: Lens' DeleteRegexPatternSetResponse (Maybe Text) Source #
The ChangeToken
that you used to submit the DeleteRegexPatternSet
request. You can also use this value to query the status of the request.
For more information, see GetChangeTokenStatus.
deleteRegexPatternSetResponse_httpStatus :: Lens' DeleteRegexPatternSetResponse Int Source #
The response's http status code.