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

main
ts 14 lines 493 Bytes
Raw
1 import * as dataexchange from "@distilled.cloud/aws/dataexchange";
2 import * as Layer from "effect/Layer";
3 import { makeDataSetHttpBinding, dataSetAssetArns } from "./BindingHttp.ts";
4 import { SendApiAsset } from "./SendApiAsset.ts";
5
6 export const SendApiAssetHttp = Layer.effect(
7 SendApiAsset,
8 makeDataSetHttpBinding({
9 tag: "AWS.DataExchange.SendApiAsset",
10 operation: dataexchange.sendApiAsset,
11 actions: ["dataexchange:SendApiAsset"],
12 resources: dataSetAssetArns,
13 }),
14 );