Copyright | (c) 2013-2016 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 a WebACL. You can't delete a WebACL
if it still contains any Rules
.
To delete a WebACL
, perform the following steps:
- Update the
WebACL
to removeRules
, if any. For more information, see UpdateWebACL. - Use GetChangeToken to get the change token that you provide in the
ChangeToken
parameter of aDeleteWebACL
request. - Submit a
DeleteWebACL
request.
- deleteWebACL :: Text -> Text -> DeleteWebACL
- data DeleteWebACL
- dwaWebACLId :: Lens' DeleteWebACL Text
- dwaChangeToken :: Lens' DeleteWebACL Text
- deleteWebACLResponse :: Int -> DeleteWebACLResponse
- data DeleteWebACLResponse
- dwarsChangeToken :: Lens' DeleteWebACLResponse (Maybe Text)
- dwarsResponseStatus :: Lens' DeleteWebACLResponse Int
Creating a Request
Creates a value of DeleteWebACL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteWebACL Source #
See: deleteWebACL
smart constructor.
Request Lenses
dwaWebACLId :: Lens' DeleteWebACL Text Source #
The WebACLId
of the WebACL that you want to delete. WebACLId
is returned by CreateWebACL and by ListWebACLs.
dwaChangeToken :: Lens' DeleteWebACL Text Source #
The value returned by the most recent call to GetChangeToken.
Destructuring the Response
Creates a value of DeleteWebACLResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteWebACLResponse Source #
See: deleteWebACLResponse
smart constructor.
Response Lenses
dwarsChangeToken :: Lens' DeleteWebACLResponse (Maybe Text) Source #
The ChangeToken
that you used to submit the DeleteWebACL
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.
dwarsResponseStatus :: Lens' DeleteWebACLResponse Int Source #
The response status code.