EC2.NetworkInterface.delete(**kwargs)¶Deletes the specified network interface. You must detach the network interface before you can delete it.
See also: AWS API Documentation
Request Syntax
response = network_interface.delete(
DryRun=True|False,
)
DryRunOperation . Otherwise, it is UnauthorizedOperation .