You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoTSiteWise::Types::PropertyType
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoTSiteWise::Types::PropertyType
- Defined in:
- (unknown)
Overview
When passing PropertyType as input to an Aws::Client method, you can use a vanilla Hash:
{
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 a property type, which can be one of attribute
, measurement
, metric
, or transform
.
Returned by:
Instance Attribute Summary collapse
-
#attribute ⇒ Types::Attribute
Specifies an asset attribute property.
-
#measurement ⇒ Types::Measurement
Specifies an asset measurement property.
-
#metric ⇒ Types::Metric
Specifies an asset metric property.
-
#transform ⇒ Types::Transform
Specifies an asset transform property.
Instance Attribute Details
#attribute ⇒ Types::Attribute
Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.
#measurement ⇒ Types::Measurement
Specifies an asset measurement property. A measurement represents a device\'s raw sensor data stream, such as timestamped temperature values or timestamped power values.
#metric ⇒ Types::Metric
Specifies an asset metric property. A metric contains a mathematical expression that uses aggregate functions to process all input data points over a time interval and output a single data point, such as to calculate the average hourly temperature.
#transform ⇒ Types::Transform
Specifies an asset transform property. A transform contains a mathematical expression that maps a property\'s data points from one form to another, such as a unit conversion from Celsius to Fahrenheit.