Struct aws_sdk_sagemaker::operation::update_inference_experiment::UpdateInferenceExperimentInput
source · #[non_exhaustive]pub struct UpdateInferenceExperimentInput {
pub name: Option<String>,
pub schedule: Option<InferenceExperimentSchedule>,
pub description: Option<String>,
pub model_variants: Option<Vec<ModelVariantConfig>>,
pub data_storage_config: Option<InferenceExperimentDataStorageConfig>,
pub shadow_mode_config: Option<ShadowModeConfig>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The name of the inference experiment to be updated.
schedule: Option<InferenceExperimentSchedule>
The duration for which the inference experiment will run. If the status of the inference experiment is Created
, then you can update both the start and end dates. If the status of the inference experiment is Running
, then you can update only the end date.
description: Option<String>
The description of the inference experiment.
model_variants: Option<Vec<ModelVariantConfig>>
An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.
data_storage_config: Option<InferenceExperimentDataStorageConfig>
The Amazon S3 location and configuration for storing inference request and response data.
shadow_mode_config: Option<ShadowModeConfig>
The configuration of ShadowMode
inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.
Implementations§
source§impl UpdateInferenceExperimentInput
impl UpdateInferenceExperimentInput
sourcepub fn schedule(&self) -> Option<&InferenceExperimentSchedule>
pub fn schedule(&self) -> Option<&InferenceExperimentSchedule>
The duration for which the inference experiment will run. If the status of the inference experiment is Created
, then you can update both the start and end dates. If the status of the inference experiment is Running
, then you can update only the end date.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the inference experiment.
sourcepub fn model_variants(&self) -> &[ModelVariantConfig]
pub fn model_variants(&self) -> &[ModelVariantConfig]
An array of ModelVariantConfig
objects. There is one for each variant, whose infrastructure configuration you want to update.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .model_variants.is_none()
.
sourcepub fn data_storage_config(
&self
) -> Option<&InferenceExperimentDataStorageConfig>
pub fn data_storage_config( &self ) -> Option<&InferenceExperimentDataStorageConfig>
The Amazon S3 location and configuration for storing inference request and response data.
sourcepub fn shadow_mode_config(&self) -> Option<&ShadowModeConfig>
pub fn shadow_mode_config(&self) -> Option<&ShadowModeConfig>
The configuration of ShadowMode
inference experiment type. Use this field to specify a production variant which takes all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant also specify the percentage of requests that Amazon SageMaker replicates.
source§impl UpdateInferenceExperimentInput
impl UpdateInferenceExperimentInput
sourcepub fn builder() -> UpdateInferenceExperimentInputBuilder
pub fn builder() -> UpdateInferenceExperimentInputBuilder
Creates a new builder-style object to manufacture UpdateInferenceExperimentInput
.
Trait Implementations§
source§impl Clone for UpdateInferenceExperimentInput
impl Clone for UpdateInferenceExperimentInput
source§fn clone(&self) -> UpdateInferenceExperimentInput
fn clone(&self) -> UpdateInferenceExperimentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for UpdateInferenceExperimentInput
impl PartialEq for UpdateInferenceExperimentInput
source§fn eq(&self, other: &UpdateInferenceExperimentInput) -> bool
fn eq(&self, other: &UpdateInferenceExperimentInput) -> bool
self
and other
values to be equal, and is used
by ==
.