line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::DeviceFarm::CreateUpload; |
3
|
1
|
|
|
1
|
|
475
|
use Moose; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
7
|
|
4
|
|
|
|
|
|
|
has ContentType => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'contentType' ); |
5
|
|
|
|
|
|
|
has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' , required => 1); |
6
|
|
|
|
|
|
|
has ProjectArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'projectArn' , required => 1); |
7
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'type' , required => 1); |
8
|
|
|
|
|
|
|
|
9
|
1
|
|
|
1
|
|
6113
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
10
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateUpload'); |
12
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DeviceFarm::CreateUploadResult'); |
13
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
14
|
|
|
|
|
|
|
1; |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
### main pod documentation begin ### |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=head1 NAME |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
Paws::DeviceFarm::CreateUpload - Arguments for method CreateUpload on Paws::DeviceFarm |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
=head1 DESCRIPTION |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateUpload on the |
25
|
|
|
|
|
|
|
AWS Device Farm service. Use the attributes of this class |
26
|
|
|
|
|
|
|
as arguments to method CreateUpload. |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUpload. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
As an example: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$service_obj->CreateUpload(Att1 => $value1, Att2 => $value2, ...); |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
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. |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head2 ContentType => Str |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
The upload's content type (for example, "application/octet-stream"). |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head2 B<REQUIRED> Name => Str |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
The upload's file name. The name should not contain the '/' character. |
48
|
|
|
|
|
|
|
If uploading an iOS app, the file name needs to end with the C<.ipa> |
49
|
|
|
|
|
|
|
extension. If uploading an Android app, the file name needs to end with |
50
|
|
|
|
|
|
|
the C<.apk> extension. For all others, the file name must end with the |
51
|
|
|
|
|
|
|
C<.zip> file extension. |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 B<REQUIRED> ProjectArn => Str |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
The ARN of the project for the upload. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=head2 B<REQUIRED> Type => Str |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
The upload's upload type. |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
Must be one of the following values: |
66
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
=over |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=item * |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
ANDROID_APP: An Android upload. |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=item * |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
IOS_APP: An iOS upload. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=item * |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
WEB_APP: A web appliction upload. |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=item * |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
EXTERNAL_DATA: An external data upload. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
=item * |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package |
88
|
|
|
|
|
|
|
upload. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=item * |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package |
93
|
|
|
|
|
|
|
upload. |
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=item * |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload. |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=item * |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package |
102
|
|
|
|
|
|
|
upload. |
103
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
=item * |
105
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package |
107
|
|
|
|
|
|
|
upload. |
108
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
=item * |
110
|
|
|
|
|
|
|
|
111
|
|
|
|
|
|
|
APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload. |
112
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=item * |
114
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
CALABASH_TEST_PACKAGE: A Calabash test package upload. |
116
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
=item * |
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload. |
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
=item * |
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload. |
124
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
=item * |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload. |
128
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
=item * |
130
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
XCTEST_TEST_PACKAGE: An XCode test package upload. |
132
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=item * |
134
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload. |
136
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
=back |
138
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
B<Note> If you call C<CreateUpload> with C<WEB_APP> specified, AWS |
140
|
|
|
|
|
|
|
Device Farm throws an C<ArgumentException> error. |
141
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
Valid values are: C<"ANDROID_APP">, C<"IOS_APP">, C<"WEB_APP">, C<"EXTERNAL_DATA">, C<"APPIUM_JAVA_JUNIT_TEST_PACKAGE">, C<"APPIUM_JAVA_TESTNG_TEST_PACKAGE">, C<"APPIUM_PYTHON_TEST_PACKAGE">, C<"APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE">, C<"APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE">, C<"APPIUM_WEB_PYTHON_TEST_PACKAGE">, C<"CALABASH_TEST_PACKAGE">, C<"INSTRUMENTATION_TEST_PACKAGE">, C<"UIAUTOMATION_TEST_PACKAGE">, C<"UIAUTOMATOR_TEST_PACKAGE">, C<"XCTEST_TEST_PACKAGE">, C<"XCTEST_UI_TEST_PACKAGE"> |
143
|
|
|
|
|
|
|
|
144
|
|
|
|
|
|
|
|
145
|
|
|
|
|
|
|
=head1 SEE ALSO |
146
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateUpload in L<Paws::DeviceFarm> |
148
|
|
|
|
|
|
|
|
149
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
150
|
|
|
|
|
|
|
|
151
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
152
|
|
|
|
|
|
|
|
153
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
154
|
|
|
|
|
|
|
|
155
|
|
|
|
|
|
|
=cut |
156
|
|
|
|
|
|
|
|