Skip to content

GetAssetPropertyAggregatesRequest

Source code in docs_src/capo_iotsitewise/types/get_asset_property_aggregates_request.py
class GetAssetPropertyAggregatesRequest(TypedDict, closed=True):
    asset_id: NotRequired["capo_iotsitewise.types.id.ID"]
    """<p>The ID of the asset, in UUID format.</p>"""
    property_id: NotRequired["capo_iotsitewise.types.id.ID"]
    """<p>The ID of the asset property, in UUID format.</p>"""
    property_alias: NotRequired[
        "capo_iotsitewise.types.asset_property_alias.AssetPropertyAlias"
    ]
    """<p>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>.</p>"""
    aggregate_types: "capo_iotsitewise.types.aggregate_types.AggregateTypes"
    """<p>The data aggregating function.</p>"""
    resolution: "capo_iotsitewise.types.resolution.Resolution"
    """<p>The time interval over which to aggregate data.</p>"""
    qualities: NotRequired["capo_iotsitewise.types.qualities.Qualities"]
    """<p>The quality by which to filter asset data.</p>"""
    start_date: "capo_iotsitewise.types.timestamp.Timestamp"
    """<p>The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.</p>"""
    end_date: "capo_iotsitewise.types.timestamp.Timestamp"
    """<p>The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.</p>"""
    time_ordering: NotRequired["capo_iotsitewise.types.time_ordering.TimeOrdering"]
    """<p>The chronological sorting order of the requested information.</p> <p>Default: <code>ASCENDING</code> </p>"""
    next_token: NotRequired["capo_iotsitewise.types.next_token.NextToken"]
    """<p>The token to be used for the next set of paginated results.</p>"""
    max_results: NotRequired[
        "capo_iotsitewise.types.get_asset_property_value_aggregates_max_results.GetAssetPropertyValueAggregatesMaxResults"
    ]
    """<p>The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.</p> <ul> <li> <p>The size of the result set is equal to 1 MB.</p> </li> <li> <p>The number of data points in the result set is equal to the value of <code>maxResults</code>. The maximum value of <code>maxResults</code> is 2500.</p> </li> </ul>"""

aggregate_types instance-attribute

aggregate_types: AggregateTypes

The data aggregating function.

asset_id instance-attribute

asset_id: NotRequired[ID]

The ID of the asset, in UUID format.

end_date instance-attribute

end_date: Timestamp

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

max_results instance-attribute

The maximum number of results to return for each paginated request. A result set is returned in the two cases, whichever occurs first.

  • The size of the result set is equal to 1 MB.

  • The number of data points in the result set is equal to the value of maxResults. The maximum value of maxResults is 2500.

next_token instance-attribute

next_token: NotRequired[NextToken]

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

property_alias instance-attribute

property_alias: NotRequired[AssetPropertyAlias]

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.

property_id instance-attribute

property_id: NotRequired[ID]

The ID of the asset property, in UUID format.

qualities instance-attribute

qualities: NotRequired[Qualities]

The quality by which to filter asset data.

resolution instance-attribute

resolution: Resolution

The time interval over which to aggregate data.

start_date instance-attribute

start_date: Timestamp

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

time_ordering instance-attribute

time_ordering: NotRequired[TimeOrdering]

The chronological sorting order of the requested information.

Default: ASCENDING