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

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

export const PauseClusterHttp = Layer.effect(
  PauseCluster,
  makeRedshiftClusterHttpBinding({
    tag: "AWS.Redshift.PauseCluster",
    operation: redshift.pauseCluster,
    actions: ["redshift:PauseCluster"],
  }),
);