update_code_repository
¶
update_code_repository(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
code_repository_name: Optional[EntityName] = None,
git_config: Optional[GitConfigForUpdate] = None,
) -> UpdateCodeRepositoryOutput
Updates the specified Git repository with the specified values.
Parameters:
-
code_repository_name(Optional[EntityName], default:None) –The name of the Git repository to update.
-
git_config(Optional[GitConfigForUpdate], default:None) –The configuration of the git repository, including the URL and the Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the repository. The secret must have a staging label of
AWSCURRENTand must be in the following format:{"username": UserName, "password": Password}
Raises:
-
ConflictException–There was a conflict when you attempted to modify a SageMaker entity such as an
ExperimentorArtifact. -
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
29266 29267 29268 29269 29270 29271 29272 29273 29274 29275 29276 29277 29278 29279 29280 29281 29282 29283 29284 29285 29286 29287 29288 29289 29290 29291 29292 29293 29294 29295 29296 29297 29298 29299 29300 29301 29302 29303 29304 29305 29306 29307 29308 29309 29310 29311 29312 29313 29314 29315 29316 29317 29318 29319 | |