update_service_sync_config
¶
update_service_sync_config(
service_name: ResourceName,
repository_provider: RepositoryProvider,
repository_name: RepositoryName,
branch: GitBranchName,
file_path: OpsFilePath,
*,
config_overrides: Optional[ProtonClientConfig] = None,
) -> UpdateServiceSyncConfigOutput
Update the Proton Ops config file.
Parameters:
-
service_name(ResourceName) –The name of the service the Proton Ops file is for.
-
repository_provider(RepositoryProvider) –The name of the repository provider where the Proton Ops file is found.
-
repository_name(RepositoryName) –The name of the repository where the Proton Ops file is found.
-
branch(GitBranchName) –The name of the code repository branch where the Proton Ops file is found.
-
file_path(OpsFilePath) –The path to the Proton Ops file.
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
5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 | |