| 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.DeleteIPSet
Description
Permanently deletes an IPSet . You can't delete an IPSet if it's still used in any Rules or if it still includes any IP addresses.
If you just want to remove an IPSet from a Rule , use UpdateRule .
To permanently delete an IPSet from AWS WAF, perform the following steps:
- Update the
IPSetto remove IP address ranges, if any. For more information, seeUpdateIPSet. - Use
GetChangeTokento get the change token that you provide in theChangeTokenparameter of aDeleteIPSetrequest. - Submit a
DeleteIPSetrequest.
Synopsis
- deleteIPSet :: Text -> Text -> DeleteIPSet
- data DeleteIPSet
- disIPSetId :: Lens' DeleteIPSet Text
- disChangeToken :: Lens' DeleteIPSet Text
- deleteIPSetResponse :: Int -> DeleteIPSetResponse
- data DeleteIPSetResponse
- disrsChangeToken :: Lens' DeleteIPSetResponse (Maybe Text)
- disrsResponseStatus :: Lens' DeleteIPSetResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteIPSet |
Creates a value of DeleteIPSet with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
disIPSetId- TheIPSetIdof theIPSetthat you want to delete.IPSetIdis returned byCreateIPSetand byListIPSets.disChangeToken- The value returned by the most recent call toGetChangeToken.
data DeleteIPSet Source #
See: deleteIPSet smart constructor.
Instances
Request Lenses
disIPSetId :: Lens' DeleteIPSet Text Source #
The IPSetId of the IPSet that you want to delete. IPSetId is returned by CreateIPSet and by ListIPSets .
disChangeToken :: Lens' DeleteIPSet Text Source #
The value returned by the most recent call to GetChangeToken .
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteIPSetResponse |
Creates a value of DeleteIPSetResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
disrsChangeToken- TheChangeTokenthat you used to submit theDeleteIPSetrequest. You can also use this value to query the status of the request. For more information, seeGetChangeTokenStatus.disrsResponseStatus- -- | The response status code.
data DeleteIPSetResponse Source #
See: deleteIPSetResponse smart constructor.
Instances
Response Lenses
disrsChangeToken :: Lens' DeleteIPSetResponse (Maybe Text) Source #
The ChangeToken that you used to submit the DeleteIPSet request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus .
disrsResponseStatus :: Lens' DeleteIPSetResponse Int Source #
- - | The response status code.