sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ CloudFront/ DeleteKeyHttp.ts

import * as kvs from "@distilled.cloud/aws/cloudfront-keyvaluestore";
import * as Layer from "effect/Layer";
import { makeKeyValueStoreScopedHttpBinding } from "./BindingHttp.ts";
import { DeleteKey } from "./DeleteKey.ts";

export const DeleteKeyHttp = Layer.effect(
  DeleteKey,
  makeKeyValueStoreScopedHttpBinding({
    tag: "AWS.CloudFront.DeleteKey",
    operation: kvs.deleteKey,
    actions: ["cloudfront-keyvaluestore:DeleteKey"],
  }),
);