libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.IoTSiteWise.Types.Transform

Description

 
Synopsis

Documentation

data Transform Source #

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.

See: newTransform smart constructor.

Constructors

Transform' 

Fields

  • processingConfig :: Maybe 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.

  • expression :: Text

    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.

  • variables :: [ExpressionVariable]

    The list of variables used in the expression.

Instances

Instances details
Eq Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

Read Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

Show Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

Generic Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

Associated Types

type Rep Transform :: Type -> Type #

NFData Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

Methods

rnf :: Transform -> () #

Hashable Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

ToJSON Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

FromJSON Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

type Rep Transform Source # 
Instance details

Defined in Amazonka.IoTSiteWise.Types.Transform

type Rep Transform = D1 ('MetaData "Transform" "Amazonka.IoTSiteWise.Types.Transform" "libZSservicesZSamazonka-iotsitewiseZSamazonka-iotsitewise" 'False) (C1 ('MetaCons "Transform'" 'PrefixI 'True) (S1 ('MetaSel ('Just "processingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TransformProcessingConfig)) :*: (S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "variables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ExpressionVariable]))))

newTransform Source #

Create a value of Transform with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:processingConfig:Transform', transform_processingConfig - 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.

$sel:expression:Transform', transform_expression - 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.

$sel:variables:Transform', transform_variables - The list of variables used in the expression.

transform_processingConfig :: Lens' Transform (Maybe TransformProcessingConfig) Source #

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.

transform_expression :: Lens' Transform Text Source #

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.

transform_variables :: Lens' Transform [ExpressionVariable] Source #

The list of variables used in the expression.