| 1 | import * as translate from "@distilled.cloud/gcp/translate_v3"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeAdaptiveMtDatasetHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetAdaptiveMtDataset } from "./GetAdaptiveMtDataset.ts"; |
| 5 | |
| 6 | /** |
| 7 | * HTTP implementation of {@link GetAdaptiveMtDataset}. |
| 8 | * |
| 9 | * @layer |
| 10 | * @provides GCP.Translate.GetAdaptiveMtDataset |
| 11 | */ |
| 12 | export const GetAdaptiveMtDatasetHttp = Layer.effect( |
| 13 | GetAdaptiveMtDataset, |
| 14 | makeAdaptiveMtDatasetHttpBinding({ |
| 15 | tag: "GCP.Translate.GetAdaptiveMtDataset", |
| 16 | operation: translate.getProjectsLocationsAdaptiveMtDatasets, |
| 17 | iam: { role: "roles/cloudtranslate.viewer" }, |
| 18 | }), |
| 19 | ); |