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