@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 18 lines 589 Bytes
Raw
1 import * as omics from "@distilled.cloud/aws/omics";
2 import * as Layer from "effect/Layer";
3 import { makeOmicsResourceHttpBinding } from "./BindingHttp.ts";
4 import { StartRun } from "./StartRun.ts";
5 import type { Workflow } from "./Workflow.ts";
6
7 export const StartRunHttp = Layer.effect(
8 StartRun,
9 makeOmicsResourceHttpBinding({
10 tag: "AWS.Omics.StartRun",
11 operation: omics.startRun,
12 actions: ["omics:StartRun"],
13 key: "workflowId",
14 id: (workflow: Workflow) => workflow.workflowId,
15 arn: (workflow: Workflow) => workflow.workflowArn,
16 passRole: true,
17 }),
18 );