@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, 04:45 UTC

main
ts 39 lines 1.17 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 GetPipelineExecutionRequest extends Omit<
7 SVC.GetPipelineExecutionInput,
8 "pipelineName"
9 > {}
10
11 /**
12 * Runtime binding for `codepipeline:GetPipelineExecution` — returns the
13 * status, source revisions, and trigger of one execution.
14 * ### Observing Pipelines
15 * **Example:** Get an Execution
16 * ```typescript
17 * const getExecution = yield* AWS.CodePipeline.GetPipelineExecution(pipeline);
18 *
19 * const { pipelineExecution } = yield* getExecution({
20 * pipelineExecutionId: executionId,
21 * });
22 * ```
23 *
24 * @binding
25 */
26 export interface GetPipelineExecution extends Binding.Service<
27 GetPipelineExecution,
28 "AWS.CodePipeline.GetPipelineExecution",
29 <P extends Pipeline>(
30 pipeline: P,
31 ) => Effect.Effect<
32 (
33 request: GetPipelineExecutionRequest,
34 ) => Effect.Effect<SVC.GetPipelineExecutionOutput, SVC.GetPipelineExecutionError>
35 >
36 > {}
37 export const GetPipelineExecution = Binding.Service<GetPipelineExecution>(
38 "AWS.CodePipeline.GetPipelineExecution",
39 );