GetResourceSyncStatus
Source:
src/AWS/CodeConnections/GetResourceSyncStatus.ts
Runtime binding for codeconnections:GetResourceSyncStatus.
Bind this operation to a SyncConfiguration to read the sync
status of its Amazon Web Services resource — the desired state revision
and the latest successful/attempted syncs — from inside a function
runtime. Provide the implementation with
Effect.provide(AWS.CodeConnections.GetResourceSyncStatusHttp).
Monitoring Git Sync
Section titled “Monitoring Git Sync”// init — bind the operation to the sync configurationconst getResourceSyncStatus = yield* AWS.CodeConnections.GetResourceSyncStatus(sync);
// runtimeconst { LatestSync } = yield* getResourceSyncStatus();