Skip to content
TypeScript
578 B
Raw Blame
import * as chatbot from "@distilled.cloud/aws/chatbot";
import * as Layer from "effect/Layer";
import { makeChatbotAccountHttpBinding } from "./BindingHttp.ts";
import { DeleteSlackWorkspaceAuthorization } from "./DeleteSlackWorkspaceAuthorization.ts";

export const DeleteSlackWorkspaceAuthorizationHttp = Layer.effect(
  DeleteSlackWorkspaceAuthorization,
  makeChatbotAccountHttpBinding({
    tag: "AWS.Chatbot.DeleteSlackWorkspaceAuthorization",
    operation: chatbot.deleteSlackWorkspaceAuthorization,
    actions: ["chatbot:DeleteSlackWorkspaceAuthorization"],
  }),
);