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

main
ts 13 lines 428 Bytes
Raw
1 import * as mwaa from "@distilled.cloud/aws/mwaa";
2 import * as Layer from "effect/Layer";
3 import { makeMWAAAirflowRoleHttpBinding } from "./BindingHttp.ts";
4 import { InvokeRestApi } from "./InvokeRestApi.ts";
5
6 export const InvokeRestApiHttp = Layer.effect(
7 InvokeRestApi,
8 makeMWAAAirflowRoleHttpBinding({
9 tag: "AWS.MWAA.InvokeRestApi",
10 operation: mwaa.invokeRestApi,
11 actions: ["airflow:InvokeRestApi"],
12 }),
13 );