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.

462 B
Raw Blame
import * as sns from "@distilled.cloud/aws/sns";
import * as Layer from "effect/Layer";
import { makeSnsTopicHttpBinding } from "./BindingHttp.ts";
import { GetTopicAttributes } from "./GetTopicAttributes.ts";

export const GetTopicAttributesHttp = Layer.effect(
  GetTopicAttributes,
  makeSnsTopicHttpBinding({
    tag: "AWS.SNS.GetTopicAttributes",
    operation: sns.getTopicAttributes,
    actions: ["sns:GetTopicAttributes"],
    key: "TopicArn",
  }),
);