create_service_sync_config
¶
create_service_sync_config(
service_name: ResourceName,
repository_provider: RepositoryProvider,
repository_name: RepositoryName,
branch: GitBranchName,
file_path: OpsFilePath,
*,
config_overrides: Optional[ProtonClientConfig] = None,
) -> CreateServiceSyncConfigOutput
Create the Proton Ops configuration file.
Parameters:
-
service_name(ResourceName) –The name of the service the Proton Ops file is for.
-
repository_provider(RepositoryProvider) –The provider type for your repository.
-
repository_name(RepositoryName) –The repository name.
-
branch(GitBranchName) –The repository branch for your Proton Ops file.
-
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.
-
ServiceQuotaExceededException–A quota was exceeded. For more information, see Proton Quotas in the Proton User Guide.
-
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
5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 | |