@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 36 lines 1.15 KB
Raw
1 import type * as SVC from "@distilled.cloud/aws/codedeploy";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { DeploymentGroup } from "./DeploymentGroup.ts";
5
6 /**
7 * Runtime binding for `codedeploy:BatchGetDeploymentTargets` — reads up to
8 * 25 deployment targets of a deployment in one call.
9 * ### Observing Deployment Targets
10 * **Example:** Read Several Targets
11 * ```typescript
12 * const batchGetDeploymentTargets =
13 * yield* AWS.CodeDeploy.BatchGetDeploymentTargets(group);
14 *
15 * const { deploymentTargets } = yield* batchGetDeploymentTargets({
16 * deploymentId,
17 * targetIds,
18 * });
19 * ```
20 *
21 * @binding
22 */
23 export interface BatchGetDeploymentTargets extends Binding.Service<
24 BatchGetDeploymentTargets,
25 "AWS.CodeDeploy.BatchGetDeploymentTargets",
26 <G extends DeploymentGroup>(
27 group: G,
28 ) => Effect.Effect<
29 (
30 request: SVC.BatchGetDeploymentTargetsInput,
31 ) => Effect.Effect<SVC.BatchGetDeploymentTargetsOutput, SVC.BatchGetDeploymentTargetsError>
32 >
33 > {}
34 export const BatchGetDeploymentTargets = Binding.Service<BatchGetDeploymentTargets>(
35 "AWS.CodeDeploy.BatchGetDeploymentTargets",
36 );