| 1 | import * as DynamoDB from "@distilled.cloud/aws/dynamodb"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeTableHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetItem } from "./GetItem.ts"; |
| 5 | |
| 6 | export const GetItemHttp = Layer.effect( |
| 7 | GetItem, |
| 8 | makeTableHttpBinding({ |
| 9 | tag: "AWS.DynamoDB.GetItem", |
| 10 | operation: DynamoDB.getItem, |
| 11 | actions: ["dynamodb:GetItem"], |
| 12 | }), |
| 13 | ); |