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