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.

Implementation for accessing SageMakerRuntime Amazon SageMaker runtime API.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.SageMakerRuntime.AmazonSageMakerRuntimeClient

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

Syntax

C#
public class AmazonSageMakerRuntimeClient : AmazonServiceClient
         IAmazonSageMakerRuntime, IAmazonService, IDisposable

The AmazonSageMakerRuntimeClient type exposes the following members

Constructors

NameDescription
Public Method AmazonSageMakerRuntimeClient()

Constructs AmazonSageMakerRuntimeClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.



    
        
    

             

Public Method AmazonSageMakerRuntimeClient(RegionEndpoint)

Constructs AmazonSageMakerRuntimeClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.



    
        
    

             

Public Method AmazonSageMakerRuntimeClient(AmazonSageMakerRuntimeConfig)

Constructs AmazonSageMakerRuntimeClient with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.



    
        
    

             

Public Method AmazonSageMakerRuntimeClient(AWSCredentials)

Constructs AmazonSageMakerRuntimeClient with AWS Credentials

Public Method AmazonSageMakerRuntimeClient(AWSCredentials, RegionEndpoint)

Constructs AmazonSageMakerRuntimeClient with AWS Credentials

Public Method AmazonSageMakerRuntimeClient(AWSCredentials, AmazonSageMakerRuntimeConfig)

Constructs AmazonSageMakerRuntimeClient with AWS Credentials and an AmazonSageMakerRuntimeClient Configuration object.

Public Method AmazonSageMakerRuntimeClient(string, string)

Constructs AmazonSageMakerRuntimeClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonSageMakerRuntimeClient(string, string, RegionEndpoint)

Constructs AmazonSageMakerRuntimeClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonSageMakerRuntimeClient(string, string, AmazonSageMakerRuntimeConfig)

Constructs AmazonSageMakerRuntimeClient with AWS Access Key ID, AWS Secret Key and an AmazonSageMakerRuntimeClient Configuration object.

Public Method AmazonSageMakerRuntimeClient(string, string, string)

Constructs AmazonSageMakerRuntimeClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonSageMakerRuntimeClient(string, string, string, RegionEndpoint)

Constructs AmazonSageMakerRuntimeClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonSageMakerRuntimeClient(string, string, string, AmazonSageMakerRuntimeConfig)

Constructs AmazonSageMakerRuntimeClient with AWS Access Key ID, AWS Secret Key and an AmazonSageMakerRuntimeClient Configuration object.

Properties

NameTypeDescription
Public Property Config Amazon.Runtime.IClientConfig Inherited from Amazon.Runtime.AmazonServiceClient.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method InvokeEndpoint(InvokeEndpointRequest)

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.

Public Method InvokeEndpointAsync(InvokeEndpointRequest, CancellationToken)

Initiates the asynchronous execution of the InvokeEndpoint operation.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

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