sailfork / t3code-github / .repos/ alchemy-effect/ packages/ aws/ src/ DAX/ DecreaseReplicationFactorHttp.ts

import * as dax from "@distilled.cloud/aws/dax";
import * as Layer from "effect/Layer";
import { makeDaxClusterHttpBinding } from "./BindingHttp.ts";
import { DecreaseReplicationFactor } from "./DecreaseReplicationFactor.ts";

export const DecreaseReplicationFactorHttp = Layer.effect(
  DecreaseReplicationFactor,
  makeDaxClusterHttpBinding({
    tag: "AWS.DAX.DecreaseReplicationFactor",
    operation: dax.decreaseReplicationFactor,
    actions: ["dax:DecreaseReplicationFactor"],
  }),
);