| 1 | import * as opensearch from "@distilled.cloud/aws/opensearch"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeOpenSearchHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetCompatibleVersions } from "./GetCompatibleVersions.ts"; |
| 5 | |
| 6 | export const GetCompatibleVersionsHttp = Layer.effect( |
| 7 | GetCompatibleVersions, |
| 8 | makeOpenSearchHttpBinding({ |
| 9 | tag: "AWS.OpenSearch.GetCompatibleVersions", |
| 10 | operation: opensearch.getCompatibleVersions, |
| 11 | actions: ["es:GetCompatibleVersions"], |
| 12 | }), |
| 13 | ); |