@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 06:00 UTC

main
ts 39 lines 1.19 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/codepipeline";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Pipeline } from "./Pipeline.ts";
5
6 export interface ListPipelineExecutionsRequest extends Omit<
7 SVC.ListPipelineExecutionsInput,
8 "pipelineName"
9 > {}
10
11 /**
12 * Runtime binding for `codepipeline:ListPipelineExecutions` — enumerates
13 * recent executions of the pipeline (newest first).
14 * ### Observing Pipelines
15 * **Example:** List Recent Executions
16 * ```typescript
17 * const listExecutions = yield* AWS.CodePipeline.ListPipelineExecutions(pipeline);
18 *
19 * const { pipelineExecutionSummaries } = yield* listExecutions({
20 * maxResults: 10,
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface ListPipelineExecutions extends Binding.Service<
27 ListPipelineExecutions,
28 "AWS.CodePipeline.ListPipelineExecutions",
29 <P extends Pipeline>(
30 pipeline: P,
31 ) => Effect.Effect<
32 (
33 request?: ListPipelineExecutionsRequest,
34 ) => Effect.Effect<SVC.ListPipelineExecutionsOutput, SVC.ListPipelineExecutionsError>
35 >
36 > {}
37 export const ListPipelineExecutions = Binding.Service<ListPipelineExecutions>(
38 "AWS.CodePipeline.ListPipelineExecutions",
39 );