Skip to content

UpdateSyncBlocker

Source: src/AWS/CodeConnections/UpdateSyncBlocker.ts

Runtime binding for codeconnections:UpdateSyncBlocker.

Bind this operation to a SyncConfiguration to resolve a sync blocker (discovered via GetSyncBlockerSummary) so Git sync can resume converging the resource. Provide the implementation with Effect.provide(AWS.CodeConnections.UpdateSyncBlockerHttp).

// init — bind the operation to the sync configuration
const updateSyncBlocker = yield* AWS.CodeConnections.UpdateSyncBlocker(sync);
// runtime
yield* updateSyncBlocker({
Id: blocker.Id,
ResolvedReason: "stack drift corrected manually",
});