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
| 1 | import * as acm from "@distilled.cloud/aws/acm"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAcmAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { ImportCertificate } from "./ImportCertificate.ts"; |
| 5 | |
| 6 | export const ImportCertificateHttp = Layer.effect( |
| 7 | ImportCertificate, |
| 8 | makeAcmAccountHttpBinding({ |
| 9 | capability: "ImportCertificate", |
| 10 | // Importing with `Tags` additionally requires `acm:AddTagsToCertificate`, |
| 11 | // which ACM checks alongside the import itself. |
| 12 | iamActions: ["acm:ImportCertificate", "acm:AddTagsToCertificate"], |
| 13 | operation: acm.importCertificate, |
| 14 | }), |
| 15 | ); |