deleteNetworkInterface

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

Samples


fun main() { 
   //sampleStart 
   // This example deletes the specified network interface.
ec2Client.deleteNetworkInterface {
    networkInterfaceId = "eni-e5aa89a3"
} 
   //sampleEnd
}