update_inference_experiment
¶
update_inference_experiment(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
30521 30522 30523 30524 30525 30526 30527 30528 30529 30530 30531 30532 30533 30534 30535 30536 30537 30538 30539 30540 30541 30542 30543 30544 30545 30546 30547 30548 30549 30550 30551 30552 30553 30554 30555 30556 30557 30558 30559 30560 30561 30562 30563 30564 30565 30566 30567 30568 30569 30570 30571 30572 30573 30574 30575 30576 30577 30578 30579 30580 30581 30582 30583 30584 30585 30586 30587 30588 30589 30590 30591 30592 30593 30594 30595 30596 30597 | |