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

main
ts 19 lines 537 Bytes
Raw
1 import * as alloydb from "@distilled.cloud/gcp/alloydb_v1";
2 import * as Layer from "effect/Layer";
3 import { makeAlloyDbBackupHttpBinding } from "./BindingHttp.ts";
4 import { GetBackup } from "./GetBackup.ts";
5
6 /**
7 * HTTP implementation of {@link GetBackup}.
8 *
9 * @layer
10 * @provides GCP.AlloyDB.GetBackup
11 */
12 export const GetBackupHttp = Layer.effect(
13 GetBackup,
14 makeAlloyDbBackupHttpBinding({
15 tag: "GCP.AlloyDB.GetBackup",
16 iam: { role: "roles/alloydb.viewer" },
17 operation: alloydb.getProjectsLocationsBackups,
18 }),
19 );