File Coverage

blib/lib/Paws/EC2/ReportInstanceStatus.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              
2             package Paws::EC2::ReportInstanceStatus;
3 1     1   346 use Moose;
  1         2  
  1         7  
4             has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
5             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6             has EndTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'endTime' );
7             has Instances => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'instanceId' , required => 1);
8             has ReasonCodes => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'reasonCode' , required => 1);
9             has StartTime => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startTime' );
10             has Status => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'status' , required => 1);
11              
12 1     1   5519 use MooseX::ClassAttribute;
  1         3  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ReportInstanceStatus');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::EC2::ReportInstanceStatus - Arguments for method ReportInstanceStatus on Paws::EC2
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method ReportInstanceStatus on the
28             Amazon Elastic Compute Cloud service. Use the attributes of this class
29             as arguments to method ReportInstanceStatus.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ReportInstanceStatus.
32              
33             As an example:
34              
35             $service_obj->ReportInstanceStatus(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Description => Str
43              
44             Descriptive text about the health state of your instance.
45              
46              
47              
48             =head2 DryRun => Bool
49              
50             Checks whether you have the required permissions for the action,
51             without actually making the request, and provides an error response. If
52             you have the required permissions, the error response is
53             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
54              
55              
56              
57             =head2 EndTime => Str
58              
59             The time at which the reported instance health state ended.
60              
61              
62              
63             =head2 B<REQUIRED> Instances => ArrayRef[Str|Undef]
64              
65             One or more instances.
66              
67              
68              
69             =head2 B<REQUIRED> ReasonCodes => ArrayRef[Str|Undef]
70              
71             One or more reason codes that describe the health state of your
72             instance.
73              
74             =over
75              
76             =item *
77              
78             C<instance-stuck-in-state>: My instance is stuck in a state.
79              
80             =item *
81              
82             C<unresponsive>: My instance is unresponsive.
83              
84             =item *
85              
86             C<not-accepting-credentials>: My instance is not accepting my
87             credentials.
88              
89             =item *
90              
91             C<password-not-available>: A password is not available for my instance.
92              
93             =item *
94              
95             C<performance-network>: My instance is experiencing performance
96             problems that I believe are network related.
97              
98             =item *
99              
100             C<performance-instance-store>: My instance is experiencing performance
101             problems that I believe are related to the instance stores.
102              
103             =item *
104              
105             C<performance-ebs-volume>: My instance is experiencing performance
106             problems that I believe are related to an EBS volume.
107              
108             =item *
109              
110             C<performance-other>: My instance is experiencing performance problems.
111              
112             =item *
113              
114             C<other>: [explain using the description parameter]
115              
116             =back
117              
118              
119              
120              
121             =head2 StartTime => Str
122              
123             The time at which the reported instance health state began.
124              
125              
126              
127             =head2 B<REQUIRED> Status => Str
128              
129             The status of all instances listed.
130              
131             Valid values are: C<"ok">, C<"impaired">
132              
133              
134             =head1 SEE ALSO
135              
136             This class forms part of L<Paws>, documenting arguments for method ReportInstanceStatus in L<Paws::EC2>
137              
138             =head1 BUGS and CONTRIBUTIONS
139              
140             The source code is located here: https://github.com/pplu/aws-sdk-perl
141              
142             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
143              
144             =cut
145