@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 630 Bytes
Raw
1 import * as memorydb from "@distilled.cloud/aws/memorydb";
2 import * as Layer from "effect/Layer";
3 import { BatchUpdateCluster } from "./BatchUpdateCluster.ts";
4 import { makeMemoryDBAccountHttpBinding } from "./BindingHttp.ts";
5
6 export const BatchUpdateClusterHttp = Layer.effect(
7 BatchUpdateCluster,
8 makeMemoryDBAccountHttpBinding({
9 tag: "AWS.MemoryDB.BatchUpdateCluster",
10 operation: memorydb.batchUpdateCluster,
11 // Clusters are addressed by a runtime name list — grant on the cluster
12 // ARN wildcard.
13 actions: ["memorydb:BatchUpdateCluster"],
14 resources: ["arn:aws:memorydb:*:*:cluster/*"],
15 }),
16 );