Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AssetPropertyValue = AssetPropertyValue' {}
- newAssetPropertyValue :: AssetPropertyValue
- assetPropertyValue_value :: Lens' AssetPropertyValue (Maybe AssetPropertyVariant)
- assetPropertyValue_quality :: Lens' AssetPropertyValue (Maybe Text)
- assetPropertyValue_timestamp :: Lens' AssetPropertyValue (Maybe AssetPropertyTimestamp)
Documentation
data AssetPropertyValue Source #
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
You must use expressions for all parameters in AssetPropertyValue
. The
expressions accept literals, operators, functions, references, and
substitution templates.
Examples
- For literal values, the expressions must contain single quotes. For
example, the value for the
quality
parameter can be'GOOD'
. - For references, you must specify either variables or input values.
For example, the value for the
quality
parameter can be$input.TemperatureInput.sensorData.quality
.
For more information, see Expressions in the AWS IoT Events Developer Guide.
See: newAssetPropertyValue
smart constructor.
AssetPropertyValue' | |
|
Instances
newAssetPropertyValue :: AssetPropertyValue Source #
Create a value of AssetPropertyValue
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:value:AssetPropertyValue'
, assetPropertyValue_value
- The value to send to an asset property.
$sel:quality:AssetPropertyValue'
, assetPropertyValue_quality
- The quality of the asset property value. The value must be 'GOOD'
,
'BAD'
, or 'UNCERTAIN'
.
$sel:timestamp:AssetPropertyValue'
, assetPropertyValue_timestamp
- The timestamp associated with the asset property value. The default is
the current event time.
assetPropertyValue_value :: Lens' AssetPropertyValue (Maybe AssetPropertyVariant) Source #
The value to send to an asset property.
assetPropertyValue_quality :: Lens' AssetPropertyValue (Maybe Text) Source #
The quality of the asset property value. The value must be 'GOOD'
,
'BAD'
, or 'UNCERTAIN'
.
assetPropertyValue_timestamp :: Lens' AssetPropertyValue (Maybe AssetPropertyTimestamp) Source #
The timestamp associated with the asset property value. The default is the current event time.