« blib/lib/Paws/ElasticBeanstalk/SourceConfiguration.pm
↑ Summary
blib/lib/Paws/ElasticBeanstalk/SwapEnvironmentCNAMEs.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ElasticBeanstalk::StatusCodes; | ||
| 3 | use Moose; | ||
| 4 | has Status2xx => (is => 'ro', isa => 'Int'); | ||
| 5 | has Status3xx => (is => 'ro', isa => 'Int'); | ||
| 6 | has Status4xx => (is => 'ro', isa => 'Int'); | ||
| 7 | has Status5xx => (is => 'ro', isa => 'Int'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::ElasticBeanstalk::StatusCodes | ||
| 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::StatusCodes object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Status2xx => $value, ..., Status5xx => $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::StatusCodes object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Status2xx | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Represents the percentage of requests over the last 10 seconds that | ||
| 40 | resulted in each type of status code response. For more information, | ||
| 41 | see Status Code Definitions | ||
| 42 | (http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html). | ||
| 43 | |||
| 44 | =head1 ATTRIBUTES | ||
| 45 | |||
| 46 | |||
| 47 | =head2 Status2xx => Int | ||
| 48 | |||
| 49 | The percentage of requests over the last 10 seconds that resulted in a | ||
| 50 | 2xx (200, 201, etc.) status code. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 Status3xx => Int | ||
| 54 | |||
| 55 | The percentage of requests over the last 10 seconds that resulted in a | ||
| 56 | 3xx (300, 301, etc.) status code. | ||
| 57 | |||
| 58 | |||
| 59 | =head2 Status4xx => Int | ||
| 60 | |||
| 61 | The percentage of requests over the last 10 seconds that resulted in a | ||
| 62 | 4xx (400, 401, etc.) status code. | ||
| 63 | |||
| 64 | |||
| 65 | =head2 Status5xx => Int | ||
| 66 | |||
| 67 | The percentage of requests over the last 10 seconds that resulted in a | ||
| 68 | 5xx (500, 501, etc.) status code. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |