Skip to content

PostTimeSeriesDataPoints

Source: src/AWS/DataZone/PostTimeSeriesDataPoints.ts

Runtime binding for datazone:PostTimeSeriesDataPoints.

Posts time series data points (e.g. data-quality metrics) onto an asset or listing in the bound domain. The domain id is injected from the binding. Provide the implementation with Effect.provide(AWS.DataZone.PostTimeSeriesDataPointsHttp).

// init — bind the operation to the domain
const postTimeSeriesDataPoints = yield* AWS.DataZone.PostTimeSeriesDataPoints(domain);
// runtime
yield* postTimeSeriesDataPoints({
entityIdentifier: assetId,
entityType: "ASSET",
forms: [{ formName: "quality", typeIdentifier: "amazon.datazone.DataQualityResultFormType", content: "{}", timestamp: new Date() }],
});