update_trial_component
¶
update_trial_component(
*,
config_overrides: Optional[SageMakerClientConfig] = 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/sage_maker.py
35161 35162 35163 35164 35165 35166 35167 35168 35169 35170 35171 35172 35173 35174 35175 35176 35177 35178 35179 35180 35181 35182 35183 35184 35185 35186 35187 35188 35189 35190 35191 35192 35193 35194 35195 35196 35197 35198 35199 35200 35201 35202 35203 35204 35205 35206 35207 35208 35209 35210 35211 35212 35213 35214 35215 35216 35217 35218 35219 35220 35221 35222 35223 35224 35225 35226 35227 35228 35229 35230 35231 35232 35233 35234 35235 35236 35237 35238 35239 35240 35241 35242 35243 35244 35245 35246 35247 35248 35249 35250 35251 35252 35253 35254 35255 35256 35257 35258 35259 35260 35261 35262 35263 | |