You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoTSiteWise::Types::TumblingWindow

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TumblingWindow as input to an Aws::Client method, you can use a vanilla Hash:

{
  interval: "Interval", # required
}

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.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#intervalString

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.

Returns:

  • (String)

    The time interval for the tumbling window.