Class: Aws::IoTSiteWise::Types::Transform

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 Transform data as a hash:

{
  expression: "Expression", # required
  variables: [ # required
    {
      name: "VariableName", # required
      value: { # required
        property_id: "Macro", # required
        hierarchy_id: "Macro",
      },
    },
  ],
}

Contains an asset transform property. A transform is a one-to-one mapping of a property's data points from one form to another. For example, you can use a transform to convert a Celsius data stream to Fahrenheit by applying the transformation expression to each data point of the Celsius stream. A transform can only have a data type of DOUBLE and consume properties with data types of INTEGER or DOUBLE.

For more information, see Transforms in the AWS IoT SiteWise User Guide.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#expressionString

The mathematical expression that defines the transformation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression.

For more information, see Quotas in the AWS IoT SiteWise User Guide.

Returns:

  • (String)


4620
4621
4622
4623
4624
4625
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4620

class Transform < Struct.new(
  :expression,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end

#variablesArray<Types::ExpressionVariable>

The list of variables used in the expression.

Returns:



4620
4621
4622
4623
4624
4625
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 4620

class Transform < Struct.new(
  :expression,
  :variables)
  SENSITIVE = []
  include Aws::Structure
end