MathActivity - Amazon IoT Analytics
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

MathActivity

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

Contents

attribute

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

math

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Required: Yes

name

The name of the math activity.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: Yes

next

The next activity in the pipeline.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: