update_trial_component
async
¶
update_trial_component(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = None,
trial_component_name: Optional[ExperimentEntityName] = None,
display_name: Optional[ExperimentEntityName] = None,
status: Optional[TrialComponentStatus] = None,
start_time: Optional[Timestamp] = None,
end_time: Optional[Timestamp] = None,
parameters: Optional[TrialComponentParameters] = None,
parameters_to_remove: Optional[ListTrialComponentKey256] = None,
input_artifacts: Optional[TrialComponentArtifacts] = None,
input_artifacts_to_remove: Optional[ListTrialComponentKey256] = None,
output_artifacts: Optional[TrialComponentArtifacts] = None,
output_artifacts_to_remove: Optional[ListTrialComponentKey256] = None,
) -> UpdateTrialComponentResponse
Updates one or more properties of a trial component.
Parameters:
-
trial_component_name(Optional[ExperimentEntityName], default:None) –The name of the component to update.
-
display_name(Optional[ExperimentEntityName], default:None) –The name of the component as displayed. The name doesn't need to be unique. If
DisplayNameisn't specified,TrialComponentNameis displayed. -
status(Optional[TrialComponentStatus], default:None) –The new status of the component.
-
start_time(Optional[Timestamp], default:None) –When the component started.
-
end_time(Optional[Timestamp], default:None) –When the component ended.
-
parameters(Optional[TrialComponentParameters], default:None) –Replaces all of the component's hyperparameters with the specified hyperparameters or add new hyperparameters. Existing hyperparameters are replaced if the trial component is updated with an identical hyperparameter key.
-
parameters_to_remove(Optional[ListTrialComponentKey256], default:None) –The hyperparameters to remove from the component.
-
input_artifacts(Optional[TrialComponentArtifacts], default:None) –Replaces all of the component's input artifacts with the specified artifacts or adds new input artifacts. Existing input artifacts are replaced if the trial component is updated with an identical input artifact key.
-
input_artifacts_to_remove(Optional[ListTrialComponentKey256], default:None) –The input artifacts to remove from the component.
-
output_artifacts(Optional[TrialComponentArtifacts], default:None) –Replaces all of the component's output artifacts with the specified artifacts or adds new output artifacts. Existing output artifacts are replaced if the trial component is updated with an identical output artifact key.
-
output_artifacts_to_remove(Optional[ListTrialComponentKey256], default:None) –The output artifacts to remove from the component.
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
32270 32271 32272 32273 32274 32275 32276 32277 32278 32279 32280 32281 32282 32283 32284 32285 32286 32287 32288 32289 32290 32291 32292 32293 32294 32295 32296 32297 32298 32299 32300 32301 32302 32303 32304 32305 32306 32307 32308 32309 32310 32311 32312 32313 32314 32315 32316 32317 32318 32319 32320 32321 32322 32323 32324 32325 32326 32327 32328 32329 32330 32331 32332 32333 32334 32335 32336 32337 32338 32339 32340 32341 32342 32343 32344 32345 32346 32347 32348 32349 32350 32351 32352 32353 32354 32355 32356 32357 32358 32359 32360 32361 32362 32363 32364 32365 32366 32367 32368 32369 32370 32371 32372 32373 | |