Skip to content

PostLineageEvent

Source: src/AWS/DataZone/PostLineageEvent.ts

Runtime binding for datazone:PostLineageEvent.

Posts an OpenLineage run event to the bound domain, recording the lineage of a data transformation the function performed. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.PostLineageEventHttp).

// init — bind the operation to the domain
const postLineageEvent = yield* AWS.DataZone.PostLineageEvent(domain);
// runtime
yield* postLineageEvent({ event: JSON.stringify(openLineageRunEvent) });