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
| 1 | import type * as ssm from "@distilled.cloud/aws/ssm-contacts"; |
| 2 | import * as Binding from "alchemy/Binding"; |
| 3 | import type * as Effect from "effect/Effect"; |
| 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<ssm.ListPageResolutionsResult, ssm.ListPageResolutionsError> |
| 29 | > |
| 30 | > {} |
| 31 | export const ListPageResolutions = Binding.Service<ListPageResolutions>( |
| 32 | "AWS.SSMContacts.ListPageResolutions", |
| 33 | ); |