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.

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

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