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.

420 B
Raw Blame
import * as sns from "@distilled.cloud/aws/sns";
import * as Layer from "effect/Layer";
import { makeSnsEndpointHttpBinding } from "./BindingHttp.ts";
import { PublishToEndpoint } from "./PublishToEndpoint.ts";

export const PublishToEndpointHttp = Layer.effect(
  PublishToEndpoint,
  makeSnsEndpointHttpBinding({
    tag: "AWS.SNS.PublishToEndpoint",
    operation: sns.publish,
    actions: ["sns:Publish"],
  }),
);