1import type * as imagebuilder from "@distilled.cloud/aws/imagebuilder";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
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 */
26export 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> {}
38export const ListWorkflowStepExecutions =
39 Binding.Service<ListWorkflowStepExecutions>(
40 "AWS.ImageBuilder.ListWorkflowStepExecutions",
41 );