1import * as container from "@distilled.cloud/gcp/container_v1";
2import * as Layer from "effect/Layer";
3import { makeContainerClustersNodePoolHttpBinding } from "./BindingHttp.ts";
4import { GetClustersNodePool } from "./GetClustersNodePool.ts";
5
6/**
7 * HTTP implementation of {@link GetClustersNodePool}.
8 *
9 * @layer
10 * @provides GCP.Container.GetClustersNodePool
11 */
12export const GetClustersNodePoolHttp = Layer.effect(
13 GetClustersNodePool,
14 makeContainerClustersNodePoolHttpBinding({
15 tag: "GCP.Container.GetClustersNodePool",
16 iam: { role: "roles/container.clusterViewer" },
17 operation: container.getProjectsZonesClustersNodePools,
18 }),
19);