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

main
ts 13 lines 439 Bytes
Raw
1 import * as ds from "@distilled.cloud/aws/directory-service";
2 import * as Layer from "effect/Layer";
3 import { makeDirectoryHttpBinding } from "./BindingHttp.ts";
4 import { CreateSnapshot } from "./CreateSnapshot.ts";
5
6 export const CreateSnapshotHttp = Layer.effect(
7 CreateSnapshot,
8 makeDirectoryHttpBinding({
9 tag: "AWS.DirectoryService.CreateSnapshot",
10 operation: ds.createSnapshot,
11 actions: ["ds:CreateSnapshot"],
12 }),
13 );