| 1 | import * as athena from "@distilled.cloud/aws/athena"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeWorkGroupScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { StopQueryExecution } from "./StopQueryExecution.ts"; |
| 5 | |
| 6 | export const StopQueryExecutionHttp = Layer.effect( |
| 7 | StopQueryExecution, |
| 8 | makeWorkGroupScopedHttpBinding({ |
| 9 | tag: "AWS.Athena.StopQueryExecution", |
| 10 | operation: athena.stopQueryExecution, |
| 11 | actions: ["athena:StopQueryExecution"], |
| 12 | }), |
| 13 | ); |