1import * as firebasedataconnect from "@distilled.cloud/gcp/firebasedataconnect_v1";
2import * as Layer from "effect/Layer";
3import { makeServiceHttpBinding } from "./BindingHttp.ts";
4import { ExecuteGraphqlRead } from "./ExecuteGraphqlRead.ts";
5
6/**
7 * HTTP implementation of {@link ExecuteGraphqlRead}.
8 *
9 * @layer
10 * @provides GCP.FirebaseDataConnect.ExecuteGraphqlRead
11 */
12export const ExecuteGraphqlReadHttp = Layer.effect(
13 ExecuteGraphqlRead,
14 makeServiceHttpBinding({
15 tag: "GCP.FirebaseDataConnect.ExecuteGraphqlRead",
16 iam: { role: "roles/firebasedataconnect.dataViewer" },
17 operation: firebasedataconnect.executeGraphqlReadProjectsLocationsServices,
18 }),
19);