Struct aws_sdk_sagemaker::operation::stop_inference_experiment::StopInferenceExperimentInput
source · #[non_exhaustive]pub struct StopInferenceExperimentInput { /* private fields */ }
Implementations§
source§impl StopInferenceExperimentInput
impl StopInferenceExperimentInput
sourcepub fn model_variant_actions(
&self
) -> Option<&HashMap<String, ModelVariantAction>>
pub fn model_variant_actions( &self ) -> Option<&HashMap<String, ModelVariantAction>>
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
sourcepub fn desired_model_variants(&self) -> Option<&[ModelVariantConfig]>
pub fn desired_model_variants(&self) -> Option<&[ModelVariantConfig]>
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.
sourcepub fn desired_state(&self) -> Option<&InferenceExperimentStopDesiredState>
pub fn desired_state(&self) -> Option<&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
source§impl StopInferenceExperimentInput
impl StopInferenceExperimentInput
sourcepub fn builder() -> StopInferenceExperimentInputBuilder
pub fn builder() -> StopInferenceExperimentInputBuilder
Creates a new builder-style object to manufacture StopInferenceExperimentInput
.
source§impl StopInferenceExperimentInput
impl StopInferenceExperimentInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<StopInferenceExperiment, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation( &self, _config: &Config ) -> Result<Operation<StopInferenceExperiment, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<StopInferenceExperiment
>
Trait Implementations§
source§impl Clone for StopInferenceExperimentInput
impl Clone for StopInferenceExperimentInput
source§fn clone(&self) -> StopInferenceExperimentInput
fn clone(&self) -> StopInferenceExperimentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StopInferenceExperimentInput
impl Debug for StopInferenceExperimentInput
source§impl PartialEq<StopInferenceExperimentInput> for StopInferenceExperimentInput
impl PartialEq<StopInferenceExperimentInput> for StopInferenceExperimentInput
source§fn eq(&self, other: &StopInferenceExperimentInput) -> bool
fn eq(&self, other: &StopInferenceExperimentInput) -> bool
self
and other
values to be equal, and is used
by ==
.