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

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