AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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",
      },
    },
  ],
  processing_config: {
    compute_location: "EDGE", # required, accepts EDGE, CLOUD
    forwarding_config: {
      state: "DISABLED", # required, accepts DISABLED, ENABLED
    },
  },
}

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 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 IoT SiteWise User Guide.

Returns:

  • (String)


5870
5871
5872
5873
5874
5875
5876
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5870

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

#processing_configTypes::TransformProcessingConfig

The processing configuration for the given transform property. You can configure transforms to be kept at the edge or forwarded to the Amazon Web Services Cloud. You can also configure transforms to be computed at the edge or in the cloud.



5870
5871
5872
5873
5874
5875
5876
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5870

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

#variablesArray<Types::ExpressionVariable>

The list of variables used in the expression.

Returns:



5870
5871
5872
5873
5874
5875
5876
# File 'gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/types.rb', line 5870

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