sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ OpenSearch/ StartServiceSoftwareUpdateHttp.ts

import * as opensearch from "@distilled.cloud/aws/opensearch";
import * as Layer from "effect/Layer";
import { makeOpenSearchHttpBinding } from "./BindingHttp.ts";
import { StartServiceSoftwareUpdate } from "./StartServiceSoftwareUpdate.ts";

export const StartServiceSoftwareUpdateHttp = Layer.effect(
  StartServiceSoftwareUpdate,
  makeOpenSearchHttpBinding({
    tag: "AWS.OpenSearch.StartServiceSoftwareUpdate",
    operation: opensearch.startServiceSoftwareUpdate,
    actions: ["es:StartServiceSoftwareUpdate"],
  }),
);