| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IoTSiteWise::TumblingWindow; | ||
| 3 | use Moose; | ||
| 4 | has Interval => (is => 'ro', isa => 'Str', request_name => 'interval', traits => ['NameInRequest'], required => 1); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::IoTSiteWise::TumblingWindow | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::IoTSiteWise::TumblingWindow object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { Interval => $value, ..., Interval => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::IoTSiteWise::TumblingWindow object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->Interval | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Contains a tumbling window, which is a repeating fixed-sized, | ||
| 37 | non-overlapping, and contiguous time interval. This window is used in | ||
| 38 | metric and aggregation computations. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 B<REQUIRED> Interval => Str | ||
| 44 | |||
| 45 | The time interval for the tumbling window. Note that C<w> represents | ||
| 46 | weeks, C<d> represents days, C<h> represents hours, and C<m> represents | ||
| 47 | minutes. AWS IoT SiteWise computes the C<1w> interval the end of Sunday | ||
| 48 | at midnight each week (UTC), the C<1d> interval at the end of each day | ||
| 49 | at midnight (UTC), the C<1h> interval at the end of each hour, and so | ||
| 50 | on. | ||
| 51 | |||
| 52 | When AWS IoT SiteWise aggregates data points for metric computations, | ||
| 53 | the start of each interval is exclusive and the end of each interval is | ||
| 54 | inclusive. AWS IoT SiteWise places the computed data point at the end | ||
| 55 | of the interval. | ||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head1 SEE ALSO | ||
| 60 | |||
| 61 | This class forms part of L<Paws>, describing an object used in L<Paws::IoTSiteWise> | ||
| 62 | |||
| 63 | =head1 BUGS and CONTRIBUTIONS | ||
| 64 | |||
| 65 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 66 | |||
| 67 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 68 | |||
| 69 | =cut | ||
| 70 |