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
32366 32367 32368 32369 32370 32371 32372 32373 32374 32375 32376 32377 32378 32379 32380 32381 32382 32383 32384 32385 32386 32387 32388 32389 32390 32391 32392 32393 32394 32395 32396 32397 32398 32399 32400 32401 32402 32403 32404 32405 32406 32407 32408 32409 32410 32411 32412 32413 32414 32415 32416 32417 32418 32419 | |