| 1 | import type * as SVC from "@distilled.cloud/aws/codepipeline"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 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 = |
| 43 | Binding.Service<ListDeployActionExecutionTargets>( |
| 44 | "AWS.CodePipeline.ListDeployActionExecutionTargets", |
| 45 | ); |