Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
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.
Transform' | |
|
Instances
Eq Transform Source # | |
Read Transform Source # | |
Show Transform Source # | |
Generic Transform Source # | |
NFData Transform Source # | |
Defined in Amazonka.IoTSiteWise.Types.Transform | |
Hashable Transform Source # | |
Defined in Amazonka.IoTSiteWise.Types.Transform | |
ToJSON Transform Source # | |
Defined in Amazonka.IoTSiteWise.Types.Transform | |
FromJSON Transform Source # | |
type Rep Transform Source # | |
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])))) |
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.