| 1 | import * as memorydb from "@distilled.cloud/aws/memorydb"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeMemoryDBClusterHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { FailoverShard } from "./FailoverShard.ts"; |
| 5 | |
| 6 | export const FailoverShardHttp = Layer.effect( |
| 7 | FailoverShard, |
| 8 | makeMemoryDBClusterHttpBinding({ |
| 9 | tag: "AWS.MemoryDB.FailoverShard", |
| 10 | operation: memorydb.failoverShard, |
| 11 | actions: ["memorydb:FailoverShard"], |
| 12 | }), |
| 13 | ); |