Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetInterpolatedAssetPropertyValuesRequest

import type { GetInterpolatedAssetPropertyValuesRequest } from "https://aws-api.deno.dev/v0.3/services/iotsitewise.ts?docs=full";
interface GetInterpolatedAssetPropertyValuesRequest {
assetId?: string | null;
endTimeInSeconds: number;
endTimeOffsetInNanos?: number | null;
intervalInSeconds: number;
intervalWindowInSeconds?: number | null;
maxResults?: number | null;
nextToken?: string | null;
propertyAlias?: string | null;
propertyId?: string | null;
quality: Quality;
startTimeInSeconds: number;
startTimeOffsetInNanos?: number | null;
type: string;
}

§Properties

§
assetId?: string | null
[src]

The ID of the asset.

§
endTimeInSeconds: number
[src]

The inclusive end of the range from which to interpolate data, expressed in seconds in Unix epoch time.

§
endTimeOffsetInNanos?: number | null
[src]

The nanosecond offset converted from endTimeInSeconds.

§
intervalInSeconds: number
[src]

The time interval in seconds over which to interpolate data. Each interval starts when the previous one ends.

§
intervalWindowInSeconds?: number | null
[src]

The query interval for the window, in seconds. IoT SiteWise computes each interpolated value by using data points from the timestamp of each interval, minus the window to the timestamp of each interval plus the window. If not specified, the window ranges between the start time minus the interval and the end time plus the interval.

Note: - If you specify a value for the intervalWindowInSeconds parameter, the value for the type parameter must be LINEAR_INTERPOLATION. - If a data point isn't found during the specified query window, IoT SiteWise won't return an interpolated value for the interval. This indicates that there's a gap in the ingested data points.

For example, you can get the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts on July 1, 2021, at 9 AM with a window of 2 hours, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 2, 2021 to compute the first interpolated value. Next, IoT SiteWise uses the data points from 7 AM (9 AM minus 2 hours) to 11 AM (9 AM plus 2 hours) on July 3, 2021 to compute the second interpolated value, and so on.

§
maxResults?: number | null
[src]

The maximum number of results to return for each paginated request. If not specified, the default value is 10.

§
nextToken?: string | null
[src]

The token to be used for the next set of paginated results.

§
propertyAlias?: string | null
[src]

The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide.

§
propertyId?: string | null
[src]

The ID of the asset property.

§
quality: Quality
[src]

The quality of the asset property value. You can use this parameter as a filter to choose only the asset property values that have a specific quality.

§
startTimeInSeconds: number
[src]

The exclusive start of the range from which to interpolate data, expressed in seconds in Unix epoch time.

§
startTimeOffsetInNanos?: number | null
[src]

The nanosecond offset converted from startTimeInSeconds.

§
type: string
[src]

The interpolation type.

Valid values: LINEAR_INTERPOLATION | LOCF_INTERPOLATION

  • LINEAR_INTERPOLATION – Estimates missing data using linear interpolation. For example, you can use this operation to return the interpolated temperature values for a wind turbine every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the first interpolated value on July 2, 2021, at 9 AM, the second interpolated value on July 3, 2021, at 9 AM, and so on.
  • LOCF_INTERPOLATION – Estimates missing data using last observation carried forward interpolation If no data point is found for an interval, IoT SiteWise returns the last observed data point for the previous interval and carries forward this interpolated value until a new data point is found. For example, you can get the state of an on-off valve every 24 hours over a duration of 7 days. If the interpolation starts July 1, 2021, at 9 AM, IoT SiteWise returns the last observed data point between July 1, 2021, at 9 AM and July 2, 2021, at 9 AM as the first interpolated value. If a data point isn't found after 9 AM on July 2, 2021, IoT SiteWise uses the same interpolated value for the rest of the days.