sagemaker_stop_inference_experiment: Stops an inference experiment

View source: R/sagemaker_operations.R

sagemaker_stop_inference_experimentR Documentation

Stops an inference experiment

Description

Stops 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 variant

  • Remove - Delete the variant

  • Retain - Keep the variant as it is

DesiredModelVariants

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

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

  • Completed: The experiment completed successfully

  • Cancelled: The experiment was canceled

Reason

The reason for stopping the experiment.


paws.machine.learning documentation built on Sept. 12, 2024, 6:23 a.m.