AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is the response object from the InvokeEndpoint operation.
Namespace: Amazon.SageMakerRuntime.Model
Assembly: AWSSDK.SageMakerRuntime.dll
Version: 3.x.y.z
public class InvokeEndpointResponse : AmazonWebServiceResponse
The InvokeEndpointResponse type exposes the following members
Name | Description | |
---|---|---|
InvokeEndpointResponse() |
Name | Type | Description | |
---|---|---|---|
Body | System.IO.MemoryStream |
Gets and sets the property Body. Includes the inference provided by the model. For information about the format of the response body, see Common Data Formats-Inference. If the explainer is activated, the body includes the explanations provided by the model. For more information, see the Response section under Invoke the Endpoint in the Developer Guide. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
ContentType | System.String |
Gets and sets the property ContentType. The MIME type of the inference returned from the model container. |
|
CustomAttributes | System.String |
Gets and sets the property CustomAttributes.
Provides additional information in the response about the inference returned by a
model hosted at an Amazon SageMaker endpoint. The information is an opaque value that
is forwarded verbatim. You could use this value, for example, to return an ID received
in the
The code in your model is responsible for setting or updating any custom attributes
in the response. If your code does not set this value in the response, an empty value
is returned. For example, if a custom attribute represents the trace ID, your model
can prepend the custom attribute with This feature is currently supported in the Amazon Web Services SDKs but not in the Amazon SageMaker Python SDK. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
InvokedProductionVariant | System.String |
Gets and sets the property InvokedProductionVariant. Identifies the production variant that was invoked. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5