update_inference_experiment
async
¶
update_inference_experiment(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
name: Optional[InferenceExperimentName] = None,
schedule: Optional[InferenceExperimentSchedule] = None,
description: Optional[InferenceExperimentDescription] = None,
model_variants: Optional[ModelVariantConfigList] = None,
data_storage_config: Optional[InferenceExperimentDataStorageConfig] = None,
shadow_mode_config: Optional[ShadowModeConfig] = None,
) -> UpdateInferenceExperimentResponse
Updates an inference experiment that you created. The status of the inference experiment has to be either Created, Running. For more information on the status of an inference experiment, see DescribeInferenceExperiment.
Parameters:
-
name(Optional[InferenceExperimentName], default:None) –The name of the inference experiment to be updated.
-
schedule(Optional[InferenceExperimentSchedule], default:None) –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 isRunning, then you can update only the end date. -
description(Optional[InferenceExperimentDescription], default:None) –The description of the inference experiment.
-
model_variants(Optional[ModelVariantConfigList], default:None) –An array of
ModelVariantConfigobjects. There is one for each variant, whose infrastructure configuration you want to update. -
data_storage_config(Optional[InferenceExperimentDataStorageConfig], default:None) –The Amazon S3 location and configuration for storing inference request and response data.
-
shadow_mode_config(Optional[ShadowModeConfig], default:None) –The configuration of
ShadowModeinference 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.
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/async_sage_maker.py
34113 34114 34115 34116 34117 34118 34119 34120 34121 34122 34123 34124 34125 34126 34127 34128 34129 34130 34131 34132 34133 34134 34135 34136 34137 34138 34139 34140 34141 34142 34143 34144 34145 34146 34147 34148 34149 34150 34151 34152 34153 34154 34155 34156 34157 34158 34159 34160 34161 34162 34163 34164 34165 34166 34167 34168 34169 34170 34171 34172 34173 34174 34175 34176 34177 34178 34179 34180 34181 34182 34183 34184 34185 34186 34187 34188 34189 34190 | |