sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Detective/ AcceptInvitationHttp.ts

import * as detective from "@distilled.cloud/aws/detective";
import * as Layer from "effect/Layer";
import { AcceptInvitation } from "./AcceptInvitation.ts";
import { makeDetectiveAccountHttpBinding } from "./BindingHttp.ts";

export const AcceptInvitationHttp = Layer.effect(
  AcceptInvitation,
  makeDetectiveAccountHttpBinding({
    tag: "AWS.Detective.AcceptInvitation",
    operation: detective.acceptInvitation,
    actions: ["detective:AcceptInvitation"],
  }),
);