update_code_repository
async
¶
update_code_repository(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
32785 32786 32787 32788 32789 32790 32791 32792 32793 32794 32795 32796 32797 32798 32799 32800 32801 32802 32803 32804 32805 32806 32807 32808 32809 32810 32811 32812 32813 32814 32815 32816 32817 32818 32819 32820 32821 32822 32823 32824 32825 32826 32827 32828 32829 32830 32831 32832 32833 32834 32835 32836 32837 32838 32839 | |