StopInferenceExperimentRequest
¶
Source code in docs_src/capo_sagemaker/types/stop_inference_experiment_request.py
desired_model_variants
instance-attribute
¶
desired_model_variants: NotRequired[ModelVariantConfigList]
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.
desired_state
instance-attribute
¶
desired_state: NotRequired[InferenceExperimentStopDesiredState]
The desired state of the experiment after stopping. The possible states are the following:
-
Completed: The experiment completed successfully -
Cancelled: The experiment was canceled
model_variant_actions
instance-attribute
¶
model_variant_actions: NotRequired[ModelVariantActionMap]
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
instance-attribute
¶
name: NotRequired[InferenceExperimentName]
The name of the inference experiment to stop.
reason
instance-attribute
¶
reason: NotRequired[InferenceExperimentStatusReason]
The reason for stopping the experiment.