File Coverage

blib/lib/Paws/DeviceFarm/Run.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::DeviceFarm::Run;
2 1     1   466 use Moose;
  1         2  
  1         7  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has BillingMethod => (is => 'ro', isa => 'Str', request_name => 'billingMethod', traits => ['NameInRequest']);
5             has CompletedJobs => (is => 'ro', isa => 'Int', request_name => 'completedJobs', traits => ['NameInRequest']);
6             has Counters => (is => 'ro', isa => 'Paws::DeviceFarm::Counters', request_name => 'counters', traits => ['NameInRequest']);
7             has Created => (is => 'ro', isa => 'Str', request_name => 'created', traits => ['NameInRequest']);
8             has CustomerArtifactPaths => (is => 'ro', isa => 'Paws::DeviceFarm::CustomerArtifactPaths', request_name => 'customerArtifactPaths', traits => ['NameInRequest']);
9             has DeviceMinutes => (is => 'ro', isa => 'Paws::DeviceFarm::DeviceMinutes', request_name => 'deviceMinutes', traits => ['NameInRequest']);
10             has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
11             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
12             has NetworkProfile => (is => 'ro', isa => 'Paws::DeviceFarm::NetworkProfile', request_name => 'networkProfile', traits => ['NameInRequest']);
13             has ParsingResultUrl => (is => 'ro', isa => 'Str', request_name => 'parsingResultUrl', traits => ['NameInRequest']);
14             has Platform => (is => 'ro', isa => 'Str', request_name => 'platform', traits => ['NameInRequest']);
15             has Result => (is => 'ro', isa => 'Str', request_name => 'result', traits => ['NameInRequest']);
16             has ResultCode => (is => 'ro', isa => 'Str', request_name => 'resultCode', traits => ['NameInRequest']);
17             has Started => (is => 'ro', isa => 'Str', request_name => 'started', traits => ['NameInRequest']);
18             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
19             has Stopped => (is => 'ro', isa => 'Str', request_name => 'stopped', traits => ['NameInRequest']);
20             has TotalJobs => (is => 'ro', isa => 'Int', request_name => 'totalJobs', traits => ['NameInRequest']);
21             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
22             1;
23              
24             ### main pod documentation begin ###
25              
26             =head1 NAME
27              
28             Paws::DeviceFarm::Run
29              
30             =head1 USAGE
31              
32             This class represents one of two things:
33              
34             =head3 Arguments in a call to a service
35              
36             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
37             Each attribute should be used as a named argument in the calls that expect this type of object.
38              
39             As an example, if Att1 is expected to be a Paws::DeviceFarm::Run object:
40              
41             $service_obj->Method(Att1 => { Arn => $value, ..., Type => $value });
42              
43             =head3 Results returned from an API call
44              
45             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::Run object:
46              
47             $result = $service_obj->Method(...);
48             $result->Att1->Arn
49              
50             =head1 DESCRIPTION
51              
52             Represents a test run on a set of devices with a given app package,
53             test parameters, etc.
54              
55             =head1 ATTRIBUTES
56              
57              
58             =head2 Arn => Str
59              
60             The run's ARN.
61              
62              
63             =head2 BillingMethod => Str
64              
65             Specifies the billing method for a test run: C<metered> or
66             C<unmetered>. If the parameter is not specified, the default value is
67             C<metered>.
68              
69              
70             =head2 CompletedJobs => Int
71              
72             The total number of completed jobs.
73              
74              
75             =head2 Counters => L<Paws::DeviceFarm::Counters>
76              
77             The run's result counters.
78              
79              
80             =head2 Created => Str
81              
82             When the run was created.
83              
84              
85             =head2 CustomerArtifactPaths => L<Paws::DeviceFarm::CustomerArtifactPaths>
86              
87             Output C<CustomerArtifactPaths> object for the test run.
88              
89              
90             =head2 DeviceMinutes => L<Paws::DeviceFarm::DeviceMinutes>
91              
92             Represents the total (metered or unmetered) minutes used by the test
93             run.
94              
95              
96             =head2 Message => Str
97              
98             A message about the run's result.
99              
100              
101             =head2 Name => Str
102              
103             The run's name.
104              
105              
106             =head2 NetworkProfile => L<Paws::DeviceFarm::NetworkProfile>
107              
108             The network profile being used for a test run.
109              
110              
111             =head2 ParsingResultUrl => Str
112              
113             Read-only URL for an object in S3 bucket where you can get the parsing
114             results of the test package. If the test package doesn't parse, the
115             reason why it doesn't parse appears in the file that this URL points
116             to.
117              
118              
119             =head2 Platform => Str
120              
121             The run's platform.
122              
123             Allowed values include:
124              
125             =over
126              
127             =item *
128              
129             ANDROID: The Android platform.
130              
131             =item *
132              
133             IOS: The iOS platform.
134              
135             =back
136              
137              
138              
139             =head2 Result => Str
140              
141             The run's result.
142              
143             Allowed values include:
144              
145             =over
146              
147             =item *
148              
149             PENDING: A pending condition.
150              
151             =item *
152              
153             PASSED: A passing condition.
154              
155             =item *
156              
157             WARNED: A warning condition.
158              
159             =item *
160              
161             FAILED: A failed condition.
162              
163             =item *
164              
165             SKIPPED: A skipped condition.
166              
167             =item *
168              
169             ERRORED: An error condition.
170              
171             =item *
172              
173             STOPPED: A stopped condition.
174              
175             =back
176              
177              
178              
179             =head2 ResultCode => Str
180              
181             Supporting field for the result field. Set only if C<result> is
182             C<SKIPPED>. C<PARSING_FAILED> if the result is skipped because of test
183             package parsing failure.
184              
185              
186             =head2 Started => Str
187              
188             The run's start time.
189              
190              
191             =head2 Status => Str
192              
193             The run's status.
194              
195             Allowed values include:
196              
197             =over
198              
199             =item *
200              
201             PENDING: A pending status.
202              
203             =item *
204              
205             PENDING_CONCURRENCY: A pending concurrency status.
206              
207             =item *
208              
209             PENDING_DEVICE: A pending device status.
210              
211             =item *
212              
213             PROCESSING: A processing status.
214              
215             =item *
216              
217             SCHEDULING: A scheduling status.
218              
219             =item *
220              
221             PREPARING: A preparing status.
222              
223             =item *
224              
225             RUNNING: A running status.
226              
227             =item *
228              
229             COMPLETED: A completed status.
230              
231             =item *
232              
233             STOPPING: A stopping status.
234              
235             =back
236              
237              
238              
239             =head2 Stopped => Str
240              
241             The run's stop time.
242              
243              
244             =head2 TotalJobs => Int
245              
246             The total number of jobs for the run.
247              
248              
249             =head2 Type => Str
250              
251             The run's type.
252              
253             Must be one of the following values:
254              
255             =over
256              
257             =item *
258              
259             BUILTIN_FUZZ: The built-in fuzz type.
260              
261             =item *
262              
263             BUILTIN_EXPLORER: For Android, an app explorer that will traverse an
264             Android app, interacting with it and capturing screenshots at the same
265             time.
266              
267             =item *
268              
269             APPIUM_JAVA_JUNIT: The Appium Java JUnit type.
270              
271             =item *
272              
273             APPIUM_JAVA_TESTNG: The Appium Java TestNG type.
274              
275             =item *
276              
277             APPIUM_PYTHON: The Appium Python type.
278              
279             =item *
280              
281             APPIUM_WEB_JAVA_JUNIT: The Appium Java JUnit type for Web apps.
282              
283             =item *
284              
285             APPIUM_WEB_JAVA_TESTNG: The Appium Java TestNG type for Web apps.
286              
287             =item *
288              
289             APPIUM_WEB_PYTHON: The Appium Python type for Web apps.
290              
291             =item *
292              
293             CALABASH: The Calabash type.
294              
295             =item *
296              
297             INSTRUMENTATION: The Instrumentation type.
298              
299             =item *
300              
301             UIAUTOMATION: The uiautomation type.
302              
303             =item *
304              
305             UIAUTOMATOR: The uiautomator type.
306              
307             =item *
308              
309             XCTEST: The XCode test type.
310              
311             =item *
312              
313             XCTEST_UI: The XCode UI test type.
314              
315             =back
316              
317              
318              
319              
320             =head1 SEE ALSO
321              
322             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
323              
324             =head1 BUGS and CONTRIBUTIONS
325              
326             The source code is located here: https://github.com/pplu/aws-sdk-perl
327              
328             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
329              
330             =cut
331