| 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.DeleteRegexPatternSet
Description
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.
- deleteRegexPatternSet :: Text -> Text -> DeleteRegexPatternSet
- data DeleteRegexPatternSet
- drpsRegexPatternSetId :: Lens' DeleteRegexPatternSet Text
- drpsChangeToken :: Lens' DeleteRegexPatternSet Text
- deleteRegexPatternSetResponse :: Int -> DeleteRegexPatternSetResponse
- data DeleteRegexPatternSetResponse
- drpsrsChangeToken :: Lens' DeleteRegexPatternSetResponse (Maybe Text)
- drpsrsResponseStatus :: Lens' DeleteRegexPatternSetResponse Int
Creating a Request
deleteRegexPatternSet Source #
Arguments
| :: Text | |
| -> Text | |
| -> DeleteRegexPatternSet |
Creates a value of DeleteRegexPatternSet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drpsRegexPatternSetId- TheRegexPatternSetIdof theRegexPatternSetthat you want to delete.RegexPatternSetIdis returned byCreateRegexPatternSetand byListRegexPatternSets.drpsChangeToken- The value returned by the most recent call toGetChangeToken.
data DeleteRegexPatternSet Source #
See: deleteRegexPatternSet smart constructor.
Instances
Request Lenses
drpsRegexPatternSetId :: Lens' DeleteRegexPatternSet Text Source #
The RegexPatternSetId of the RegexPatternSet that you want to delete. RegexPatternSetId is returned by CreateRegexPatternSet and by ListRegexPatternSets .
drpsChangeToken :: Lens' DeleteRegexPatternSet Text Source #
The value returned by the most recent call to GetChangeToken .
Destructuring the Response
deleteRegexPatternSetResponse Source #
Arguments
| :: Int | |
| -> DeleteRegexPatternSetResponse |
Creates a value of DeleteRegexPatternSetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
drpsrsChangeToken- TheChangeTokenthat you used to submit theDeleteRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.drpsrsResponseStatus- -- | The response status code.
data DeleteRegexPatternSetResponse Source #
See: deleteRegexPatternSetResponse smart constructor.
Instances
Response Lenses
drpsrsChangeToken :: 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 .
drpsrsResponseStatus :: Lens' DeleteRegexPatternSetResponse Int Source #
- - | The response status code.