Class: Aws::IoTSiteWise::Types::VariableValue

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb

Overview

Note:

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

Instance Attribute Details

#hierarchy_idString

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 AWS IoT SiteWise User Guide.

Returns:

  • (String)


5423
5424
5425
5426
5427
5428
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5423

class VariableValue < Struct.new(
  :property_id,
  :hierarchy_id)
  SENSITIVE = []
  include Aws::Structure
end

#property_idString

The ID of the property to use as the variable. You can use the property name if it's from the same asset model.

Returns:

  • (String)


5423
5424
5425
5426
5427
5428
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5423

class VariableValue < Struct.new(
  :property_id,
  :hierarchy_id)
  SENSITIVE = []
  include Aws::Structure
end