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