| 1 | import * as redshift from "@distilled.cloud/aws/redshift"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRedshiftClusterHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { PauseCluster } from "./PauseCluster.ts"; |
| 5 | |
| 6 | export const PauseClusterHttp = Layer.effect( |
| 7 | PauseCluster, |
| 8 | makeRedshiftClusterHttpBinding({ |
| 9 | tag: "AWS.Redshift.PauseCluster", |
| 10 | operation: redshift.pauseCluster, |
| 11 | actions: ["redshift:PauseCluster"], |
| 12 | }), |
| 13 | ); |