Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data BatchGetAssetPropertyAggregatesEntry = BatchGetAssetPropertyAggregatesEntry' {}
- newBatchGetAssetPropertyAggregatesEntry :: Text -> NonEmpty AggregateType -> Text -> UTCTime -> UTCTime -> BatchGetAssetPropertyAggregatesEntry
- batchGetAssetPropertyAggregatesEntry_assetId :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe Text)
- batchGetAssetPropertyAggregatesEntry_propertyAlias :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe Text)
- batchGetAssetPropertyAggregatesEntry_propertyId :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe Text)
- batchGetAssetPropertyAggregatesEntry_qualities :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe (NonEmpty Quality))
- batchGetAssetPropertyAggregatesEntry_timeOrdering :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe TimeOrdering)
- batchGetAssetPropertyAggregatesEntry_entryId :: Lens' BatchGetAssetPropertyAggregatesEntry Text
- batchGetAssetPropertyAggregatesEntry_aggregateTypes :: Lens' BatchGetAssetPropertyAggregatesEntry (NonEmpty AggregateType)
- batchGetAssetPropertyAggregatesEntry_resolution :: Lens' BatchGetAssetPropertyAggregatesEntry Text
- batchGetAssetPropertyAggregatesEntry_startDate :: Lens' BatchGetAssetPropertyAggregatesEntry UTCTime
- batchGetAssetPropertyAggregatesEntry_endDate :: Lens' BatchGetAssetPropertyAggregatesEntry UTCTime
Documentation
data BatchGetAssetPropertyAggregatesEntry Source #
Contains information for an asset property aggregate entry that is associated with the BatchGetAssetPropertyAggregates API.
To identify an asset property, you must specify one of the following:
- The
assetId
andpropertyId
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.
See: newBatchGetAssetPropertyAggregatesEntry
smart constructor.
BatchGetAssetPropertyAggregatesEntry' | |
|
Instances
newBatchGetAssetPropertyAggregatesEntry Source #
Create a value of BatchGetAssetPropertyAggregatesEntry
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:assetId:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_assetId
- The ID of the asset in which the asset property was created.
$sel:propertyAlias:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_propertyAlias
- 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.
$sel:propertyId:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_propertyId
- The ID of the asset property.
$sel:qualities:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_qualities
- The quality by which to filter asset data.
$sel:timeOrdering:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_timeOrdering
- The chronological sorting order of the requested information.
Default: ASCENDING
$sel:entryId:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_entryId
- The ID of the entry.
$sel:aggregateTypes:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_aggregateTypes
- The data aggregating function.
$sel:resolution:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_resolution
- The time interval over which to aggregate data.
$sel:startDate:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_startDate
- The exclusive start of the range from which to query historical data,
expressed in seconds in Unix epoch time.
$sel:endDate:BatchGetAssetPropertyAggregatesEntry'
, batchGetAssetPropertyAggregatesEntry_endDate
- The inclusive end of the range from which to query historical data,
expressed in seconds in Unix epoch time.
batchGetAssetPropertyAggregatesEntry_assetId :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe Text) Source #
The ID of the asset in which the asset property was created.
batchGetAssetPropertyAggregatesEntry_propertyAlias :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe Text) Source #
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.
batchGetAssetPropertyAggregatesEntry_propertyId :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe Text) Source #
The ID of the asset property.
batchGetAssetPropertyAggregatesEntry_qualities :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe (NonEmpty Quality)) Source #
The quality by which to filter asset data.
batchGetAssetPropertyAggregatesEntry_timeOrdering :: Lens' BatchGetAssetPropertyAggregatesEntry (Maybe TimeOrdering) Source #
The chronological sorting order of the requested information.
Default: ASCENDING
batchGetAssetPropertyAggregatesEntry_entryId :: Lens' BatchGetAssetPropertyAggregatesEntry Text Source #
The ID of the entry.
batchGetAssetPropertyAggregatesEntry_aggregateTypes :: Lens' BatchGetAssetPropertyAggregatesEntry (NonEmpty AggregateType) Source #
The data aggregating function.
batchGetAssetPropertyAggregatesEntry_resolution :: Lens' BatchGetAssetPropertyAggregatesEntry Text Source #
The time interval over which to aggregate data.
batchGetAssetPropertyAggregatesEntry_startDate :: Lens' BatchGetAssetPropertyAggregatesEntry UTCTime Source #
The exclusive start of the range from which to query historical data, expressed in seconds in Unix epoch time.
batchGetAssetPropertyAggregatesEntry_endDate :: Lens' BatchGetAssetPropertyAggregatesEntry UTCTime Source #
The inclusive end of the range from which to query historical data, expressed in seconds in Unix epoch time.