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