DescribeExecution
Source:
src/AWS/StepFunctions/DescribeExecution.ts
Runtime binding for states:DescribeExecution.
Bind this operation to a StateMachine inside a function runtime to
poll the status and output of that machine’s executions. IAM access is
scoped to executions of the bound state machine.
Polling Executions
Section titled “Polling Executions”const describeExecution = yield* StepFunctions.DescribeExecution(machine);
const execution = yield* describeExecution({ executionArn });// execution.status: "RUNNING" | "SUCCEEDED" | "FAILED" | ...