1import type * as notifications from "@distilled.cloud/aws/notifications";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Request for {@link ListManagedNotificationChildEvents}.
7 */
8export 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 */
33export 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
46export const ListManagedNotificationChildEvents =
47 Binding.Service<ListManagedNotificationChildEvents>(
48 "AWS.Notifications.ListManagedNotificationChildEvents",
49 );