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

main
ts 40 lines 1.34 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:ListWorkflowStepExecutions`.
7 *
8 * Lists the steps of one workflow execution with their runtime status —
9 * drill-down from `ListWorkflowExecutions`. Provide the implementation with
10 * `Effect.provide(AWS.ImageBuilder.ListWorkflowStepExecutionsHttp)`.
11 * ### Workflow Monitoring
12 * **Example:** List the Steps of a Workflow Execution
13 * ```typescript
14 * // init — account-level binding, no resource argument
15 * const listWorkflowStepExecutions =
16 * yield* AWS.ImageBuilder.ListWorkflowStepExecutions();
17 *
18 * // runtime
19 * const { steps } = yield* listWorkflowStepExecutions({
20 * workflowExecutionId,
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface ListWorkflowStepExecutions extends Binding.Service<
27 ListWorkflowStepExecutions,
28 "AWS.ImageBuilder.ListWorkflowStepExecutions",
29 () => Effect.Effect<
30 (
31 request: imagebuilder.ListWorkflowStepExecutionsRequest,
32 ) => Effect.Effect<
33 imagebuilder.ListWorkflowStepExecutionsResponse,
34 imagebuilder.ListWorkflowStepExecutionsError
35 >
36 >
37 > {}
38 export const ListWorkflowStepExecutions = Binding.Service<ListWorkflowStepExecutions>(
39 "AWS.ImageBuilder.ListWorkflowStepExecutions",
40 );