Class: Aws::IoTSiteWise::Types::VariableValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::VariableValue
- Defined in:
- gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb
Overview
When making an API call, you may pass VariableValue data as a hash:
{
property_id: "Macro", # required
hierarchy_id: "Macro",
}
Identifies a property value used in an expression.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#hierarchy_id ⇒ String
The ID of the hierarchy to query for the property ID.
-
#property_id ⇒ String
The ID of the property to use as the variable.
Instance Attribute Details
#hierarchy_id ⇒ String
The ID of the hierarchy to query for the property ID. You can use the hierarchy's name instead of the hierarchy's ID.
You use a hierarchy ID instead of a model ID because you can have
several hierarchies using the same model and therefore the same
propertyId
. For example, you might have separately grouped assets
that come from the same asset model. For more information, see
Asset hierarchies in the IoT SiteWise User Guide.
8041 8042 8043 8044 8045 8046 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8041 class VariableValue < Struct.new( :property_id, :hierarchy_id) SENSITIVE = [] include Aws::Structure end |
#property_id ⇒ String
The ID of the property to use as the variable. You can use the
property name
if it's from the same asset model.
8041 8042 8043 8044 8045 8046 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 8041 class VariableValue < Struct.new( :property_id, :hierarchy_id) SENSITIVE = [] include Aws::Structure end |