ListExecutions
Source:
src/AWS/BCMDataExports/ListExecutions.ts
Runtime binding for bcm-data-exports:ListExecutions.
Bind this operation to an Export to page through the export’s
historical executions (delivery runs) from inside a function runtime.
Useful for delivery dashboards and monitors that scan for failed
refreshes. Provide the implementation with
Effect.provide(AWS.BCMDataExports.ListExecutionsHttp).
Monitoring Executions
Section titled “Monitoring Executions”// init — bind the operation to the exportconst listExecutions = yield* AWS.BCMDataExports.ListExecutions(cur);
// runtimeconst result = yield* listExecutions({ MaxResults: 25 });const failed = (result.Executions ?? []).filter( (execution) => execution.ExecutionStatus.StatusCode === "DELIVERY_FAILURE",);