@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 49 lines 1.5 KB
Raw
1 import type * as datazone from "@distilled.cloud/aws/datazone";
2 import * as Binding from "alchemy/Binding";
3 import type * as Effect from "effect/Effect";
4 import type { Domain } from "./Domain.ts";
5
6 export interface ListTimeSeriesDataPointsRequest extends Omit<
7 datazone.ListTimeSeriesDataPointsInput,
8 "domainIdentifier"
9 > {}
10
11 /**
12 * Runtime binding for `datazone:ListTimeSeriesDataPoints`.
13 *
14 * Lists time series data points recorded on an asset or listing in the bound domain. The domain id is injected from the binding.
15 * Provide the implementation with
16 * `Effect.provide(AWS.DataZone.ListTimeSeriesDataPointsHttp)`.
17 * ### Time Series Metadata
18 * **Example:** Read Back Metric History
19 * ```typescript
20 * // init — bind the operation to the domain
21 * const listTimeSeriesDataPoints = yield* AWS.DataZone.ListTimeSeriesDataPoints(domain);
22 *
23 * // runtime
24 * const points = yield* listTimeSeriesDataPoints({
25 * entityIdentifier: assetId,
26 * entityType: "ASSET",
27 * formName: "quality",
28 * });
29 * ```
30 *
31 * @binding
32 */
33 export interface ListTimeSeriesDataPoints extends Binding.Service<
34 ListTimeSeriesDataPoints,
35 "AWS.DataZone.ListTimeSeriesDataPoints",
36 (
37 domain: Domain,
38 ) => Effect.Effect<
39 (
40 request: ListTimeSeriesDataPointsRequest,
41 ) => Effect.Effect<
42 datazone.ListTimeSeriesDataPointsOutput,
43 datazone.ListTimeSeriesDataPointsError
44 >
45 >
46 > {}
47 export const ListTimeSeriesDataPoints = Binding.Service<ListTimeSeriesDataPoints>(
48 "AWS.DataZone.ListTimeSeriesDataPoints",
49 );