blib/lib/Paws/IoT/JobExecution.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IoT::JobExecution;
3 use Moose;
4 has ApproximateSecondsBeforeTimedOut => (is => 'ro', isa => 'Int', request_name => 'approximateSecondsBeforeTimedOut', traits => ['NameInRequest']);
5 has ExecutionNumber => (is => 'ro', isa => 'Int', request_name => 'executionNumber', traits => ['NameInRequest']);
6 has ForceCanceled => (is => 'ro', isa => 'Bool', request_name => 'forceCanceled', traits => ['NameInRequest']);
7 has JobId => (is => 'ro', isa => 'Str', request_name => 'jobId', traits => ['NameInRequest']);
8 has LastUpdatedAt => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedAt', traits => ['NameInRequest']);
9 has QueuedAt => (is => 'ro', isa => 'Str', request_name => 'queuedAt', traits => ['NameInRequest']);
10 has StartedAt => (is => 'ro', isa => 'Str', request_name => 'startedAt', traits => ['NameInRequest']);
11 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
12 has StatusDetails => (is => 'ro', isa => 'Paws::IoT::JobExecutionStatusDetails', request_name => 'statusDetails', traits => ['NameInRequest']);
13 has ThingArn => (is => 'ro', isa => 'Str', request_name => 'thingArn', traits => ['NameInRequest']);
14 has VersionNumber => (is => 'ro', isa => 'Int', request_name => 'versionNumber', traits => ['NameInRequest']);
15  
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::IoT::JobExecution
23  
24 =head1 USAGE
25  
26 This class represents one of two things:
27  
28 =head3 Arguments in a call to a service
29  
30 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31 Each attribute should be used as a named argument in the calls that expect this type of object.
32  
33 As an example, if Att1 is expected to be a Paws::IoT::JobExecution object:
34  
35 $service_obj->Method(Att1 => { ApproximateSecondsBeforeTimedOut => $value, ..., VersionNumber => $value });
36  
37 =head3 Results returned from an API call
38  
39 Use accessors for each attribute. If Att1 is expected to be an Paws::IoT::JobExecution object:
40  
41 $result = $service_obj->Method(...);
42 $result->Att1->ApproximateSecondsBeforeTimedOut
43  
44 =head1 DESCRIPTION
45  
46 The job execution object represents the execution of a job on a
47 particular device.
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 ApproximateSecondsBeforeTimedOut => Int
53  
54 The estimated number of seconds that remain before the job execution
55 status will be changed to C<TIMED_OUT>. The timeout interval can be
56 anywhere between 1 minute and 7 days (1 to 10080 minutes). The actual
57 job execution timeout can occur up to 60 seconds later than the
58 estimated duration. This value will not be included if the job
59 execution has reached a terminal status.
60  
61  
62 =head2 ExecutionNumber => Int
63  
64 A string (consisting of the digits "0" through "9") which identifies
65 this particular job execution on this particular device. It can be used
66 in commands which return or update job execution information.
67  
68  
69 =head2 ForceCanceled => Bool
70  
71 Will be C<true> if the job execution was canceled with the optional
72 C<force> parameter set to C<true>.
73  
74  
75 =head2 JobId => Str
76  
77 The unique identifier you assigned to the job when it was created.
78  
79  
80 =head2 LastUpdatedAt => Str
81  
82 The time, in seconds since the epoch, when the job execution was last
83 updated.
84  
85  
86 =head2 QueuedAt => Str
87  
88 The time, in seconds since the epoch, when the job execution was
89 queued.
90  
91  
92 =head2 StartedAt => Str
93  
94 The time, in seconds since the epoch, when the job execution started.
95  
96  
97 =head2 Status => Str
98  
99 The status of the job execution (IN_PROGRESS, QUEUED, FAILED,
100 SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).
101  
102  
103 =head2 StatusDetails => L<Paws::IoT::JobExecutionStatusDetails>
104  
105 A collection of name/value pairs that describe the status of the job
106 execution.
107  
108  
109 =head2 ThingArn => Str
110  
111 The ARN of the thing on which the job execution is running.
112  
113  
114 =head2 VersionNumber => Int
115  
116 The version of the job execution. Job execution versions are
117 incremented each time they are updated by a device.
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::IoT>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132