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 |
Network.AWS.EC2.DeleteNetworkACL
Description
Deletes the specified network ACL. You can't delete the ACL if it's associated with any subnets. You can't delete the default network ACL.
Creating a Request
Arguments
:: Text | |
-> DeleteNetworkACL |
Creates a value of DeleteNetworkACL
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dnaDryRun
- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.dnaNetworkACLId
- The ID of the network ACL.
data DeleteNetworkACL #
Contains the parameters for DeleteNetworkAcl.
See: deleteNetworkACL
smart constructor.
Instances
Request Lenses
dnaDryRun :: Lens' DeleteNetworkACL (Maybe Bool) #
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation
. Otherwise, it is UnauthorizedOperation
.
dnaNetworkACLId :: Lens' DeleteNetworkACL Text #
The ID of the network ACL.
Destructuring the Response
deleteNetworkACLResponse :: DeleteNetworkACLResponse #
Creates a value of DeleteNetworkACLResponse
with the minimum fields required to make a request.
data DeleteNetworkACLResponse #
See: deleteNetworkACLResponse
smart constructor.