ListTopics
Source:
src/AWS/Kafka/ListTopics.ts
Runtime binding for the ListTopics operation (IAM action
kafka:ListTopics), scoped to one ServerlessCluster.
Lists the topics on the bound cluster through the MSK control plane,
optionally filtered by name prefix. Provide the implementation with
Effect.provide(AWS.Kafka.ListTopicsHttp).
Managing Topics
Section titled “Managing Topics”const listTopics = yield* Kafka.ListTopics(cluster);
const page = yield* listTopics({ TopicNameFilter: "orders" });// page.Topics → [{ TopicName: "orders", PartitionCount: 3, … }]