Stops an inference experiment
Source:R/sagemaker_operations.R
sagemaker_stop_inference_experiment.RdStops an inference experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_inference_experiment/ for full documentation.
Usage
sagemaker_stop_inference_experiment(
Name,
ModelVariantActions,
DesiredModelVariants = NULL,
DesiredState = NULL,
Reason = NULL
)Arguments
- Name
[required] The name of the inference experiment to stop.
- ModelVariantActions
[required] 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
- DesiredModelVariants
An array of
ModelVariantConfigobjects. There is one for each variant that you want to deploy after the inference experiment stops. EachModelVariantConfigdescribes the infrastructure configuration for deploying the corresponding variant.- DesiredState
The desired state of the experiment after stopping. The possible states are the following:
Completed: The experiment completed successfullyCancelled: The experiment was canceled
- Reason
The reason for stopping the experiment.