@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 44 lines 1.44 KB
Raw
1 import type * as ce from "@distilled.cloud/aws/cost-explorer";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4
5 /**
6 * Request for {@link ListCommitmentPurchaseAnalyses}.
7 */
8 export interface ListCommitmentPurchaseAnalysesRequest
9 extends ce.ListCommitmentPurchaseAnalysesRequest {}
10
11 /**
12 * Runtime binding for `ce:ListCommitmentPurchaseAnalyses`.
13 *
14 * List the commitment purchase analyses run in your account. Provide the implementation with
15 * `Effect.provide(AWS.CostExplorer.ListCommitmentPurchaseAnalysesHttp)`.
16 * ### Commitment Purchase Analysis
17 * **Example:** List Analyses
18 * ```typescript
19 * // init — account-level binding takes no resource
20 * const listCommitmentPurchaseAnalyses = yield* AWS.CostExplorer.ListCommitmentPurchaseAnalyses();
21 *
22 * // runtime
23 * const result = yield* listCommitmentPurchaseAnalyses();
24 * const analyses = result.AnalysisSummaryList;
25 * ```
26 *
27 * @binding
28 */
29 export interface ListCommitmentPurchaseAnalyses extends Binding.Service<
30 ListCommitmentPurchaseAnalyses,
31 "AWS.CostExplorer.ListCommitmentPurchaseAnalyses",
32 () => Effect.Effect<
33 (
34 request?: ListCommitmentPurchaseAnalysesRequest,
35 ) => Effect.Effect<
36 ce.ListCommitmentPurchaseAnalysesResponse,
37 ce.ListCommitmentPurchaseAnalysesError
38 >
39 >
40 > {}
41
42 export const ListCommitmentPurchaseAnalyses = Binding.Service<ListCommitmentPurchaseAnalyses>(
43 "AWS.CostExplorer.ListCommitmentPurchaseAnalyses",
44 );