The best way to control Claude Code, Codex and more from any computer or phone

main
ts 19 lines 565 Bytes
Raw
1 import * as memcache from "@distilled.cloud/gcp/memcache_v1";
2 import * as Layer from "effect/Layer";
3 import { makeMemcacheInstanceHttpBinding } from "./BindingHttp.ts";
4 import { GetInstance } from "./GetInstance.ts";
5
6 /**
7 * HTTP implementation of {@link GetInstance}.
8 *
9 * @layer
10 * @provides GCP.Memcache.GetInstance
11 */
12 export const GetInstanceHttp = Layer.effect(
13 GetInstance,
14 makeMemcacheInstanceHttpBinding({
15 tag: "GCP.Memcache.GetInstance",
16 iam: { role: "roles/memcache.viewer" },
17 operation: memcache.getProjectsLocationsInstances,
18 }),
19 );