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