import type * as dataexchange from "@distilled.cloud/aws/dataexchange"; import type * as Effect from "effect/Effect"; import * as Binding from "../../Binding.ts"; import type { Revision } from "./Revision.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)`. * ### Reading Revisions & Assets * **Example:** Check A Revision's State * ```typescript * const getRevision = yield* AWS.DataExchange.GetRevision(revision); * * // runtime * const detail = yield* getRevision(); * yield* Effect.log(`finalized: ${detail.Finalized}`); * ``` * * @binding */ export interface GetRevision extends Binding.Service Effect.Effect<() => Effect.Effect>> { } export declare const GetRevision: GetRevision; //# sourceMappingURL=GetRevision.d.ts.map