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
2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 | |