DescribeFlowExecutionRecords
Source:
src/AWS/AppFlow/DescribeFlowExecutionRecords.ts
Runtime binding for appflow:DescribeFlowExecutionRecords.
Bind this operation to a Flow in the function’s init phase to get a
callable that pages through the flow’s run history — each record carries
the executionId, status, timing, and record counts of one run. The flow
name is injected automatically and appflow:DescribeFlowExecutionRecords
is granted on the flow. Provide the implementation with
Effect.provide(AWS.AppFlow.DescribeFlowExecutionRecordsHttp).
Monitoring Flow Runs
Section titled “Monitoring Flow Runs”// init — bind the operation to the flowconst describeFlowExecutionRecords = yield* AWS.AppFlow.DescribeFlowExecutionRecords(flow);
// runtime — read the most recent runconst records = yield* describeFlowExecutionRecords({ maxResults: 1 });const latest = records.flowExecutions?.[0];// latest?.executionStatus === "Successful"