File Coverage

blib/lib/Paws/EC2/InstanceStatus.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::InstanceStatus;
2 1     1   677 use Moose;
  1     1   3  
  1         9  
  1         680  
  1         3  
  1         8  
3             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4             has Events => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceStatusEvent]', request_name => 'eventsSet', traits => ['NameInRequest']);
5             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
6             has InstanceState => (is => 'ro', isa => 'Paws::EC2::InstanceState', request_name => 'instanceState', traits => ['NameInRequest']);
7             has InstanceStatus => (is => 'ro', isa => 'Paws::EC2::InstanceStatusSummary', request_name => 'instanceStatus', traits => ['NameInRequest']);
8             has SystemStatus => (is => 'ro', isa => 'Paws::EC2::InstanceStatusSummary', request_name => 'systemStatus', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::InstanceStatus
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::EC2::InstanceStatus object:
27              
28             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., SystemStatus => $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::EC2::InstanceStatus object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->AvailabilityZone
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AvailabilityZone => Str
45              
46             The Availability Zone of the instance.
47              
48              
49             =head2 Events => ArrayRef[L<Paws::EC2::InstanceStatusEvent>]
50              
51             Any scheduled events associated with the instance.
52              
53              
54             =head2 InstanceId => Str
55              
56             The ID of the instance.
57              
58              
59             =head2 InstanceState => L<Paws::EC2::InstanceState>
60              
61             The intended state of the instance. DescribeInstanceStatus requires
62             that an instance be in the C<running> state.
63              
64              
65             =head2 InstanceStatus => L<Paws::EC2::InstanceStatusSummary>
66              
67             Reports impaired functionality that stems from issues internal to the
68             instance, such as impaired reachability.
69              
70              
71             =head2 SystemStatus => L<Paws::EC2::InstanceStatusSummary>
72              
73             Reports impaired functionality that stems from issues related to the
74             systems that support an instance, such as hardware failures and network
75             connectivity problems.
76              
77              
78              
79             =head1 SEE ALSO
80              
81             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
82              
83             =head1 BUGS and CONTRIBUTIONS
84              
85             The source code is located here: https://github.com/pplu/aws-sdk-perl
86              
87             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
88              
89             =cut