amazonka-iot-analytics-2.0: Amazon IoT Analytics SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTAnalytics.Types.MathActivity

Description

 
Synopsis

Documentation

data MathActivity Source #

An activity that computes an arithmetic expression using the message's attributes.

See: newMathActivity smart constructor.

Constructors

MathActivity' 

Fields

  • next :: Maybe Text

    The next activity in the pipeline.

  • name :: Text

    The name of the math activity.

  • attribute :: Text

    The name of the attribute that contains the result of the math operation.

  • math :: Text

    An expression that uses one or more existing attributes and must return an integer value.

Instances

Instances details
FromJSON MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

ToJSON MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

Generic MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

Associated Types

type Rep MathActivity :: Type -> Type #

Read MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

Show MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

NFData MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

Methods

rnf :: MathActivity -> () #

Eq MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

Hashable MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

type Rep MathActivity Source # 
Instance details

Defined in Amazonka.IoTAnalytics.Types.MathActivity

type Rep MathActivity = D1 ('MetaData "MathActivity" "Amazonka.IoTAnalytics.Types.MathActivity" "amazonka-iot-analytics-2.0-2pxFb0PbSzA9ccOL4CofY4" 'False) (C1 ('MetaCons "MathActivity'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "next") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "math") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMathActivity Source #

Create a value of MathActivity 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:next:MathActivity', mathActivity_next - The next activity in the pipeline.

$sel:name:MathActivity', mathActivity_name - The name of the math activity.

$sel:attribute:MathActivity', mathActivity_attribute - The name of the attribute that contains the result of the math operation.

$sel:math:MathActivity', mathActivity_math - An expression that uses one or more existing attributes and must return an integer value.

mathActivity_next :: Lens' MathActivity (Maybe Text) Source #

The next activity in the pipeline.

mathActivity_name :: Lens' MathActivity Text Source #

The name of the math activity.

mathActivity_attribute :: Lens' MathActivity Text Source #

The name of the attribute that contains the result of the math operation.

mathActivity_math :: Lens' MathActivity Text Source #

An expression that uses one or more existing attributes and must return an integer value.