code: @Override
      public InvokeEndpointResult invokeEndpoint(InvokeEndpointRequest request) {
          request = beforeClientExecution(request);
          return executeInvokeEndpoint(request);
      }
docs: <p>
  After you deploy a model into production using Amazon SageMaker hosting services, your client applications use
  this API to get inferences from the model hosted at the specified endpoint.
  </p>
  <p>
  For an overview of Amazon SageMaker, see <a
  href="http://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html">How It Works</a>.
  </p>
  <p>
  Amazon SageMaker strips all POST headers except those supported by the API. Amazon SageMaker might add additional
  headers. You should not rely on the behavior of headers outside those enumerated in the request syntax.
  </p>
  <p>
  Cals to <code>InvokeEndpoint</code> are authenticated by using AWS Signature Version 4. For information, see <a
  href="http://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html">Authenticating Requests
  (AWS Signature Version 4)</a> in the <i>Amazon S3 API Reference</i>.
  </p>
  <note>
  <p>
  Endpoints are scoped to an individual account, and are not public. The URL does not contain the account ID, but
  Amazon SageMaker determines the account ID from the authentication token that is supplied by the caller.
  </p>
  </note>
  
  @param invokeEndpointRequest
  @return Result of the InvokeEndpoint operation returned by the service.
  @throws InternalFailureException
  An internal failure occurred.
  @throws ServiceUnavailableException
  The service is unavailable. Try your call again.
  @throws ValidationErrorException
  Inspect your request and try again.
  @throws ModelErrorException
  Model (owned by the customer in the container) returned an error 500.
  @sample AmazonSageMakerRuntime.InvokeEndpoint
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/runtime.sagemaker-2017-05-13/InvokeEndpoint"
  target="_top">AWS API Documentation</a>