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