Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

GetNotificationEventHttp.ts

13 lines507 Bytes

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