update_template_sync_config
¶
update_template_sync_config(
template_name: ResourceName,
template_type: TemplateType,
repository_provider: RepositoryProvider,
repository_name: RepositoryName,
branch: GitBranchName,
*,
config_overrides: Optional[ProtonClientConfig] = 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/proton.py
6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 | |