AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Returns:

  • (String)


6798
6799
6800
6801
6802
6803
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6798

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)


6798
6799
6800
6801
6802
6803
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 6798

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