« blib/lib/Paws/ElasticBeanstalk/AbortEnvironmentUpdate.pm
↑ Summary
blib/lib/Paws/ElasticBeanstalk/ApplicationResourceLifecycleDescriptionMessage.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ElasticBeanstalk::ApplicationMetrics; | ||
| 3 | use Moose; | ||
| 4 | has Duration => (is => 'ro', isa => 'Int'); | ||
| 5 | has Latency => (is => 'ro', isa => 'Paws::ElasticBeanstalk::Latency'); | ||
| 6 | has RequestCount => (is => 'ro', isa => 'Int'); | ||
| 7 | has StatusCodes => (is => 'ro', isa => 'Paws::ElasticBeanstalk::StatusCodes'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::ElasticBeanstalk::ApplicationMetrics | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::ElasticBeanstalk::ApplicationMetrics object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Duration => $value, ..., StatusCodes => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticBeanstalk::ApplicationMetrics object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Duration | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Application request metrics for an AWS Elastic Beanstalk environment. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 Duration => Int | ||
| 45 | |||
| 46 | The amount of time that the metrics cover (usually 10 seconds). For | ||
| 47 | example, you might have 5 requests (C<request_count>) within the most | ||
| 48 | recent time slice of 10 seconds (C<duration>). | ||
| 49 | |||
| 50 | |||
| 51 | =head2 Latency => L<Paws::ElasticBeanstalk::Latency> | ||
| 52 | |||
| 53 | Represents the average latency for the slowest X percent of requests | ||
| 54 | over the last 10 seconds. Latencies are in seconds with one millisecond | ||
| 55 | resolution. | ||
| 56 | |||
| 57 | |||
| 58 | =head2 RequestCount => Int | ||
| 59 | |||
| 60 | Average number of requests handled by the web server per second over | ||
| 61 | the last 10 seconds. | ||
| 62 | |||
| 63 | |||
| 64 | =head2 StatusCodes => L<Paws::ElasticBeanstalk::StatusCodes> | ||
| 65 | |||
| 66 | Represents the percentage of requests over the last 10 seconds that | ||
| 67 | resulted in each type of status code response. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | =head1 SEE ALSO | ||
| 72 | |||
| 73 | This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk> | ||
| 74 | |||
| 75 | =head1 BUGS and CONTRIBUTIONS | ||
| 76 | |||
| 77 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 78 | |||
| 79 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 80 | |||
| 81 | =cut | ||
| 82 |