import { SageMakerRuntimeClient } from "./SageMakerRuntimeClient"; import { InvokeEndpointInput } from "./types/InvokeEndpointInput"; import { InvokeEndpointOutput } from "./types/InvokeEndpointOutput"; export declare class SageMakerRuntime extends SageMakerRuntimeClient { /** *

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.

For an overview of Amazon SageMaker, see How It Works.

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.

Cals to InvokeEndpoint are authenticated by using AWS Signature Version 4. For information, see Authenticating Requests (AWS Signature Version 4) in the Amazon S3 API Reference.

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.

* * This operation may fail with one of the following errors: * - {InternalFailure}

An internal failure occurred.

* - {ServiceUnavailable}

The service is unavailable. Try your call again.

* - {ValidationError}

Inspect your request and try again.

* - {ModelError}

Model (owned by the customer in the container) returned an error 500.

* - {Error} An error originating from the SDK or customizations rather than the service */ invokeEndpoint(args: InvokeEndpointInput): Promise; invokeEndpoint(args: InvokeEndpointInput, cb: (err: any, data?: InvokeEndpointOutput) => void): void; }