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
30919 30920 30921 30922 30923 30924 30925 30926 30927 30928 30929 30930 30931 30932 30933 30934 30935 30936 30937 30938 30939 30940 30941 30942 30943 30944 30945 30946 30947 30948 30949 30950 30951 30952 30953 30954 30955 30956 30957 30958 30959 30960 30961 30962 30963 30964 30965 30966 30967 30968 30969 30970 30971 30972 30973 30974 30975 30976 30977 30978 30979 30980 30981 30982 30983 30984 30985 30986 30987 30988 30989 30990 30991 30992 30993 30994 30995 30996 | |