update_sync_blocker
async
¶
update_sync_blocker(
id: Id,
sync_type: SyncConfigurationType,
resource_name: ResourceName,
resolved_reason: ResolvedReason,
*,
config_overrides: Optional[AsyncCodeConnectionsClientConfig] = None,
) -> UpdateSyncBlockerOutput
Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.
Parameters:
-
id(Id) –The ID of the sync blocker to be updated.
-
sync_type(SyncConfigurationType) –The sync type of the sync blocker to be updated.
-
resource_name(ResourceName) –The name of the resource for the sync blocker to be updated.
-
resolved_reason(ResolvedReason) –The reason for resolving the sync blocker.
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.
-
RetryLatestCommitFailedException–Retrying the latest commit failed. Try again later.
-
SyncBlockerDoesNotExistException–Unable to continue. The sync blocker does not exist.
-
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
1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 | |