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