| 1 | import * as kvs from "@distilled.cloud/aws/cloudfront-keyvaluestore"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeKeyValueStoreScopedHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { PutKey } from "./PutKey.ts"; |
| 5 | |
| 6 | export const PutKeyHttp = Layer.effect( |
| 7 | PutKey, |
| 8 | makeKeyValueStoreScopedHttpBinding({ |
| 9 | tag: "AWS.CloudFront.PutKey", |
| 10 | operation: kvs.putKey, |
| 11 | actions: ["cloudfront-keyvaluestore:PutKey"], |
| 12 | }), |
| 13 | ); |