sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ SNS/ DeleteEndpointHttp.ts

import * as sns from "@distilled.cloud/aws/sns";
import * as Layer from "effect/Layer";
import { makeSnsEndpointHttpBinding } from "./BindingHttp.ts";
import { DeleteEndpoint } from "./DeleteEndpoint.ts";

export const DeleteEndpointHttp = Layer.effect(
  DeleteEndpoint,
  makeSnsEndpointHttpBinding({
    tag: "AWS.SNS.DeleteEndpoint",
    operation: sns.deleteEndpoint,
    actions: ["sns:DeleteEndpoint"],
  }),
);