@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, 06:00 UTC

main
ts 34 lines 1.06 KB
Raw
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:AcceptPage`.
7 *
8 * Acknowledge a page with the accept code Incident Manager delivered to
9 * the contact's channel — `READ` marks it seen, `DELIVERED` confirms
10 * receipt. Acknowledging stops further escalation stages.
11 * Provide the implementation with
12 * `Effect.provide(AWS.SSMContacts.AcceptPageHttp)`.
13 * ### Working with Pages
14 * **Example:** Acknowledge a Page
15 * ```typescript
16 * const acceptPage = yield* AWS.SSMContacts.AcceptPage();
17 *
18 * yield* acceptPage({
19 * PageId: pageArn,
20 * AcceptType: "READ",
21 * AcceptCode: "425440",
22 * });
23 * ```
24 *
25 * @binding
26 */
27 export interface AcceptPage extends Binding.Service<
28 AcceptPage,
29 "AWS.SSMContacts.AcceptPage",
30 () => Effect.Effect<
31 (request: ssm.AcceptPageRequest) => Effect.Effect<ssm.AcceptPageResult, ssm.AcceptPageError>
32 >
33 > {}
34 export const AcceptPage = Binding.Service<AcceptPage>("AWS.SSMContacts.AcceptPage");