ListTaskInstances
Source:
src/AWS/MWAAServerless/ListTaskInstances.ts
Runtime binding for airflow-serverless:ListTaskInstances.
Lists the task instances of a run of the bound Workflow with
their statuses and durations. Provide the implementation with
Effect.provide(AWS.MWAAServerless.ListTaskInstancesHttp).
Observing Tasks
Section titled “Observing Tasks”// init — bind the operation to the workflowconst listTaskInstances = yield* AWS.MWAAServerless.ListTaskInstances(workflow);
// runtimeconst { TaskInstances } = yield* listTaskInstances({ RunId: runId });for (const task of TaskInstances ?? []) { yield* Effect.log(`${task.TaskInstanceId}: ${task.Status}`);}