Skip to content

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).

// init — bind the operation to the sync configuration
const getSyncBlockerSummary =
yield* AWS.CodeConnections.GetSyncBlockerSummary(sync);
// runtime
const { SyncBlockerSummary } = yield* getSyncBlockerSummary();
const blockers = SyncBlockerSummary.LatestBlockers ?? [];