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

main
ts 34 lines 1.04 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:StopDeployment` — attempts to stop an
8 * ongoing deployment of the bound deployment group (optionally rolling
9 * back).
10 * ### Controlling Deployments
11 * **Example:** Stop and Roll Back
12 * ```typescript
13 * const stopDeployment = yield* AWS.CodeDeploy.StopDeployment(group);
14 *
15 * const { status } = yield* stopDeployment({
16 * deploymentId,
17 * autoRollbackEnabled: true,
18 * });
19 * ```
20 *
21 * @binding
22 */
23 export interface StopDeployment extends Binding.Service<
24 StopDeployment,
25 "AWS.CodeDeploy.StopDeployment",
26 <G extends DeploymentGroup>(
27 group: G,
28 ) => Effect.Effect<
29 (
30 request: SVC.StopDeploymentInput,
31 ) => Effect.Effect<SVC.StopDeploymentOutput, SVC.StopDeploymentError>
32 >
33 > {}
34 export const StopDeployment = Binding.Service<StopDeployment>("AWS.CodeDeploy.StopDeployment");