Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

512 B
Raw Blame
import * as kafka from "@distilled.cloud/aws/kafka";
import * as Layer from "effect/Layer";
import { makeKafkaClusterHttpBinding } from "./BindingHttp.ts";
import { DeleteTopic } from "./DeleteTopic.ts";

export const DeleteTopicHttp = Layer.effect(
  DeleteTopic,
  makeKafkaClusterHttpBinding({
    tag: "AWS.Kafka.DeleteTopic",
    operation: kafka.deleteTopic,
    actions: [
      "kafka:DeleteTopic",
      "kafka-cluster:Connect",
      "kafka-cluster:DeleteTopic",
    ],
    topicScoped: true,
  }),
);