deleteNetworkAcl

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.

Samples

// This example deletes the specified network ACL.
ec2Client.deleteNetworkAcl {
    networkAclId = "acl-5fb85d36"
}