You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTSiteWise::Types::AssetModelProperty
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::AssetModelProperty
- Defined in:
- (unknown)
Overview
Note:
When passing AssetModelProperty as input to an Aws::Client method, you can use a vanilla Hash:
{
id: "ID",
name: "Name", # required
data_type: "STRING", # required, accepts STRING, INTEGER, DOUBLE, BOOLEAN
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.
Instance Attribute Summary collapse
-
#data_type ⇒ String
The data type of the asset model 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.
Possible values:
- STRING
- INTEGER
- DOUBLE
- BOOLEAN
#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
or RPM
.