| 1 | import * as aoss from "@distilled.cloud/aws/opensearchserverless"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAossCollectionHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { DeleteIndex } from "./DeleteIndex.ts"; |
| 5 | |
| 6 | export const DeleteIndexHttp = Layer.effect( |
| 7 | DeleteIndex, |
| 8 | makeAossCollectionHttpBinding({ |
| 9 | tag: "AWS.OpenSearchServerless.DeleteIndex", |
| 10 | operation: aoss.deleteIndex, |
| 11 | actions: ["aoss:APIAccessAll"], |
| 12 | }), |
| 13 | ); |