1import * as connectors from "@distilled.cloud/gcp/connectors_v2";
2import * as Layer from "effect/Layer";
3import { makeEntityHttpBinding } from "./BindingHttp.ts";
4import { GetEntity } from "./GetEntity.ts";
5
6/**
7 * HTTP implementation of {@link GetEntity}.
8 *
9 * @layer
10 * @provides GCP.Connectors.GetEntity
11 */
12export const GetEntityHttp = Layer.effect(
13 GetEntity,
14 makeEntityHttpBinding({
15 tag: "GCP.Connectors.GetEntity",
16 iam: { role: "roles/connectors.invoker" },
17 operation: connectors.getProjectsLocationsConnectionsEntityTypesEntities,
18 }),
19);