1import * as cloudtrail from "@distilled.cloud/aws/cloudtrail";
2import * as Layer from "effect/Layer";
3import { makeCloudTrailEventDataStoreHttpBinding } from "./BindingHttp.ts";
4import { GenerateQuery } from "./GenerateQuery.ts";
5
6export 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);