@devries-cameron20 / t3code Mirror · read-only
Fork 0

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

main
ts 18 lines 810 Bytes
Raw
1 import * as paymentcryptography from "@distilled.cloud/aws/payment-cryptography";
2 import * as Layer from "effect/Layer";
3 import { makePaymentCryptographyKeyHttpBinding } from "./BindingHttp.ts";
4 import { GetPublicKeyCertificate } from "./GetPublicKeyCertificate.ts";
5
6 /**
7 * HTTP implementation of {@link GetPublicKeyCertificate} — grants the host
8 * Function `payment-cryptography:GetPublicKeyCertificate` on the key and
9 * calls the Payment Cryptography control-plane API at runtime.
10 */
11 export const GetPublicKeyCertificateHttp = Layer.effect(
12 GetPublicKeyCertificate,
13 makePaymentCryptographyKeyHttpBinding({
14 tag: "AWS.PaymentCryptography.GetPublicKeyCertificate",
15 operation: paymentcryptography.getPublicKeyCertificate,
16 actions: ["payment-cryptography:GetPublicKeyCertificate"],
17 }),
18 );