Skip to content

ListWorkflowExecutions

Source: src/AWS/ImageBuilder/ListWorkflowExecutions.ts

Runtime binding for imagebuilder:ListWorkflowExecutions.

Enumerates the build/test/distribution workflow runs of an image build version — the drill-down view of what a build is currently doing (each entry reports the workflow’s status and step counts). Account-level binding: pass the imageBuildVersionArn. Provide the implementation with Effect.provide(AWS.ImageBuilder.ListWorkflowExecutionsHttp).

// init — account-level binding, no resource argument
const listWorkflowExecutions =
yield* AWS.ImageBuilder.ListWorkflowExecutions();
// runtime
const { workflowExecutions } = yield* listWorkflowExecutions({
imageBuildVersionArn,
});
for (const execution of workflowExecutions ?? []) {
yield* Effect.log(`${execution.type}: ${execution.status}`);
}