Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
IPSet
to remove IP address ranges, if any. For more information, see UpdateIPSet. - Use GetChangeToken to get the change token that you provide in the
ChangeToken
parameter of aDeleteIPSet
request. - Submit a
DeleteIPSet
request.
See: AWS API Reference for DeleteIPSet.
- 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
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:
data DeleteIPSet Source
See: deleteIPSet
smart constructor.
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
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:
data DeleteIPSetResponse Source
See: deleteIPSetResponse
smart constructor.
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.