@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 16 lines 587 Bytes
Raw
1 import * as DynamoDB from "@distilled.cloud/aws/dynamodb";
2 import * as Layer from "effect/Layer";
3 import { makeTableHttpBinding } from "./BindingHttp.ts";
4 import { ListBackups } from "./ListBackups.ts";
5
6 export const ListBackupsHttp = Layer.effect(
7 ListBackups,
8 makeTableHttpBinding({
9 tag: "AWS.DynamoDB.ListBackups",
10 operation: DynamoDB.listBackups,
11 actions: ["dynamodb:ListBackups"],
12 // ListBackups does not support resource-level permissions (the runtime
13 // callable still scopes results to the bound table via TableName).
14 resources: () => ["*"],
15 }),
16 );