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