Skip to content
TypeScript
478 B
Raw Blame
import * as docdb from "@distilled.cloud/aws/docdb";
import * as Layer from "effect/Layer";
import { makeDocDBAccountHttpBinding } from "./BindingHttp.ts";
import { CopyDBClusterSnapshot } from "./CopyDBClusterSnapshot.ts";

export const CopyDBClusterSnapshotHttp = Layer.effect(
  CopyDBClusterSnapshot,
  makeDocDBAccountHttpBinding({
    tag: "AWS.DocDB.CopyDBClusterSnapshot",
    operation: docdb.copyDBClusterSnapshot,
    actions: ["rds:CopyDBClusterSnapshot"],
  }),
);