sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ EKS/ DescribeFargateProfileHttp.ts

import * as eks from "@distilled.cloud/aws/eks";
import * as Layer from "effect/Layer";
import { makeEKSClusterHttpBinding } from "./BindingHttp.ts";
import { DescribeFargateProfile } from "./DescribeFargateProfile.ts";

export const DescribeFargateProfileHttp = Layer.effect(
  DescribeFargateProfile,
  makeEKSClusterHttpBinding({
    tag: "AWS.EKS.DescribeFargateProfile",
    operation: eks.describeFargateProfile,
    actions: ["eks:DescribeFargateProfile"],
    key: "clusterName",
    scope: "subresources",
  }),
);