blib/lib/Paws/EC2/InstanceStatus.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 12 / 12 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/EC2/InstanceStateChange.pm ↑ Summary blib/lib/Paws/EC2/InstanceStatusDetails.pm »
1 package Paws::EC2::InstanceStatus;
2 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest']);
4 1 has Events => (is => 'ro', isa => 'ArrayRef[Paws::EC2::InstanceStatusEvent]', request_name => 'eventsSet', traits => ['NameInRequest']);
5 1 has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
6 1 has InstanceState => (is => 'ro', isa => 'Paws::EC2::InstanceState', request_name => 'instanceState', traits => ['NameInRequest']);
7 1 has InstanceStatus => (is => 'ro', isa => 'Paws::EC2::InstanceStatusSummary', request_name => 'instanceStatus', traits => ['NameInRequest']);
8 1 has OutpostArn => (is => 'ro', isa => 'Str', request_name => 'outpostArn', traits => ['NameInRequest']);
9 1 has SystemStatus => (is => 'ro', isa => 'Paws::EC2::InstanceStatusSummary', request_name => 'systemStatus', traits => ['NameInRequest']);
10 1 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::EC2::InstanceStatus
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::EC2::InstanceStatus object:
28  
29 $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., SystemStatus => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::InstanceStatus object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->AvailabilityZone
37  
38 =head1 DESCRIPTION
39  
40 This class has no description
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 AvailabilityZone => Str
46  
47 The Availability Zone of the instance.
48  
49  
50 =head2 Events => ArrayRef[L<Paws::EC2::InstanceStatusEvent>]
51  
52 Any scheduled events associated with the instance.
53  
54  
55 =head2 InstanceId => Str
56  
57 The ID of the instance.
58  
59  
60 =head2 InstanceState => L<Paws::EC2::InstanceState>
61  
62 The intended state of the instance. DescribeInstanceStatus requires
63 that an instance be in the C<running> state.
64  
65  
66 =head2 InstanceStatus => L<Paws::EC2::InstanceStatusSummary>
67  
68 Reports impaired functionality that stems from issues internal to the
69 instance, such as impaired reachability.
70  
71  
72 =head2 OutpostArn => Str
73  
74 The Amazon Resource Name (ARN) of the Outpost.
75  
76  
77 =head2 SystemStatus => L<Paws::EC2::InstanceStatusSummary>
78  
79 Reports impaired functionality that stems from issues related to the
80 systems that support an instance, such as hardware failures and network
81 connectivity problems.
82  
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
« blib/lib/Paws/EC2/InstanceStateChange.pm ↑ Summary blib/lib/Paws/EC2/InstanceStatusDetails.pm »