| 1 | import * as Kinesis from "@distilled.cloud/aws/kinesis"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeStreamHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { PutRecords } from "./PutRecords.ts"; |
| 5 | |
| 6 | export const PutRecordsHttp = Layer.effect( |
| 7 | PutRecords, |
| 8 | makeStreamHttpBinding({ |
| 9 | tag: "AWS.Kinesis.PutRecords", |
| 10 | operation: Kinesis.putRecords, |
| 11 | actions: ["kinesis:PutRecords"], |
| 12 | key: "StreamName", |
| 13 | }), |
| 14 | ); |