Deletes a network ACL from a VPC.
Declaration Syntax
C# |
public DeleteNetworkAclResponse DeleteNetworkAcl( DeleteNetworkAclRequest request )
Parameters
- request (DeleteNetworkAclRequest)
- Delete Network Acl request
Return Value
Delete Network Acl Response from the service
Remarks
The ACL must not have any subnets associated with it.
You can't delete the default network ACL. For more
information about network ACLs, go to Network ACLs in the
Amazon Virtual Private Cloud User Guide.
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |