@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 49 lines 1.69 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 ListManagedNotificationChildEvents}.
7 */
8 export interface ListManagedNotificationChildEventsRequest
9 extends notifications.ListManagedNotificationChildEventsRequest {}
10
11 /**
12 * Runtime binding for `notifications:ListManagedNotificationChildEvents`.
13 *
14 * List the child events of one aggregated AWS-managed notification event.
15 * Provide the implementation with
16 * `Effect.provide(AWS.Notifications.ListManagedNotificationChildEventsHttp)`.
17 * ### Reading AWS-Managed Notifications
18 * **Example:** List an Aggregate Event's Children
19 * ```typescript
20 * // init — account-level binding takes no resource
21 * const listManagedNotificationChildEvents =
22 * yield* AWS.Notifications.ListManagedNotificationChildEvents();
23 *
24 * // runtime
25 * const result = yield* listManagedNotificationChildEvents({
26 * aggregateManagedNotificationEventArn: aggregateArn,
27 * });
28 * const children = result.managedNotificationChildEvents;
29 * ```
30 *
31 * @binding
32 */
33 export interface ListManagedNotificationChildEvents extends Binding.Service<
34 ListManagedNotificationChildEvents,
35 "AWS.Notifications.ListManagedNotificationChildEvents",
36 () => Effect.Effect<
37 (
38 request: ListManagedNotificationChildEventsRequest,
39 ) => Effect.Effect<
40 notifications.ListManagedNotificationChildEventsResponse,
41 notifications.ListManagedNotificationChildEventsError
42 >
43 >
44 > {}
45
46 export const ListManagedNotificationChildEvents =
47 Binding.Service<ListManagedNotificationChildEvents>(
48 "AWS.Notifications.ListManagedNotificationChildEvents",
49 );