Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

StopInferenceExperimentRequest

import type { StopInferenceExperimentRequest } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";
interface StopInferenceExperimentRequest {
DesiredModelVariants?: ModelVariantConfig[] | null;
ModelVariantActions: {
[key: string]: ModelVariantAction | null | undefined;
}
;
Name: string;
Reason?: string | null;
}

§Properties

§
DesiredModelVariants?: ModelVariantConfig[] | null
[src]

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.

§

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

  • Completed: The experiment completed successfully
  • Cancelled: The experiment was canceled
§
ModelVariantActions: {
[key: string]: ModelVariantAction | null | undefined;
}
[src]

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
§
Name: string
[src]

The name of the inference experiment to stop.

§
Reason?: string | null
[src]

The reason for stopping the experiment.