sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ AuditManager/ GetInsightsByAssessmentHttp.ts

import * as auditmanager from "@distilled.cloud/aws/auditmanager";
import * as Layer from "effect/Layer";
import { makeAssessmentScopedHttpBinding } from "./BindingHttp.ts";
import { GetInsightsByAssessment } from "./GetInsightsByAssessment.ts";

export const GetInsightsByAssessmentHttp = Layer.effect(
  GetInsightsByAssessment,
  makeAssessmentScopedHttpBinding({
    tag: "AWS.AuditManager.GetInsightsByAssessment",
    operation: auditmanager.getInsightsByAssessment,
    actions: ["auditmanager:GetInsightsByAssessment"],
  }),
);