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

main
ts 19 lines 635 Bytes
Raw
1 import * as oracle from "@distilled.cloud/gcp/oracledatabase_v1";
2 import * as Layer from "effect/Layer";
3 import { makeOracleNameHttpBinding } from "./BindingHttp.ts";
4 import { GetCloudVmCluster } from "./GetCloudVmCluster.ts";
5
6 /**
7 * HTTP implementation of {@link GetCloudVmCluster}.
8 *
9 * @layer
10 * @provides GCP.OracleDatabase.GetCloudVmCluster
11 */
12 export const GetCloudVmClusterHttp = Layer.effect(
13 GetCloudVmCluster,
14 makeOracleNameHttpBinding({
15 tag: "GCP.OracleDatabase.GetCloudVmCluster",
16 operation: oracle.getProjectsLocationsCloudVmClusters,
17 iam: { role: "roles/oracledatabase.cloudVmClusterViewer" },
18 }),
19 );