code: @Override
      public DetachNetworkInterfaceResult detachNetworkInterface(DetachNetworkInterfaceRequest request) {
          request = beforeClientExecution(request);
          return executeDetachNetworkInterface(request);
      }
docs: <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>