deleteNetworkInterface

Deletes the specified network interface. You must detach the network interface before you can delete it.

Samples

// This example deletes the specified network interface.
ec2Client.deleteNetworkInterface {
    networkInterfaceId = "eni-e5aa89a3"
}