@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 04:45 UTC

main
ts 46 lines 1.63 KB
Raw
1 import type * as notifications from "@distilled.cloud/aws/notifications";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link GetManagedNotificationChildEvent}.
7 */
8 export interface GetManagedNotificationChildEventRequest
9 extends notifications.GetManagedNotificationChildEventRequest {}
10
11 /**
12 * Runtime binding for `notifications:GetManagedNotificationChildEvent`.
13 *
14 * Fetch one child event of an aggregated AWS-managed notification (e.g. a
15 * single account/region item inside an aggregate AWS Health event) by its
16 * ARN. Provide the implementation with
17 * `Effect.provide(AWS.Notifications.GetManagedNotificationChildEventHttp)`.
18 * ### Reading AWS-Managed Notifications
19 * **Example:** Fetch a Managed Notification Child Event
20 * ```typescript
21 * // init — account-level binding takes no resource
22 * const getManagedNotificationChildEvent =
23 * yield* AWS.Notifications.GetManagedNotificationChildEvent();
24 *
25 * // runtime
26 * const child = yield* getManagedNotificationChildEvent({ arn: childArn });
27 * ```
28 *
29 * @binding
30 */
31 export interface GetManagedNotificationChildEvent extends Binding.Service<
32 GetManagedNotificationChildEvent,
33 "AWS.Notifications.GetManagedNotificationChildEvent",
34 () => Effect.Effect<
35 (
36 request: GetManagedNotificationChildEventRequest,
37 ) => Effect.Effect<
38 notifications.GetManagedNotificationChildEventResponse,
39 notifications.GetManagedNotificationChildEventError
40 >
41 >
42 > {}
43
44 export const GetManagedNotificationChildEvent = Binding.Service<GetManagedNotificationChildEvent>(
45 "AWS.Notifications.GetManagedNotificationChildEvent",
46 );