Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

StartServiceSoftwareUpdateHttp.ts

13 lines528 Bytes

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