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