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

main
ts 44 lines 1.37 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 ListDeployActionExecutionTargetsRequest extends Omit<
7 SVC.ListDeployActionExecutionTargetsInput,
8 "pipelineName"
9 > {}
10
11 /**
12 * Runtime binding for `codepipeline:ListDeployActionExecutionTargets` —
13 * enumerates the targets (instances, tasks, functions) a deploy action
14 * execution rolled out to.
15 * ### Observing Pipelines
16 * **Example:** List Deploy Targets
17 * ```typescript
18 * const listTargets =
19 * yield* AWS.CodePipeline.ListDeployActionExecutionTargets(pipeline);
20 *
21 * const { targets } = yield* listTargets({
22 * actionExecutionId: actionExecutionId,
23 * });
24 * ```
25 *
26 * @binding
27 */
28 export interface ListDeployActionExecutionTargets extends Binding.Service<
29 ListDeployActionExecutionTargets,
30 "AWS.CodePipeline.ListDeployActionExecutionTargets",
31 <P extends Pipeline>(
32 pipeline: P,
33 ) => Effect.Effect<
34 (
35 request: ListDeployActionExecutionTargetsRequest,
36 ) => Effect.Effect<
37 SVC.ListDeployActionExecutionTargetsOutput,
38 SVC.ListDeployActionExecutionTargetsError
39 >
40 >
41 > {}
42 export const ListDeployActionExecutionTargets = Binding.Service<ListDeployActionExecutionTargets>(
43 "AWS.CodePipeline.ListDeployActionExecutionTargets",
44 );