@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 14 lines 487 Bytes
Raw
1 import * as kafka from "@distilled.cloud/aws/kafka";
2 import * as Layer from "effect/Layer";
3 import { makeKafkaClusterHttpBinding } from "./BindingHttp.ts";
4 import { DeleteTopic } from "./DeleteTopic.ts";
5
6 export const DeleteTopicHttp = Layer.effect(
7 DeleteTopic,
8 makeKafkaClusterHttpBinding({
9 tag: "AWS.Kafka.DeleteTopic",
10 operation: kafka.deleteTopic,
11 actions: ["kafka:DeleteTopic", "kafka-cluster:Connect", "kafka-cluster:DeleteTopic"],
12 topicScoped: true,
13 }),
14 );