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