PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::CloudWatch::GetMetricData; use Moose; has EndTime => (is => 'ro', isa => 'Str', required => 1); has LabelOptions => (is => 'ro', isa => 'Paws::CloudWatch::LabelOptions'); has MaxDatapoints => (is => 'ro', isa => 'Int'); has MetricDataQueries => (is => 'ro', isa => 'ArrayRef[Paws::CloudWatch::MetricDataQuery]', required => 1); has NextToken => (is => 'ro', isa => 'Str'); has ScanBy => (is => 'ro', isa => 'Str'); has StartTime => (is => 'ro', isa => 'Str', required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetMetricData'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudWatch::GetMetricDataOutput'); class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetMetricDataResult'); 1; ### main pod documentation begin ### =head1 NAME Paws::CloudWatch::GetMetricData - Arguments for method GetMetricData on L =head1 DESCRIPTION This class represents the parameters used for calling the method GetMetricData on the L service. Use the attributes of this class as arguments to method GetMetricData. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetMetricData. =head1 SYNOPSIS my $monitoring = Paws->service('CloudWatch'); my $GetMetricDataOutput = $monitoring->GetMetricData( EndTime => '1970-01-01T01:00:00', MetricDataQueries => [ { Id => 'MyMetricId', # min: 1, max: 255 Expression => 'MyMetricExpression', # min: 1, max: 1024; OPTIONAL Label => 'MyMetricLabel', # OPTIONAL MetricStat => { Metric => { Dimensions => [ { Name => 'MyDimensionName', # min: 1, max: 255 Value => 'MyDimensionValue', # min: 1, max: 255 }, ... ], # max: 10; OPTIONAL MetricName => 'MyMetricName', # min: 1, max: 255; OPTIONAL Namespace => 'MyNamespace', # min: 1, max: 255; OPTIONAL }, Period => 1, # min: 1 Stat => 'MyStat', Unit => 'Seconds' , # values: Seconds, Microseconds, Milliseconds, Bytes, Kilobytes, Megabytes, Gigabytes, Terabytes, Bits, Kilobits, Megabits, Gigabits, Terabits, Percent, Count, Bytes/Second, Kilobytes/Second, Megabytes/Second, Gigabytes/Second, Terabytes/Second, Bits/Second, Kilobits/Second, Megabits/Second, Gigabits/Second, Terabits/Second, Count/Second, None; OPTIONAL }, # OPTIONAL Period => 1, # min: 1 ReturnData => 1, # OPTIONAL }, ... ], StartTime => '1970-01-01T01:00:00', LabelOptions => { Timezone => 'MyGetMetricDataLabelTimezone', # OPTIONAL }, # OPTIONAL MaxDatapoints => 1, # OPTIONAL NextToken => 'MyNextToken', # OPTIONAL ScanBy => 'TimestampDescending', # OPTIONAL ); # Results: my $Messages = $GetMetricDataOutput->Messages; my $MetricDataResults = $GetMetricDataOutput->MetricDataResults; my $NextToken = $GetMetricDataOutput->NextToken; # Returns a L object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see L =head1 ATTRIBUTES =head2 B EndTime => Str The time stamp indicating the latest data to be returned. The value specified is exclusive; results include data points up to the specified time stamp. For better performance, specify C and C values that align with the value of the metric's C and sync up with the beginning and end of an hour. For example, if the C of a metric is 5 minutes, specifying 12:05 or 12:30 as C can get a faster response from CloudWatch than setting 12:07 or 12:29 as the C. =head2 LabelOptions => L This structure includes the C parameter, which you can use to specify your time zone so that the labels of returned data display the correct time for your time zone. =head2 MaxDatapoints => Int The maximum number of data points the request should return before paginating. If you omit this, the default of 100,800 is used. =head2 B MetricDataQueries => ArrayRef[L] The metric queries to be returned. A single C call can include as many as 500 C structures. Each of these structures can specify either a metric to retrieve, or a math expression to perform on retrieved data. =head2 NextToken => Str Include this value, if it was returned by the previous C operation, to get the next set of data points. =head2 ScanBy => Str The order in which data points should be returned. C returns the newest data first and paginates when the C limit is reached. C returns the oldest data first and paginates when the C limit is reached. Valid values are: C<"TimestampDescending">, C<"TimestampAscending"> =head2 B StartTime => Str The time stamp indicating the earliest data to be returned. The value specified is inclusive; results include data points with the specified time stamp. CloudWatch rounds the specified time stamp as follows: =over =item * Start time less than 15 days ago - Round down to the nearest whole minute. For example, 12:32:34 is rounded down to 12:32:00. =item * Start time between 15 and 63 days ago - Round down to the nearest 5-minute clock interval. For example, 12:32:34 is rounded down to 12:30:00. =item * Start time greater than 63 days ago - Round down to the nearest 1-hour clock interval. For example, 12:32:34 is rounded down to 12:00:00. =back If you set C to 5, 10, or 30, the start time of your request is rounded down to the nearest time that corresponds to even 5-, 10-, or 30-second divisions of a minute. For example, if you make a query at (HH:mm:ss) 01:05:23 for the previous 10-second period, the start time of your request is rounded down and you receive data from 01:05:10 to 01:05:20. If you make a query at 15:07:17 for the previous 5 minutes of data, using a period of 5 seconds, you receive data timestamped between 15:02:15 and 15:07:15. For better performance, specify C and C values that align with the value of the metric's C and sync up with the beginning and end of an hour. For example, if the C of a metric is 5 minutes, specifying 12:05 or 12:30 as C can get a faster response from CloudWatch than setting 12:07 or 12:29 as the C. =head1 SEE ALSO This class forms part of L, documenting arguments for method GetMetricData in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut