Struct aws_sdk_sagemaker::types::ShadowModeConfig
source · #[non_exhaustive]pub struct ShadowModeConfig { /* private fields */ }
Expand description
The configuration of ShadowMode
inference experiment type, which specifies a production variant to take all the inference requests, and a shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also specifies the percentage of requests that Amazon SageMaker replicates.
Implementations§
source§impl ShadowModeConfig
impl ShadowModeConfig
sourcepub fn source_model_variant_name(&self) -> Option<&str>
pub fn source_model_variant_name(&self) -> Option<&str>
The name of the production variant, which takes all the inference requests.
sourcepub fn shadow_model_variants(&self) -> Option<&[ShadowModelVariantConfig]>
pub fn shadow_model_variants(&self) -> Option<&[ShadowModelVariantConfig]>
List of shadow variant configurations.
source§impl ShadowModeConfig
impl ShadowModeConfig
sourcepub fn builder() -> ShadowModeConfigBuilder
pub fn builder() -> ShadowModeConfigBuilder
Creates a new builder-style object to manufacture ShadowModeConfig
.
Trait Implementations§
source§impl Clone for ShadowModeConfig
impl Clone for ShadowModeConfig
source§fn clone(&self) -> ShadowModeConfig
fn clone(&self) -> ShadowModeConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ShadowModeConfig
impl Debug for ShadowModeConfig
source§impl PartialEq<ShadowModeConfig> for ShadowModeConfig
impl PartialEq<ShadowModeConfig> for ShadowModeConfig
source§fn eq(&self, other: &ShadowModeConfig) -> bool
fn eq(&self, other: &ShadowModeConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.