1import type * as ssm from "@distilled.cloud/aws/ssm-contacts";
2import type * as Effect from "effect/Effect";
3import * as Binding from "../../Binding.ts";
4
5/**
6 * Runtime binding for `ssm-contacts:ListPagesByEngagement`.
7 *
8 * List the pages an engagement produced — one page per engaged contact
9 * and escalation stage.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SSMContacts.ListPagesByEngagementHttp)`.
12 * ### Working with Pages
13 * **Example:** List an Engagement's Pages
14 * ```typescript
15 * const listPagesByEngagement = yield* AWS.SSMContacts.ListPagesByEngagement();
16 *
17 * const { Pages } = yield* listPagesByEngagement({ EngagementId: engagementArn });
18 * ```
19 *
20 * @binding
21 */
22export interface ListPagesByEngagement extends Binding.Service<
23 ListPagesByEngagement,
24 "AWS.SSMContacts.ListPagesByEngagement",
25 () => Effect.Effect<
26 (
27 request: ssm.ListPagesByEngagementRequest,
28 ) => Effect.Effect<
29 ssm.ListPagesByEngagementResult,
30 ssm.ListPagesByEngagementError
31 >
32 >
33> {}
34export const ListPagesByEngagement = Binding.Service<ListPagesByEngagement>(
35 "AWS.SSMContacts.ListPagesByEngagement",
36);