Class: Aws::IoTSiteWise::Types::AssetModelProperty
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::AssetModelProperty
- Defined in:
- gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb
Overview
Note:
When making an API call, you may pass AssetModelProperty data as a hash:
{
id: "ID",
name: "Name", # required
data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN, STRUCT
data_type_spec: "Name",
unit: "PropertyUnit",
type: { # required
attribute: {
default_value: "DefaultValue",
},
measurement: {
},
transform: {
expression: "Expression", # required
variables: [ # required
{
name: "VariableName", # required
value: { # required
property_id: "Macro", # required
hierarchy_id: "Macro",
},
},
],
},
metric: {
expression: "Expression", # required
variables: [ # required
{
name: "VariableName", # required
value: { # required
property_id: "Macro", # required
hierarchy_id: "Macro",
},
},
],
window: { # required
tumbling: {
interval: "Interval", # required
},
},
},
},
}
Contains information about an asset model property.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#data_type ⇒ String
The data type of the asset model property.
-
#data_type_spec ⇒ String
The data type of the structure for this property.
-
#id ⇒ String
The ID of the asset model property.
-
#name ⇒ String
The name of the asset model property.
-
#type ⇒ Types::PropertyType
The property type (see
PropertyType
). -
#unit ⇒ String
The unit of the asset model property, such as
Newtons
orRPM
.
Instance Attribute Details
#data_type ⇒ String
The data type of the asset model property.
523 524 525 526 527 528 529 530 531 532 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 523 class AssetModelProperty < Struct.new( :id, :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#data_type_spec ⇒ String
The data type of the structure for this property. This parameter
exists on properties that have the STRUCT
data type.
523 524 525 526 527 528 529 530 531 532 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 523 class AssetModelProperty < Struct.new( :id, :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#id ⇒ String
The ID of the asset model property.
523 524 525 526 527 528 529 530 531 532 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 523 class AssetModelProperty < Struct.new( :id, :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the asset model property.
523 524 525 526 527 528 529 530 531 532 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 523 class AssetModelProperty < Struct.new( :id, :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#type ⇒ Types::PropertyType
The property type (see PropertyType
).
523 524 525 526 527 528 529 530 531 532 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 523 class AssetModelProperty < Struct.new( :id, :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |
#unit ⇒ String
The unit of the asset model property, such as Newtons
or RPM
.
523 524 525 526 527 528 529 530 531 532 |
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 523 class AssetModelProperty < Struct.new( :id, :name, :data_type, :data_type_spec, :unit, :type) SENSITIVE = [] include Aws::Structure end |