@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 15 lines 507 Bytes
Raw
1 import * as Logs from "@distilled.cloud/aws/cloudwatch-logs";
2 import * as Layer from "effect/Layer";
3 import { makeLogGroupHttpBinding } from "./BindingHttp.ts";
4 import { GetLogRecord } from "./GetLogRecord.ts";
5
6 export const GetLogRecordHttp = Layer.effect(
7 GetLogRecord,
8 makeLogGroupHttpBinding({
9 tag: "AWS.Logs.GetLogRecord",
10 operation: Logs.getLogRecord,
11 actions: ["logs:GetLogRecord"],
12 // Scoped by the record pointer from a query-result row.
13 injectLogGroupName: false,
14 }),
15 );