| 1 | import * as eks from "@distilled.cloud/aws/eks"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeEKSClusterHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ListInsights } from "./ListInsights.ts"; |
| 5 | |
| 6 | export const ListInsightsHttp = Layer.effect( |
| 7 | ListInsights, |
| 8 | makeEKSClusterHttpBinding({ |
| 9 | tag: "AWS.EKS.ListInsights", |
| 10 | operation: eks.listInsights, |
| 11 | actions: ["eks:ListInsights"], |
| 12 | key: "clusterName", |
| 13 | scope: "cluster", |
| 14 | }), |
| 15 | ); |