Module Values.InvokeEndpointAsyncOutputSource

After you deploy a model into production using Amazon SageMaker AI hosting services, your client applications use this API to get inferences from the model hosted at the specified endpoint in an asynchronous manner. Inference requests sent to this API are enqueued for asynchronous processing. The processing of the inference request may or may not complete before you receive a response from this API. The response from this API will not contain the result of the inference request but contain information about where you can locate it. Amazon SageMaker AI strips all POST headers except those supported by the API. Amazon SageMaker AI might add additional headers. You should not rely on the behavior of headers outside those enumerated in the request syntax. Calls to InvokeEndpointAsync are authenticated by using Amazon Web Services Signature Version 4. For information, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 API Reference.

Sourcetype nonrec t = {
  1. inferenceId : Header.t option;
    (*

    Identifier for an inference request. This will be the same as the InferenceId specified in the input. Amazon SageMaker AI will generate an identifier for you if you do not specify one.

    *)
  2. outputLocation : Header.t option;
    (*

    The Amazon S3 URI where the inference response payload is stored.

    *)
  3. failureLocation : Header.t option;
    (*

    The Amazon S3 URI where the inference failure response payload is stored.

    *)
}
Sourcetype nonrec error = [
  1. | `InternalFailure of InternalFailure.t
  2. | `ServiceUnavailable of ServiceUnavailable.t
  3. | `ValidationError of ValidationError.t
  4. | `Unknown_operation_error of string * string option
]
Sourceval make : ?inferenceId:??? -> ?outputLocation:??? -> ?failureLocation:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InternalFailure of InternalFailure.t | `ServiceUnavailable of ServiceUnavailable.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InternalFailure of InternalFailure.t | `ServiceUnavailable of ServiceUnavailable.t | `Unknown_operation_error of string * string option | `ValidationError of ValidationError.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Header.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t