get_repository_sync_status
¶
get_repository_sync_status(
branch: BranchName,
repository_link_id: RepositoryLinkId,
sync_type: SyncConfigurationType,
*,
config_overrides: Optional[CodeConnectionsClientConfig] = None,
) -> GetRepositorySyncStatusOutput
Returns details about the sync status for a repository. A repository sync uses Git sync to push and pull changes from your remote repository.
Parameters:
-
branch(BranchName) –The branch of the repository link for the requested repository sync status.
-
repository_link_id(RepositoryLinkId) –The repository link ID for the requested repository sync status.
-
sync_type(SyncConfigurationType) –The sync type of the requested sync status.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–Received an internal server exception. Try again later.
-
InvalidInputException–The input is not valid. Verify that the action is typed correctly.
-
ResourceNotFoundException–Resource not found. Verify the connection resource ARN and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codeconnections/_services/code_connections.py
986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | |