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

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

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