sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ EKS/ StartInsightsRefreshHttp.ts
import * as eks from "@distilled.cloud/aws/eks";
import * as Layer from "effect/Layer";
import { makeEKSClusterHttpBinding } from "./BindingHttp.ts";
import { StartInsightsRefresh } from "./StartInsightsRefresh.ts";
export const StartInsightsRefreshHttp = Layer.effect(
StartInsightsRefresh,
makeEKSClusterHttpBinding({
tag: "AWS.EKS.StartInsightsRefresh",
operation: eks.startInsightsRefresh,
actions: ["eks:StartInsightsRefresh"],
key: "clusterName",
scope: "cluster",
}),
);