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