Gets aggregated values for an asset property. For more information, see Querying aggregates in the IoT SiteWise User Guide.
To identify an asset property, you must specify one of the following:
-
The assetId and propertyId of an asset property.
-
A propertyAlias, which is a data stream alias (for example, /company/windfarm/3/turbine/7/temperature). To define an asset property's alias, see UpdateAssetProperty.
Query parameters
The ID of the asset.
The ID of the asset property.
The alias that identifies the property, such as an OPC-UA server data stream path (for example, <code>/company/windfarm/3/turbine/7/temperature</code>). For more information, see <a href="https://docs.aws.amazon.com/iot-sitewise/latest/userguide/connect-data-streams.html">Mapping industrial data streams to asset properties</a> in the <i>IoT SiteWise User Guide</i>.
The data aggregating function.
The time interval over which to aggregate data.
The quality by which to filter asset data.
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.
The token to be used for the next set of paginated results.
Response
Success