deleteNetworkAcl
inline suspend fun Ec2Client.deleteNetworkAcl(crossinline block: DeleteNetworkAclRequest.Builder.() -> Unit): DeleteNetworkAclResponse
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
fun main() {
//sampleStart
// This example deletes the specified network ACL.
ec2Client.deleteNetworkAcl {
networkAclId = "acl-5fb85d36"
}
//sampleEnd
}