1import * as containeranalysis from "@distilled.cloud/gcp/containeranalysis_v1";
2import * as Layer from "effect/Layer";
3import { makeNoteHttpBinding } from "./BindingHttp.ts";
4import { GetNote } from "./GetNote.ts";
5
6/**
7 * HTTP implementation of {@link GetNote}.
8 *
9 * @layer
10 * @provides GCP.ContainerAnalysis.GetNote
11 */
12export const GetNoteHttp = Layer.effect(
13 GetNote,
14 makeNoteHttpBinding({
15 tag: "GCP.ContainerAnalysis.GetNote",
16 iam: {
17 role: "roles/containeranalysis.notes.viewer",
18 on: "containeranalysis.note",
19 },
20 operation: containeranalysis.getProjectsNotes,
21 }),
22);