File Coverage

blib/lib/Paws/DeviceFarm/Upload.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::Upload;
2 1     1   398 use Moose;
  1         2  
  1         9  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has ContentType => (is => 'ro', isa => 'Str', request_name => 'contentType', traits => ['NameInRequest']);
5             has Created => (is => 'ro', isa => 'Str', request_name => 'created', traits => ['NameInRequest']);
6             has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
7             has Metadata => (is => 'ro', isa => 'Str', request_name => 'metadata', traits => ['NameInRequest']);
8             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
11             has Url => (is => 'ro', isa => 'Str', request_name => 'url', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::DeviceFarm::Upload
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::DeviceFarm::Upload object:
30              
31             $service_obj->Method(Att1 => { Arn => $value, ..., Url => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::Upload object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Arn
39              
40             =head1 DESCRIPTION
41              
42             An app or a set of one or more tests to upload or that have been
43             uploaded.
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 Arn => Str
49              
50             The upload's ARN.
51              
52              
53             =head2 ContentType => Str
54              
55             The upload's content type (for example, "application/octet-stream").
56              
57              
58             =head2 Created => Str
59              
60             When the upload was created.
61              
62              
63             =head2 Message => Str
64              
65             A message about the upload's result.
66              
67              
68             =head2 Metadata => Str
69              
70             The upload's metadata. For example, for Android, this contains
71             information that is parsed from the manifest and is displayed in the
72             AWS Device Farm console after the associated app is uploaded.
73              
74              
75             =head2 Name => Str
76              
77             The upload's file name.
78              
79              
80             =head2 Status => Str
81              
82             The upload's status.
83              
84             Must be one of the following values:
85              
86             =over
87              
88             =item *
89              
90             FAILED: A failed status.
91              
92             =item *
93              
94             INITIALIZED: An initialized status.
95              
96             =item *
97              
98             PROCESSING: A processing status.
99              
100             =item *
101              
102             SUCCEEDED: A succeeded status.
103              
104             =back
105              
106              
107              
108             =head2 Type => Str
109              
110             The upload's type.
111              
112             Must be one of the following values:
113              
114             =over
115              
116             =item *
117              
118             ANDROID_APP: An Android upload.
119              
120             =item *
121              
122             IOS_APP: An iOS upload.
123              
124             =item *
125              
126             WEB_APP: A web appliction upload.
127              
128             =item *
129              
130             EXTERNAL_DATA: An external data upload.
131              
132             =item *
133              
134             APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package
135             upload.
136              
137             =item *
138              
139             APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package
140             upload.
141              
142             =item *
143              
144             APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
145              
146             =item *
147              
148             APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package
149             upload.
150              
151             =item *
152              
153             APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package
154             upload.
155              
156             =item *
157              
158             APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.
159              
160             =item *
161              
162             CALABASH_TEST_PACKAGE: A Calabash test package upload.
163              
164             =item *
165              
166             INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.
167              
168             =item *
169              
170             UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.
171              
172             =item *
173              
174             UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.
175              
176             =item *
177              
178             XCTEST_TEST_PACKAGE: An XCode test package upload.
179              
180             =item *
181              
182             XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.
183              
184             =back
185              
186              
187              
188             =head2 Url => Str
189              
190             The pre-signed Amazon S3 URL that was used to store a file through a
191             corresponding PUT request.
192              
193              
194              
195             =head1 SEE ALSO
196              
197             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
198              
199             =head1 BUGS and CONTRIBUTIONS
200              
201             The source code is located here: https://github.com/pplu/aws-sdk-perl
202              
203             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
204              
205             =cut
206