sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ Redshift/ CopyClusterSnapshotHttp.ts

import * as redshift from "@distilled.cloud/aws/redshift";
import * as Layer from "effect/Layer";
import { makeRedshiftAccountHttpBinding } from "./BindingHttp.ts";
import { CopyClusterSnapshot } from "./CopyClusterSnapshot.ts";

export const CopyClusterSnapshotHttp = Layer.effect(
  CopyClusterSnapshot,
  makeRedshiftAccountHttpBinding({
    tag: "AWS.Redshift.CopyClusterSnapshot",
    operation: redshift.copyClusterSnapshot,
    actions: ["redshift:CopyClusterSnapshot"],
  }),
);