GetWorkflowExecution
Source:
src/AWS/ImageBuilder/GetWorkflowExecution.ts
Runtime binding for imagebuilder:GetWorkflowExecution.
Reads the runtime state of one workflow execution (a build/test/distribute
workflow run within an image build) — its status, step counts, and
timing. Workflow executions are created dynamically by builds, so this is
an account-level binding: pass an id from ListWorkflowExecutions.
Provide the implementation with
Effect.provide(AWS.ImageBuilder.GetWorkflowExecutionHttp).
Workflow Monitoring
Section titled “Workflow Monitoring”// init — account-level binding, no resource argumentconst getWorkflowExecution = yield* AWS.ImageBuilder.GetWorkflowExecution();
// runtimeconst execution = yield* getWorkflowExecution({ workflowExecutionId });yield* Effect.log(`${execution.type} workflow is ${execution.status}`);