| 1 | import * as sns from "@distilled.cloud/aws/sns"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeSnsTopicHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { PutDataProtectionPolicy } from "./PutDataProtectionPolicy.ts"; |
| 5 | |
| 6 | export const PutDataProtectionPolicyHttp = Layer.effect( |
| 7 | PutDataProtectionPolicy, |
| 8 | makeSnsTopicHttpBinding({ |
| 9 | tag: "AWS.SNS.PutDataProtectionPolicy", |
| 10 | operation: sns.putDataProtectionPolicy, |
| 11 | actions: ["sns:PutDataProtectionPolicy"], |
| 12 | key: "ResourceArn", |
| 13 | }), |
| 14 | ); |