File Coverage

blib/lib/Paws/ElasticBeanstalk/SingleInstanceHealth.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::ElasticBeanstalk::SingleInstanceHealth;
2 1     1   535 use Moose;
  1         4  
  1         8  
3             has ApplicationMetrics => (is => 'ro', isa => 'Paws::ElasticBeanstalk::ApplicationMetrics');
4             has AvailabilityZone => (is => 'ro', isa => 'Str');
5             has Causes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6             has Color => (is => 'ro', isa => 'Str');
7             has Deployment => (is => 'ro', isa => 'Paws::ElasticBeanstalk::Deployment');
8             has HealthStatus => (is => 'ro', isa => 'Str');
9             has InstanceId => (is => 'ro', isa => 'Str');
10             has InstanceType => (is => 'ro', isa => 'Str');
11             has LaunchedAt => (is => 'ro', isa => 'Str');
12             has System => (is => 'ro', isa => 'Paws::ElasticBeanstalk::SystemStatus');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::ElasticBeanstalk::SingleInstanceHealth
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::ElasticBeanstalk::SingleInstanceHealth object:
31              
32             $service_obj->Method(Att1 => { ApplicationMetrics => $value, ..., System => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::ElasticBeanstalk::SingleInstanceHealth object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->ApplicationMetrics
40              
41             =head1 DESCRIPTION
42              
43             Detailed health information about an Amazon EC2 instance in your
44             Elastic Beanstalk environment.
45              
46             =head1 ATTRIBUTES
47              
48              
49             =head2 ApplicationMetrics => L<Paws::ElasticBeanstalk::ApplicationMetrics>
50              
51             Request metrics from your application.
52              
53              
54             =head2 AvailabilityZone => Str
55              
56             The availability zone in which the instance runs.
57              
58              
59             =head2 Causes => ArrayRef[Str|Undef]
60              
61             Represents the causes, which provide more information about the current
62             health status.
63              
64              
65             =head2 Color => Str
66              
67             Represents the color indicator that gives you information about the
68             health of the EC2 instance. For more information, see Health Colors and
69             Statuses.
70              
71              
72             =head2 Deployment => L<Paws::ElasticBeanstalk::Deployment>
73              
74             Information about the most recent deployment to an instance.
75              
76              
77             =head2 HealthStatus => Str
78              
79             Returns the health status of the specified instance. For more
80             information, see Health Colors and Statuses.
81              
82              
83             =head2 InstanceId => Str
84              
85             The ID of the Amazon EC2 instance.
86              
87              
88             =head2 InstanceType => Str
89              
90             The instance's type.
91              
92              
93             =head2 LaunchedAt => Str
94              
95             The time at which the EC2 instance was launched.
96              
97              
98             =head2 System => L<Paws::ElasticBeanstalk::SystemStatus>
99              
100             Operating system metrics from the instance.
101              
102              
103              
104             =head1 SEE ALSO
105              
106             This class forms part of L<Paws>, describing an object used in L<Paws::ElasticBeanstalk>
107              
108             =head1 BUGS and CONTRIBUTIONS
109              
110             The source code is located here: https://github.com/pplu/aws-sdk-perl
111              
112             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
113              
114             =cut
115