Skip to content

ShadowModelVariantConfig

Source code in docs_src/capo_sagemaker/types/shadow_model_variant_config.py
class ShadowModelVariantConfig(TypedDict, closed=True):
    shadow_model_variant_name: NotRequired[
        "capo_sagemaker.types.model_variant_name.ModelVariantName"
    ]
    """<p>The name of the shadow variant.</p>"""
    sampling_percentage: NotRequired["capo_sagemaker.types.percentage.Percentage"]
    """<p> The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant. </p>"""

sampling_percentage instance-attribute

sampling_percentage: NotRequired[Percentage]

The percentage of inference requests that Amazon SageMaker replicates from the production variant to the shadow variant.

shadow_model_variant_name instance-attribute

shadow_model_variant_name: NotRequired[ModelVariantName]

The name of the shadow variant.