Skip to content
TypeScript
501 B
Raw Blame
import * as inspector2 from "@distilled.cloud/aws/inspector2";
import * as Layer from "effect/Layer";
import { BatchGetCodeSnippet } from "./BatchGetCodeSnippet.ts";
import { makeInspector2AccountHttpBinding } from "./BindingHttp.ts";

export const BatchGetCodeSnippetHttp = Layer.effect(
  BatchGetCodeSnippet,
  makeInspector2AccountHttpBinding({
    tag: "AWS.Inspector2.BatchGetCodeSnippet",
    operation: inspector2.batchGetCodeSnippet,
    actions: ["inspector2:BatchGetCodeSnippet"],
  }),
);