code: @Override
      public GetOnPremisesInstanceResult getOnPremisesInstance(GetOnPremisesInstanceRequest request) {
          request = beforeClientExecution(request);
          return executeGetOnPremisesInstance(request);
      }
docs: <p>
  Gets information about an on-premises instance.
  </p>
  
  @param getOnPremisesInstanceRequest
  Represents the input of a GetOnPremisesInstance operation.
  @return Result of the GetOnPremisesInstance operation returned by the service.
  @throws InstanceNameRequiredException
  An on-premises instance name was not specified.
  @throws InstanceNotRegisteredException
  The specified on-premises instance is not registered.
  @throws InvalidInstanceNameException
  The on-premises instance name was specified in an invalid format.
  @sample AmazonCodeDeploy.GetOnPremisesInstance
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06/GetOnPremisesInstance"
  target="_top">AWS API Documentation</a>