The best way to control Claude Code, Codex and more from any computer or phone

main
ts 40 lines 1.35 KB
Raw
1 import type * as imagebuilder from "@distilled.cloud/aws/imagebuilder";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `imagebuilder:ListWaitingWorkflowSteps`.
7 *
8 * Lists every workflow step in the account that is paused on
9 * `WAIT_FOR_ACTION` — the work queue for an approval function, which then
10 * resumes or stops each build with `SendWorkflowStepAction`. Provide the
11 * implementation with
12 * `Effect.provide(AWS.ImageBuilder.ListWaitingWorkflowStepsHttp)`.
13 * ### Workflow Monitoring
14 * **Example:** List Steps Waiting for Action
15 * ```typescript
16 * // init — account-level binding, no resource argument
17 * const listWaitingWorkflowSteps =
18 * yield* AWS.ImageBuilder.ListWaitingWorkflowSteps();
19 *
20 * // runtime
21 * const { steps } = yield* listWaitingWorkflowSteps();
22 * ```
23 *
24 * @binding
25 */
26 export interface ListWaitingWorkflowSteps extends Binding.Service<
27 ListWaitingWorkflowSteps,
28 "AWS.ImageBuilder.ListWaitingWorkflowSteps",
29 () => Effect.Effect<
30 (
31 request?: imagebuilder.ListWaitingWorkflowStepsRequest,
32 ) => Effect.Effect<
33 imagebuilder.ListWaitingWorkflowStepsResponse,
34 imagebuilder.ListWaitingWorkflowStepsError
35 >
36 >
37 > {}
38 export const ListWaitingWorkflowSteps = Binding.Service<ListWaitingWorkflowSteps>(
39 "AWS.ImageBuilder.ListWaitingWorkflowSteps",
40 );