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.

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

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