| 1 | import type * as ssm from "@distilled.cloud/aws/ssm-contacts"; |
| 2 | import type * as Effect from "effect/Effect"; |
| 3 | import * as Binding from "../../Binding.ts"; |
| 4 | |
| 5 | /** |
| 6 | * Runtime binding for `ssm-contacts:ListPageResolutions`. |
| 7 | * |
| 8 | * List the resolution path of a page — the chain of escalation-plan and |
| 9 | * on-call-schedule hops that led Incident Manager to the engaged contact. |
| 10 | * Provide the implementation with |
| 11 | * `Effect.provide(AWS.SSMContacts.ListPageResolutionsHttp)`. |
| 12 | * ### Working with Pages |
| 13 | * **Example:** Trace How a Contact Was Paged |
| 14 | * ```typescript |
| 15 | * const listPageResolutions = yield* AWS.SSMContacts.ListPageResolutions(); |
| 16 | * |
| 17 | * const { PageResolutions } = yield* listPageResolutions({ PageId: pageArn }); |
| 18 | * ``` |
| 19 | * |
| 20 | * @binding |
| 21 | */ |
| 22 | export interface ListPageResolutions extends Binding.Service< |
| 23 | ListPageResolutions, |
| 24 | "AWS.SSMContacts.ListPageResolutions", |
| 25 | () => Effect.Effect< |
| 26 | ( |
| 27 | request: ssm.ListPageResolutionsRequest, |
| 28 | ) => Effect.Effect< |
| 29 | ssm.ListPageResolutionsResult, |
| 30 | ssm.ListPageResolutionsError |
| 31 | > |
| 32 | > |
| 33 | > {} |
| 34 | export const ListPageResolutions = Binding.Service<ListPageResolutions>( |
| 35 | "AWS.SSMContacts.ListPageResolutions", |
| 36 | ); |