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