Class: Aws::IoTSiteWise::Types::PropertyType

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 PropertyType data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#attributeTypes::Attribute

Specifies an asset attribute property. An attribute generally contains static information, such as the serial number of an IIoT wind turbine.

Returns:



4291
4292
4293
4294
4295
4296
4297
4298
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4291

class PropertyType < Struct.new(
  :attribute,
  :measurement,
  :transform,
  :metric)
  SENSITIVE = []
  include Aws::Structure
end

#measurementTypes::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.

Returns:

  • (Types::Measurement)


4291
4292
4293
4294
4295
4296
4297
4298
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4291

class PropertyType < Struct.new(
  :attribute,
  :measurement,
  :transform,
  :metric)
  SENSITIVE = []
  include Aws::Structure
end

#metricTypes::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.

Returns:



4291
4292
4293
4294
4295
4296
4297
4298
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4291

class PropertyType < Struct.new(
  :attribute,
  :measurement,
  :transform,
  :metric)
  SENSITIVE = []
  include Aws::Structure
end

#transformTypes::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.

Returns:



4291
4292
4293
4294
4295
4296
4297
4298
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4291

class PropertyType < Struct.new(
  :attribute,
  :measurement,
  :transform,
  :metric)
  SENSITIVE = []
  include Aws::Structure
end