update_service_sync_config
async
¶
update_service_sync_config(
service_name: ResourceName,
repository_provider: RepositoryProvider,
repository_name: RepositoryName,
branch: GitBranchName,
file_path: OpsFilePath,
*,
config_overrides: Optional[AsyncProtonClientConfig] = 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/async_proton.py
5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 | |