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 ==
.impl StructuralPartialEq for UpdateInferenceExperimentInput
Auto Trait Implementations§
impl Freeze for UpdateInferenceExperimentInput
impl RefUnwindSafe for UpdateInferenceExperimentInput
impl Send for UpdateInferenceExperimentInput
impl Sync for UpdateInferenceExperimentInput
impl Unpin for UpdateInferenceExperimentInput
impl UnwindSafe for UpdateInferenceExperimentInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more