GetWorkflowStepExecution
Source:
src/AWS/ImageBuilder/GetWorkflowStepExecution.ts
Runtime binding for imagebuilder:GetWorkflowStepExecution.
Reads the runtime state of one workflow step — its action, status,
rollback status, inputs/outputs, and message. Step executions are created
dynamically by builds, so this is an account-level binding: pass an id
from ListWorkflowStepExecutions or ListWaitingWorkflowSteps. Provide
the implementation with
Effect.provide(AWS.ImageBuilder.GetWorkflowStepExecutionHttp).
Workflow Monitoring
Section titled “Workflow Monitoring”// init — account-level binding, no resource argumentconst getWorkflowStepExecution = yield* AWS.ImageBuilder.GetWorkflowStepExecution();
// runtimeconst step = yield* getWorkflowStepExecution({ stepExecutionId });yield* Effect.log(`step ${step.name} is ${step.status}`);