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