| 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 { GetLogEvents } from "./GetLogEvents.ts"; |
| 5 | |
| 6 | export const GetLogEventsHttp = Layer.effect( |
| 7 | GetLogEvents, |
| 8 | makeLogGroupHttpBinding({ |
| 9 | tag: "AWS.Logs.GetLogEvents", |
| 10 | operation: Logs.getLogEvents, |
| 11 | actions: ["logs:GetLogEvents"], |
| 12 | }), |
| 13 | ); |