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