Stops an inference experiment.
See https://www.paws-r-sdk.com/docs/sagemaker_stop_inference_experiment/ for full documentation.
sagemaker_stop_inference_experiment(
Name,
ModelVariantActions,
DesiredModelVariants = NULL,
DesiredState = NULL,
Reason = NULL
)
[required] The name of the inference experiment to stop.
[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 variant
Remove
- Delete the variant
Retain
- Keep the variant as it is
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
The reason for stopping the experiment.