Skip to content

SendWorkflowStepAction

Source: src/AWS/ImageBuilder/SendWorkflowStepAction.ts

Runtime binding for imagebuilder:SendWorkflowStepAction.

Resumes or stops an image build that is paused on a WaitForAction workflow step — the approval half of a human/automated gate (find pending steps with ListWaitingWorkflowSteps). The idempotency clientToken is generated automatically. Provide the implementation with Effect.provide(AWS.ImageBuilder.SendWorkflowStepActionHttp).

// init — account-level binding, no resource argument
const sendWorkflowStepAction =
yield* AWS.ImageBuilder.SendWorkflowStepAction();
// runtime
yield* sendWorkflowStepAction({
stepExecutionId,
imageBuildVersionArn,
action: "RESUME",
reason: "approved by review function",
});