ListTaskExecutions
Source:
src/AWS/DataSync/ListTaskExecutions.ts
Runtime binding for datasync:ListTaskExecutions.
Enumerates the bound Task’s executions (most recent first) so an
ops function can audit run history or find the latest run’s ARN. The task
ARN is injected from the binding; pass MaxResults/NextToken to page.
Provide the implementation with
Effect.provide(AWS.DataSync.ListTaskExecutionsHttp).
Monitoring Tasks
Section titled “Monitoring Tasks”// init — bind the operation to the taskconst listTaskExecutions = yield* AWS.DataSync.ListTaskExecutions(task);
// runtimeconst { TaskExecutions } = yield* listTaskExecutions();for (const execution of TaskExecutions ?? []) { yield* Effect.log(`${execution.TaskExecutionArn}: ${execution.Status}`);}