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

main
ts 19 lines 596 Bytes
Raw
1 import * as pubsublite from "@distilled.cloud/gcp/pubsublite_v1";
2 import * as Layer from "effect/Layer";
3 import { makeReservationHttpBinding } from "./BindingHttp.ts";
4 import { GetReservation } from "./GetReservation.ts";
5
6 /**
7 * HTTP implementation of {@link GetReservation}.
8 *
9 * @layer
10 * @provides GCP.PubSubLite.GetReservation
11 */
12 export const GetReservationHttp = Layer.effect(
13 GetReservation,
14 makeReservationHttpBinding({
15 tag: "GCP.PubSubLite.GetReservation",
16 iam: { role: "roles/pubsublite.viewer" },
17 operation: pubsublite.getAdminProjectsLocationsReservations,
18 }),
19 );