'Deletes a network interface.
:param      network_interface: EC2NetworkInterface instance
:type       network_interface: :class:`EC2NetworkInterface`
:rtype:     ``bool``'

def ex_delete_network_interface(self, network_interface):

    params = {'Action': 'DeleteNetworkInterface', 'NetworkInterfaceId': network_interface.id}
    res = self.connection.request(self.path, params=params).object
    return self._get_boolean(res)
