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
35618 35619 35620 35621 35622 35623 35624 35625 35626 35627 35628 35629 35630 35631 35632 35633 35634 35635 35636 35637 35638 35639 35640 35641 35642 35643 35644 35645 35646 35647 35648 35649 35650 35651 35652 35653 35654 35655 35656 35657 35658 35659 35660 35661 35662 35663 35664 35665 35666 35667 35668 35669 35670 35671 35672 35673 35674 35675 35676 35677 35678 35679 35680 35681 35682 35683 35684 35685 35686 35687 35688 35689 35690 35691 35692 35693 35694 35695 35696 35697 35698 35699 35700 35701 35702 35703 35704 35705 35706 35707 35708 35709 35710 35711 35712 35713 35714 35715 35716 35717 35718 35719 35720 35721 | |