get_repository_sync_status
async
¶
get_repository_sync_status(
branch: BranchName,
repository_link_id: RepositoryLinkId,
sync_type: SyncConfigurationType,
*,
config_overrides: Optional[AsyncCodeConnectionsClientConfig] = 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/async_code_connections.py
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 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 | |