GetSyncBlockerSummary
Source:
src/AWS/CodeConnections/GetSyncBlockerSummary.ts
Runtime binding for codeconnections:GetSyncBlockerSummary.
Bind this operation to a SyncConfiguration to read the latest
sync blockers — errors that stop Git sync from converging the resource —
from inside a function runtime. Pair with UpdateSyncBlocker to
resolve them. Provide the implementation with
Effect.provide(AWS.CodeConnections.GetSyncBlockerSummaryHttp).
Monitoring Git Sync
Section titled “Monitoring Git Sync”// init — bind the operation to the sync configurationconst getSyncBlockerSummary = yield* AWS.CodeConnections.GetSyncBlockerSummary(sync);
// runtimeconst { SyncBlockerSummary } = yield* getSyncBlockerSummary();const blockers = SyncBlockerSummary.LatestBlockers ?? [];