You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Transform as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

    The mathematical expression that defines the transformation function.

#variablesArray<Types::ExpressionVariable>

The list of variables used in the expression.

Returns: