update_template_sync_config
async
¶
update_template_sync_config(
template_name: ResourceName,
template_type: TemplateType,
repository_provider: RepositoryProvider,
repository_name: RepositoryName,
branch: GitBranchName,
*,
config_overrides: Optional[AsyncProtonClientConfig] = None,
subdirectory: Optional[Subdirectory] = None,
) -> UpdateTemplateSyncConfigOutput
Update template sync configuration parameters, except for the templateName and templateType. Repository details (branch, name, and provider) should be of a linked repository. A linked repository is a repository that has been registered with Proton. For more information, see CreateRepository.
Parameters:
-
template_name(ResourceName) –The synced template name.
-
template_type(TemplateType) –The synced template type.
-
repository_provider(RepositoryProvider) –The repository provider.
-
repository_name(RepositoryName) –The repository name (for example,
myrepos/myrepo). -
branch(GitBranchName) –The repository branch for your template.
-
subdirectory(Optional[Subdirectory], default:None) –A subdirectory path to your template bundle version. When included, limits the template bundle search to this repository directory.
Raises:
-
AccessDeniedException–There isn't sufficient access for performing this action.
-
ConflictException–The request couldn't be made due to a conflicting operation or resource.
-
InternalServerException–The request failed to register with the service.
-
ResourceNotFoundException–The requested resource wasn't found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input is invalid or an out-of-range value was supplied for the input parameter.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_proton/_services/async_proton.py
6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 | |