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