Skip to content

GetRevision

Source: src/AWS/DataExchange/GetRevision.ts

Runtime binding for dataexchange:GetRevision.

Reads the bound revision’s detail — comment, finalized state, and revocation status. The data set and revision ids are injected from the binding. Provide the implementation with Effect.provide(AWS.DataExchange.GetRevisionHttp).

const getRevision = yield* AWS.DataExchange.GetRevision(revision);
// runtime
const detail = yield* getRevision();
yield* Effect.log(`finalized: ${detail.Finalized}`);