Skip to content
TypeScript
537 B
Raw Blame
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"],
  }),
);