@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 32 lines 1.09 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:DeleteInsight`.
7 *
8 * Deletes a closed insight — housekeeping automation for insights that have been triaged and resolved. Only closed insights can be deleted.
9 * Provide the implementation with
10 * `Effect.provide(AWS.DevOpsGuru.DeleteInsightHttp)`.
11 * ### Inspecting Insights
12 * **Example:** Delete a Closed Insight
13 * ```typescript
14 * // init — account-level binding, no resource argument
15 * const deleteInsight = yield* AWS.DevOpsGuru.DeleteInsight();
16 *
17 * // runtime
18 * yield* deleteInsight({ Id: insightId });
19 * ```
20 *
21 * @binding
22 */
23 export interface DeleteInsight extends Binding.Service<
24 DeleteInsight,
25 "AWS.DevOpsGuru.DeleteInsight",
26 () => Effect.Effect<
27 (
28 request: devopsguru.DeleteInsightRequest,
29 ) => Effect.Effect<devopsguru.DeleteInsightResponse, devopsguru.DeleteInsightError>
30 >
31 > {}
32 export const DeleteInsight = Binding.Service<DeleteInsight>("AWS.DevOpsGuru.DeleteInsight");