Skip to content

GetExecution

Source: src/AWS/BCMDataExports/GetExecution.ts

Runtime binding for bcm-data-exports:GetExecution.

Bind this operation to an Export to read the status of one export execution (delivery run) — its status code, reason, and timestamps — from inside a function runtime. Useful for delivery monitors that alert when a refresh fails. Provide the implementation with Effect.provide(AWS.BCMDataExports.GetExecutionHttp).

// init — bind the operation to the export
const getExecution = yield* AWS.BCMDataExports.GetExecution(cur);
// runtime
const result = yield* getExecution({ ExecutionId: executionId });
const status = result.ExecutionStatus?.StatusCode;