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 StopInferenceExperiment operation. Stops an inference experiment.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.SageMaker.AmazonSageMakerRequest
      Amazon.SageMaker.Model.StopInferenceExperimentRequest

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

Syntax

C#
public class StopInferenceExperimentRequest : AmazonSageMakerRequest
         IAmazonWebServiceRequest

The StopInferenceExperimentRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DesiredModelVariants System.Collections.Generic.List<Amazon.SageMaker.Model.ModelVariantConfig>

Gets and sets the property DesiredModelVariants.

An array of ModelVariantConfig objects. There is one for each variant that you want to deploy after the inference experiment stops. Each ModelVariantConfig describes the infrastructure configuration for deploying the corresponding variant.

Public Property DesiredState Amazon.SageMaker.InferenceExperimentStopDesiredState

Gets and sets the property DesiredState.

The desired state of the experiment after stopping. The possible states are the following:

  • Completed: The experiment completed successfully

  • Cancelled: The experiment was canceled

Public Property ModelVariantActions System.Collections.Generic.Dictionary<System.String, System.String>

Gets and sets the property ModelVariantActions.

Array of key-value pairs, with names of variants mapped to actions. The possible actions are the following:

  • Promote - Promote the shadow variant to a production variant

  • Remove - Delete the variant

  • Retain - Keep the variant as it is

Public Property Name System.String

Gets and sets the property Name.

The name of the inference experiment to stop.

Public Property Reason System.String

Gets and sets the property Reason.

The reason for stopping the experiment.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5