AWS SDK Version 3 for .NET
API Reference

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.

Container for the parameters to the InvokeEndpoint operation. 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.

Inheritance Hierarchy


Namespace: Amazon.SageMakerRuntime.Model
Assembly: AWSSDK.SageMakerRuntime.dll
Version: 3.x.y.z


public class InvokeEndpointRequest : AmazonSageMakerRuntimeRequest

The InvokeEndpointRequest type exposes the following members


Public Method InvokeEndpointRequest()


Public Property Accept System.String

Gets and sets the property Accept.

The desired MIME type of the inference in the response.

Public Property Body System.IO.MemoryStream

Gets and sets the property Body.

Provides input data, in the format specified in the ContentType request header. Amazon SageMaker passes all of the data in the body to the model.

Public Property ContentType System.String

Gets and sets the property ContentType.

The MIME type of the input data in the request body.

Public Property EndpointName System.String

Gets and sets the property EndpointName.

The name of the endpoint that you specified when you created the endpoint using the CreateEndpoint API.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms