| 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 { GetKey } from "./GetKey.ts"; |
| 5 | |
| 6 | export const GetKeyHttp = Layer.effect( |
| 7 | GetKey, |
| 8 | makeKeyValueStoreScopedHttpBinding({ |
| 9 | tag: "AWS.CloudFront.GetKey", |
| 10 | operation: kvs.getKey, |
| 11 | actions: ["cloudfront-keyvaluestore:GetKey"], |
| 12 | }), |
| 13 | ); |