blib/lib/Paws/ElasticBeanstalk/SingleInstanceHealth.pm untested

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