| 1 | import * as notifications from "@distilled.cloud/aws/notifications"; |
| 2 | import * as Layer from "effect/Layer"; |
| 3 | import { makeNotificationsHttpBinding } from "./BindingHttp.ts"; |
| 4 | import { GetNotificationEvent } from "./GetNotificationEvent.ts"; |
| 5 | |
| 6 | export const GetNotificationEventHttp = Layer.effect( |
| 7 | GetNotificationEvent, |
| 8 | makeNotificationsHttpBinding({ |
| 9 | capability: "GetNotificationEvent", |
| 10 | iamActions: ["notifications:GetNotificationEvent"], |
| 11 | operation: notifications.getNotificationEvent, |
| 12 | }), |
| 13 | ); |