1import * as kvs from "@distilled.cloud/aws/cloudfront-keyvaluestore";
2import * as Layer from "effect/Layer";
3import { makeKeyValueStoreScopedHttpBinding } from "./BindingHttp.ts";
4import { GetKey } from "./GetKey.ts";
5
6export const GetKeyHttp = Layer.effect(
7 GetKey,
8 makeKeyValueStoreScopedHttpBinding({
9 tag: "AWS.CloudFront.GetKey",
10 operation: kvs.getKey,
11 actions: ["cloudfront-keyvaluestore:GetKey"],
12 }),
13);