blib/lib/Paws/EC2/ReplaceRootVolumeTask.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::ReplaceRootVolumeTask;
2 use Moose;
3 has CompleteTime => (is => 'ro', isa => 'Str', request_name => 'completeTime', traits => ['NameInRequest']);
4 has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
5 has ReplaceRootVolumeTaskId => (is => 'ro', isa => 'Str', request_name => 'replaceRootVolumeTaskId', traits => ['NameInRequest']);
6 has StartTime => (is => 'ro', isa => 'Str', request_name => 'startTime', traits => ['NameInRequest']);
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
8 has TaskState => (is => 'ro', isa => 'Str', request_name => 'taskState', traits => ['NameInRequest']);
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::EC2::ReplaceRootVolumeTask
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::ReplaceRootVolumeTask object:
27  
28 $service_obj->Method(Att1 => { CompleteTime => $value, ..., TaskState => $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::ReplaceRootVolumeTask object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CompleteTime
36  
37 =head1 DESCRIPTION
38  
39 This class has no description
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 CompleteTime => Str
45  
46 The time the task completed.
47  
48  
49 =head2 InstanceId => Str
50  
51 The ID of the instance for which the root volume replacement task was
52 created.
53  
54  
55 =head2 ReplaceRootVolumeTaskId => Str
56  
57 The ID of the root volume replacement task.
58  
59  
60 =head2 StartTime => Str
61  
62 The time the task was started.
63  
64  
65 =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
66  
67 The tags assigned to the task.
68  
69  
70 =head2 TaskState => Str
71  
72 The state of the task. The task can be in one of the following states:
73  
74 =over
75  
76 =item *
77  
78 C<pending> - the replacement volume is being created.
79  
80 =item *
81  
82 C<in-progress> - the original volume is being detached and the
83 replacement volume is being attached.
84  
85 =item *
86  
87 C<succeeded> - the replacement volume has been successfully attached to
88 the instance and the instance is available.
89  
90 =item *
91  
92 C<failing> - the replacement task is in the process of failing.
93  
94 =item *
95  
96 C<failed> - the replacement task has failed but the original root
97 volume is still attached.
98  
99 =item *
100  
101 C<failing-detached> - the replacement task is in the process of
102 failing. The instance might have no root volume attached.
103  
104 =item *
105  
106 C<failed-detached> - the replacement task has failed and the instance
107 has no root volume attached.
108  
109 =back
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut