code: @Override
      public DeregisterOnPremisesInstanceResult deregisterOnPremisesInstance(DeregisterOnPremisesInstanceRequest request) {
          request = beforeClientExecution(request);
          return executeDeregisterOnPremisesInstance(request);
      }
docs: <p>
  Deregisters an on-premises instance.
  </p>
  
  @param deregisterOnPremisesInstanceRequest
  Represents the input of a DeregisterOnPremisesInstance operation.
  @return Result of the DeregisterOnPremisesInstance operation returned by the service.
  @throws InstanceNameRequiredException
  An on-premises instance name was not specified.
  @throws InvalidInstanceNameException
  The on-premises instance name was specified in an invalid format.
  @sample AmazonCodeDeploy.DeregisterOnPremisesInstance
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/DeregisterOnPremisesInstance"
  target="_top">AWS API Documentation</a>