1import * as inspector2 from "@distilled.cloud/aws/inspector2";
2import * as Layer from "effect/Layer";
3import { makeInspector2AccountHttpBinding } from "./BindingHttp.ts";
4import { GetEncryptionKey } from "./GetEncryptionKey.ts";
5
6export const GetEncryptionKeyHttp = Layer.effect(
7 GetEncryptionKey,
8 makeInspector2AccountHttpBinding({
9 tag: "AWS.Inspector2.GetEncryptionKey",
10 operation: inspector2.getEncryptionKey,
11 actions: ["inspector2:GetEncryptionKey"],
12 }),
13);