Skip to content

GetTimeSeriesDataPoint

Source: src/AWS/DataZone/GetTimeSeriesDataPoint.ts

Runtime binding for datazone:GetTimeSeriesDataPoint.

Reads a single time series data point on an asset or listing in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.GetTimeSeriesDataPointHttp).

// init — bind the operation to the domain
const getTimeSeriesDataPoint = yield* AWS.DataZone.GetTimeSeriesDataPoint(domain);
// runtime
const point = yield* getTimeSeriesDataPoint({
entityIdentifier: assetId,
entityType: "ASSET",
formName: "quality",
identifier: dataPointId,
});