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