@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.12 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:DescribeEngagement`.
7 *
8 * Read the details of an engagement — sender, subject, content, and the
9 * incident it belongs to.
10 * Provide the implementation with
11 * `Effect.provide(AWS.SSMContacts.DescribeEngagementHttp)`.
12 * ### Managing Engagements
13 * **Example:** Inspect an Engagement
14 * ```typescript
15 * const describeEngagement = yield* AWS.SSMContacts.DescribeEngagement();
16 *
17 * const engagement = yield* describeEngagement({ EngagementId: engagementArn });
18 * // engagement.Subject, engagement.ContactArn, ...
19 * ```
20 *
21 * @binding
22 */
23 export interface DescribeEngagement extends Binding.Service<
24 DescribeEngagement,
25 "AWS.SSMContacts.DescribeEngagement",
26 () => Effect.Effect<
27 (
28 request: ssm.DescribeEngagementRequest,
29 ) => Effect.Effect<ssm.DescribeEngagementResult, ssm.DescribeEngagementError>
30 >
31 > {}
32 export const DescribeEngagement = Binding.Service<DescribeEngagement>(
33 "AWS.SSMContacts.DescribeEngagement",
34 );