amazonka-ec2-1.3.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <>
Portabilitynon-portable (GHC extensions)
Safe HaskellNone




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.

See: AWS API Reference for DeleteNetworkACL.


Creating a Request

deleteNetworkACL Source

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:

Request Lenses

dnaDryRun :: Lens' DeleteNetworkACL (Maybe Bool) Source

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 Source

The ID of the network ACL.

Destructuring the Response

deleteNetworkACLResponse :: DeleteNetworkACLResponse Source

Creates a value of DeleteNetworkACLResponse with the minimum fields required to make a request.