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