| 1 | import * as kms from "@distilled.cloud/aws/kms"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeKmsAccountHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GenerateRandom } from "./GenerateRandom.ts"; |
| 5 | |
| 6 | export const GenerateRandomHttp = Layer.effect( |
| 7 | GenerateRandom, |
| 8 | makeKmsAccountHttpBinding({ |
| 9 | tag: "AWS.KMS.GenerateRandom", |
| 10 | operation: kms.generateRandom, |
| 11 | actions: ["kms:GenerateRandom"], |
| 12 | }), |
| 13 | ); |