update_sync_blocker
¶
update_sync_blocker(
id: Id,
sync_type: SyncConfigurationType,
resource_name: ResourceName,
resolved_reason: ResolvedReason,
*,
config_overrides: Optional[CodeConnectionsClientConfig] = 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/code_connections.py
1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 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 | |