@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, 04:45 UTC

main
ts 34 lines 1.1 KB
Raw
1 import type * as devopsguru from "@distilled.cloud/aws/devops-guru";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Runtime binding for `devops-guru:PutFeedback`.
7 *
8 * Records feedback on an insight's usefulness (`VALID` / `NOT_VALID` and variants) — feeding triage decisions back into DevOps Guru.
9 * Provide the implementation with
10 * `Effect.provide(AWS.DevOpsGuru.PutFeedbackHttp)`.
11 * ### Feedback
12 * **Example:** Rate an Insight
13 * ```typescript
14 * // init — account-level binding, no resource argument
15 * const putFeedback = yield* AWS.DevOpsGuru.PutFeedback();
16 *
17 * // runtime
18 * yield* putFeedback({
19 * InsightFeedback: { Id: insightId, Feedback: "VALID_COLLECTION" },
20 * });
21 * ```
22 *
23 * @binding
24 */
25 export interface PutFeedback extends Binding.Service<
26 PutFeedback,
27 "AWS.DevOpsGuru.PutFeedback",
28 () => Effect.Effect<
29 (
30 request?: devopsguru.PutFeedbackRequest,
31 ) => Effect.Effect<devopsguru.PutFeedbackResponse, devopsguru.PutFeedbackError>
32 >
33 > {}
34 export const PutFeedback = Binding.Service<PutFeedback>("AWS.DevOpsGuru.PutFeedback");