Class: Aws::IoTEvents::Types::AssetPropertyValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::AssetPropertyValue
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-iotevents/types.rb
Overview
A structure that contains value information. For more information, see
- AssetPropertyValue][1
-
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*.
[1]: docs.aws.amazon.com/iot-sitewise/latest/APIReference/API_AssetPropertyValue.html [2]: docs.aws.amazon.com/iotevents/latest/developerguide/iotevents-expressions.html
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#quality ⇒ String
The quality of the asset property value.
-
#timestamp ⇒ Types::AssetPropertyTimestamp
The timestamp associated with the asset property value.
-
#value ⇒ Types::AssetPropertyVariant
The value to send to an asset property.
Instance Attribute Details
#quality ⇒ String
The quality of the asset property value. The value must be ‘’GOOD’‘, `’BAD’‘, or `’UNCERTAIN’‘.
663 664 665 666 667 668 669 |
# File 'lib/aws-sdk-iotevents/types.rb', line 663 class AssetPropertyValue < Struct.new( :value, :timestamp, :quality) SENSITIVE = [] include Aws::Structure end |
#timestamp ⇒ Types::AssetPropertyTimestamp
The timestamp associated with the asset property value. The default is the current event time.
663 664 665 666 667 668 669 |
# File 'lib/aws-sdk-iotevents/types.rb', line 663 class AssetPropertyValue < Struct.new( :value, :timestamp, :quality) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Types::AssetPropertyVariant
The value to send to an asset property.
663 664 665 666 667 668 669 |
# File 'lib/aws-sdk-iotevents/types.rb', line 663 class AssetPropertyValue < Struct.new( :value, :timestamp, :quality) SENSITIVE = [] include Aws::Structure end |