You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTEvents::Types::AssetPropertyValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTEvents::Types::AssetPropertyValue
- Defined in:
- (unknown)
Overview
When passing AssetPropertyValue as input to an Aws::Client method, you can use a vanilla Hash:
{
value: { # required
string_value: "AssetPropertyStringValue",
integer_value: "AssetPropertyIntegerValue",
double_value: "AssetPropertyDoubleValue",
boolean_value: "AssetPropertyBooleanValue",
},
timestamp: {
time_in_seconds: "AssetPropertyTimeInSeconds", # required
offset_in_nanos: "AssetPropertyOffsetInNanos",
},
quality: "AssetPropertyQuality",
}
A structure that contains value information. For more information, see AssetPropertyValue in the AWS IoT SiteWise API Reference.
For parameters that are string data type, you can specify the following options:
-
Use a string. For example, the
quality
value can be'GOOD'
. -
Use an expression. For example, the
quality
value can be$input.TemperatureInput.sensorData.quality
.For more information, see Expressions in the AWS IoT Events Developer Guide.
Returned by:
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
. You can also specify an expression.
#timestamp ⇒ Types::AssetPropertyTimestamp
The timestamp associated with the asset property value. The default is the current event time.
#value ⇒ Types::AssetPropertyVariant
The value to send to an asset property.