@Override
    public DetachNetworkInterfaceResult detachNetworkInterface(DetachNetworkInterfaceRequest request) {
        request = beforeClientExecution(request);
        return executeDetachNetworkInterface(request);
    }
<p>
Detaches a network interface from an instance.
</p>

@param detachNetworkInterfaceRequest
       Contains the parameters for DetachNetworkInterface.
@return Result of the DetachNetworkInterface operation returned by the service.
@sample AmazonEC2.DetachNetworkInterface
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DetachNetworkInterface" target="_top">AWS API
     Documentation</a>
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/AmazonEC2Client.java