StopInferenceExperimentRequest
import type { StopInferenceExperimentRequest } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";
interface StopInferenceExperimentRequest {
DesiredModelVariants?: ModelVariantConfig[] | null;
DesiredState?: InferenceExperimentStopDesiredState | 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.
§
DesiredState?: InferenceExperimentStopDesiredState | null
[src]The desired state of the experiment after stopping. The possible states are the following:
Completed
: The experiment completed successfullyCancelled
: The experiment was canceled
§
ModelVariantActions: {}
[src][key: string]: ModelVariantAction | null | undefined;
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 variantRemove
- Delete the variantRetain
- Keep the variant as it is