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.
import * as acm from "@distilled.cloud/aws/acm";
import * as Layer from "effect/Layer";
import { makeAcmAccountHttpBinding } from "./BindingHttp.ts";
import {
ImportCertificate,
type ImportCertificateRequest,
} from "./ImportCertificate.ts";
export const ImportCertificateHttp = Layer.effect(
ImportCertificate,
makeAcmAccountHttpBinding({
capability: "ImportCertificate",
// Importing with `Tags` additionally requires `acm:AddTagsToCertificate`,
// which ACM checks alongside the import itself.
iamActions: ["acm:ImportCertificate", "acm:AddTagsToCertificate"],
operation: acm.importCertificate,
}),
);