TumblingWindow - AWS IoT SiteWise

TumblingWindow

Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time interval. This window is used in metric and aggregation computations.

Contents

interval

The time interval for the tumbling window. Note that w represents weeks, d represents days, h represents hours, and m represents minutes. AWS IoT SiteWise computes the 1w interval the end of Sunday at midnight each week (UTC), the 1d interval at the end of each day at midnight (UTC), the 1h interval at the end of each hour, and so on.

When AWS IoT SiteWise aggregates data points for metric computations, the start of each interval is exclusive and the end of each interval is inclusive. AWS IoT SiteWise places the computed data point at the end of the interval.

Type: String

Length Constraints: Minimum length of 2. Maximum length of 3.

Pattern: 1w|1d|1h|15m|5m|1m

Required: Yes

See Also

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