Skip to content
TypeScript
473 B
Raw Blame
import * as detective from "@distilled.cloud/aws/detective";
import * as Layer from "effect/Layer";
import { makeDetectiveAccountHttpBinding } from "./BindingHttp.ts";
import { RejectInvitation } from "./RejectInvitation.ts";

export const RejectInvitationHttp = Layer.effect(
  RejectInvitation,
  makeDetectiveAccountHttpBinding({
    tag: "AWS.Detective.RejectInvitation",
    operation: detective.rejectInvitation,
    actions: ["detective:RejectInvitation"],
  }),
);