| 1 | import * as cloudtrail from "@distilled.cloud/aws/cloudtrail"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeCloudTrailEventDataStoreHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GenerateQuery } from "./GenerateQuery.ts"; |
| 5 | |
| 6 | export const GenerateQueryHttp = Layer.effect( |
| 7 | GenerateQuery, |
| 8 | makeCloudTrailEventDataStoreHttpBinding({ |
| 9 | tag: "AWS.CloudTrail.GenerateQuery", |
| 10 | operation: cloudtrail.generateQuery, |
| 11 | actions: ["cloudtrail:GenerateQuery"], |
| 12 | injectEventDataStores: true, |
| 13 | }), |
| 14 | ); |