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
- Struct
- Aws::IoTSiteWise::Types::TumblingWindow
- Defined in:
- (unknown)
Overview
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
-
#interval ⇒ String
The time interval for the tumbling window.
Instance Attribute Details
#interval ⇒ String
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.