Skip to content

UpdateInferenceExperimentRequest

Source code in docs_src/capo_sagemaker/types/update_inference_experiment_request.py
class UpdateInferenceExperimentRequest(TypedDict, closed=True):
    name: NotRequired[
        "capo_sagemaker.types.inference_experiment_name.InferenceExperimentName"
    ]
    """<p>The name of the inference experiment to be updated.</p>"""
    schedule: NotRequired[
        "capo_sagemaker.types.inference_experiment_schedule.InferenceExperimentSchedule"
    ]
    """<p> The duration for which the inference experiment will run. If the status of the inference experiment is <code>Created</code>, then you can update both the start and end dates. If the status of the inference experiment is <code>Running</code>, then you can update only the end date. </p>"""
    description: NotRequired[
        "capo_sagemaker.types.inference_experiment_description.InferenceExperimentDescription"
    ]
    """<p>The description of the inference experiment.</p>"""
    model_variants: NotRequired[
        "capo_sagemaker.types.model_variant_config_list.ModelVariantConfigList"
    ]
    """<p> An array of <code>ModelVariantConfig</code> objects. There is one for each variant, whose infrastructure configuration you want to update. </p>"""
    data_storage_config: NotRequired[
        "capo_sagemaker.types.inference_experiment_data_storage_config.InferenceExperimentDataStorageConfig"
    ]
    """<p>The Amazon S3 location and configuration for storing inference request and response data.</p>"""
    shadow_mode_config: NotRequired[
        "capo_sagemaker.types.shadow_mode_config.ShadowModeConfig"
    ]
    """<p> The configuration of <code>ShadowMode</code> 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. </p>"""

data_storage_config instance-attribute

data_storage_config: NotRequired[InferenceExperimentDataStorageConfig]

The Amazon S3 location and configuration for storing inference request and response data.

description instance-attribute

description: NotRequired[InferenceExperimentDescription]

The description of the inference experiment.

model_variants instance-attribute

model_variants: NotRequired[ModelVariantConfigList]

An array of ModelVariantConfig objects. There is one for each variant, whose infrastructure configuration you want to update.

name instance-attribute

name: NotRequired[InferenceExperimentName]

The name of the inference experiment to be updated.

schedule instance-attribute

schedule: NotRequired[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.

shadow_mode_config instance-attribute

shadow_mode_config: NotRequired[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.