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::Lightsail::GetInstanceMetricData; use Moose; has EndTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'endTime' , required => 1); has InstanceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceName' , required => 1); has MetricName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'metricName' , required => 1); has Period => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'period' , required => 1); has StartTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startTime' , required => 1); has Statistics => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'statistics' , required => 1); has Unit => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'unit' , required => 1); use MooseX::ClassAttribute; class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetInstanceMetricData'); class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lightsail::GetInstanceMetricDataResult'); class_has _result_key => (isa => 'Str', is => 'ro'); 1; ### main pod documentation begin ### =head1 NAME Paws::Lightsail::GetInstanceMetricData - Arguments for method GetInstanceMetricData on L =head1 DESCRIPTION This class represents the parameters used for calling the method GetInstanceMetricData on the L service. Use the attributes of this class as arguments to method GetInstanceMetricData. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetInstanceMetricData. =head1 SYNOPSIS my $lightsail = Paws->service('Lightsail'); my $GetInstanceMetricDataResult = $lightsail->GetInstanceMetricData( EndTime => '1970-01-01T01:00:00', InstanceName => 'MyResourceName', MetricName => 'CPUUtilization', Period => 1, StartTime => '1970-01-01T01:00:00', Statistics => [ 'Minimum', ... # values: Minimum, Maximum, Sum, Average, SampleCount ], Unit => 'Seconds', ); # Results: my $MetricData = $GetInstanceMetricDataResult->MetricData; my $MetricName = $GetInstanceMetricDataResult->MetricName; # 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 end time of the time period. =head2 B InstanceName => Str The name of the instance for which you want to get metrics data. =head2 B MetricName => Str The metric for which you want to return information. Valid instance metric names are listed below, along with the most useful C to include in your request, and the published C value. =over =item * B > - The percentage of CPU performance available for your instance to burst above its baseline. Your instance continuously accrues and consumes burst capacity. Burst capacity stops accruing when your instance's C reaches 100%. For more information, see Viewing instance burst capacity in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity). C: The most useful statistics are C and C. C: The published unit is C. =item * B > - The available amount of time for your instance to burst at 100% CPU utilization. Your instance continuously accrues and consumes burst capacity. Burst capacity time stops accruing when your instance's C metric reaches 100%. Burst capacity time is consumed at the full rate only when your instance operates at 100% CPU utilization. For example, if your instance operates at 50% CPU utilization in the burstable zone for a 5-minute period, then it consumes CPU burst capacity minutes at a 50% rate in that period. Your instance consumed 2 minutes and 30 seconds of CPU burst capacity minutes in the 5-minute period. For more information, see Viewing instance burst capacity in Amazon Lightsail (https://lightsail.aws.amazon.com/ls/docs/en_us/articles/amazon-lightsail-viewing-instance-burst-capacity). C: The most useful statistics are C and C. C: The published unit is C. =item * B > - The percentage of allocated compute units that are currently in use on the instance. This metric identifies the processing power to run the applications on the instance. Tools in your operating system can show a lower percentage than Lightsail when the instance is not allocated a full processor core. C: The most useful statistics are C and C. C: The published unit is C. =item * B > - The number of bytes received on all network interfaces by the instance. This metric identifies the volume of incoming network traffic to the instance. The number reported is the number of bytes received during the period. Because this metric is reported in 5-minute intervals, divide the reported number by 300 to find Bytes/second. C: The most useful statistic is C. C: The published unit is C. =item * B > - The number of bytes sent out on all network interfaces by the instance. This metric identifies the volume of outgoing network traffic from the instance. The number reported is the number of bytes sent during the period. Because this metric is reported in 5-minute intervals, divide the reported number by 300 to find Bytes/second. C: The most useful statistic is C. C: The published unit is C. =item * B > - Reports whether the instance passed or failed both the instance status check and the system status check. This metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) granularity. C: The most useful statistic is C. C: The published unit is C. =item * B > - Reports whether the instance passed or failed the instance status check. This metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) granularity. C: The most useful statistic is C. C: The published unit is C. =item * B > - Reports whether the instance passed or failed the system status check. This metric can be either 0 (passed) or 1 (failed). This metric data is available in 1-minute (60 seconds) granularity. C: The most useful statistic is C. C: The published unit is C. =back Valid values are: C<"CPUUtilization">, C<"NetworkIn">, C<"NetworkOut">, C<"StatusCheckFailed">, C<"StatusCheckFailed_Instance">, C<"StatusCheckFailed_System">, C<"BurstCapacityTime">, C<"BurstCapacityPercentage"> =head2 B Period => Int The granularity, in seconds, of the returned data points. The C, C, and C instance metric data is available in 1-minute (60 seconds) granularity. All other instance metric data is available in 5-minute (300 seconds) granularity. =head2 B StartTime => Str The start time of the time period. =head2 B Statistics => ArrayRef[Str|Undef] The statistic for the metric. The following statistics are available: =over =item * C - The lowest value observed during the specified period. Use this value to determine low volumes of activity for your application. =item * C - The highest value observed during the specified period. Use this value to determine high volumes of activity for your application. =item * C - All values submitted for the matching metric added together. You can use this statistic to determine the total volume of a metric. =item * C - The value of Sum / SampleCount during the specified period. By comparing this statistic with the Minimum and Maximum values, you can determine the full scope of a metric and how close the average use is to the Minimum and Maximum values. This comparison helps you to know when to increase or decrease your resources. =item * C - The count, or number, of data points used for the statistical calculation. =back =head2 B Unit => Str The unit for the metric data request. Valid units depend on the metric data being requested. For the valid units to specify with each available metric, see the C parameter. Valid values are: C<"Seconds">, C<"Microseconds">, C<"Milliseconds">, C<"Bytes">, C<"Kilobytes">, C<"Megabytes">, C<"Gigabytes">, C<"Terabytes">, C<"Bits">, C<"Kilobits">, C<"Megabits">, C<"Gigabits">, C<"Terabits">, C<"Percent">, C<"Count">, C<"Bytes/Second">, C<"Kilobytes/Second">, C<"Megabytes/Second">, C<"Gigabytes/Second">, C<"Terabytes/Second">, C<"Bits/Second">, C<"Kilobits/Second">, C<"Megabits/Second">, C<"Gigabits/Second">, C<"Terabits/Second">, C<"Count/Second">, C<"None"> =head1 SEE ALSO This class forms part of L, documenting arguments for method GetInstanceMetricData in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut