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