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