| 1 | import * as rds from "@distilled.cloud/aws/rds"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeRdsAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { CopyDBClusterSnapshot } from "./CopyDBClusterSnapshot.ts"; |
| 5 | |
| 6 | export const CopyDBClusterSnapshotHttp = Layer.effect( |
| 7 | CopyDBClusterSnapshot, |
| 8 | makeRdsAccountHttpBinding({ |
| 9 | tag: "AWS.RDS.CopyDBClusterSnapshot", |
| 10 | operation: rds.copyDBClusterSnapshot, |
| 11 | actions: ["rds:CopyDBClusterSnapshot", "rds:AddTagsToResource"], |
| 12 | }), |
| 13 | ); |