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

main
ts 15 lines 497 Bytes
Raw
1 import * as osis from "@distilled.cloud/aws/osis";
2 import * as Layer from "effect/Layer";
3 import { makeOsisPipelineHttpBinding } from "./BindingHttp.ts";
4 import { StopPipeline } from "./StopPipeline.ts";
5
6 export const StopPipelineHttp = Layer.effect(
7 StopPipeline,
8 makeOsisPipelineHttpBinding({
9 tag: "AWS.OSIS.StopPipeline",
10 operation: osis.stopPipeline,
11 actions: ["osis:StopPipeline"],
12 requestKey: "PipelineName",
13 identifier: (pipeline) => pipeline.pipelineName,
14 }),
15 );