| 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 { GetGoldengateConnectionAssignment } from "./GetGoldengateConnectionAssignment.ts"; |
| 5 | |
| 6 | /** |
| 7 | * HTTP implementation of {@link GetGoldengateConnectionAssignment}. |
| 8 | * |
| 9 | * @layer |
| 10 | * @provides GCP.OracleDatabase.GetGoldengateConnectionAssignment |
| 11 | */ |
| 12 | export const GetGoldengateConnectionAssignmentHttp = Layer.effect( |
| 13 | GetGoldengateConnectionAssignment, |
| 14 | makeOracleNameHttpBinding({ |
| 15 | tag: "GCP.OracleDatabase.GetGoldengateConnectionAssignment", |
| 16 | operation: oracle.getProjectsLocationsGoldengateConnectionAssignments, |
| 17 | iam: { role: "roles/oracledatabase.goldenGateConnectionAssignmentViewer" }, |
| 18 | }), |
| 19 | ); |