@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 14 lines 560 Bytes
Raw
1 import * as ecr from "@distilled.cloud/aws/ecr";
2 import * as Layer from "effect/Layer";
3 import { makeEcrRepositoryHttpBinding } from "./BindingHttp.ts";
4 import { GetDownloadUrlForLayer } from "./GetDownloadUrlForLayer.ts";
5
6 /** HTTP implementation of {@link GetDownloadUrlForLayer} over the ECR API. */
7 export const GetDownloadUrlForLayerHttp = Layer.effect(
8 GetDownloadUrlForLayer,
9 makeEcrRepositoryHttpBinding({
10 capability: "GetDownloadUrlForLayer",
11 operation: ecr.getDownloadUrlForLayer,
12 iamActions: ["ecr:GetDownloadUrlForLayer"],
13 }),
14 );