@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 35 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:BatchGetDeployments` — reads up to 25
8 * deployments in one call. CodeDeploy authorizes the call against the
9 * deployment group the deployments belong to.
10 * ### Observing Deployments
11 * **Example:** Read Several Deployments
12 * ```typescript
13 * const batchGetDeployments = yield* AWS.CodeDeploy.BatchGetDeployments(group);
14 *
15 * const { deploymentsInfo } = yield* batchGetDeployments({
16 * deploymentIds: ["d-ABCDEF123", "d-GHIJKL456"],
17 * });
18 * ```
19 *
20 * @binding
21 */
22 export interface BatchGetDeployments extends Binding.Service<
23 BatchGetDeployments,
24 "AWS.CodeDeploy.BatchGetDeployments",
25 <G extends DeploymentGroup>(
26 group: G,
27 ) => Effect.Effect<
28 (
29 request: SVC.BatchGetDeploymentsInput,
30 ) => Effect.Effect<SVC.BatchGetDeploymentsOutput, SVC.BatchGetDeploymentsError>
31 >
32 > {}
33 export const BatchGetDeployments = Binding.Service<BatchGetDeployments>(
34 "AWS.CodeDeploy.BatchGetDeployments",
35 );