1import * as Logs from "@distilled.cloud/aws/cloudwatch-logs";
2import * as Layer from "effect/Layer";
3import { makeLogGroupHttpBinding } from "./BindingHttp.ts";
4import { GetLogRecord } from "./GetLogRecord.ts";
5
6export 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);