File Coverage

blib/lib/Paws/DeviceFarm/Artifact.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::Artifact;
2 1     1   419 use Moose;
  1         1  
  1         7  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has Extension => (is => 'ro', isa => 'Str', request_name => 'extension', traits => ['NameInRequest']);
5             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
6             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
7             has Url => (is => 'ro', isa => 'Str', request_name => 'url', traits => ['NameInRequest']);
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::DeviceFarm::Artifact
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::DeviceFarm::Artifact object:
26              
27             $service_obj->Method(Att1 => { Arn => $value, ..., Url => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::DeviceFarm::Artifact object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->Arn
35              
36             =head1 DESCRIPTION
37              
38             Represents the output of a test. Examples of artifacts include logs and
39             screenshots.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 Arn => Str
45              
46             The artifact's ARN.
47              
48              
49             =head2 Extension => Str
50              
51             The artifact's file extension.
52              
53              
54             =head2 Name => Str
55              
56             The artifact's name.
57              
58              
59             =head2 Type => Str
60              
61             The artifact's type.
62              
63             Allowed values include the following:
64              
65             =over
66              
67             =item *
68              
69             UNKNOWN: An unknown type.
70              
71             =item *
72              
73             SCREENSHOT: The screenshot type.
74              
75             =item *
76              
77             DEVICE_LOG: The device log type.
78              
79             =item *
80              
81             MESSAGE_LOG: The message log type.
82              
83             =item *
84              
85             RESULT_LOG: The result log type.
86              
87             =item *
88              
89             SERVICE_LOG: The service log type.
90              
91             =item *
92              
93             WEBKIT_LOG: The web kit log type.
94              
95             =item *
96              
97             INSTRUMENTATION_OUTPUT: The instrumentation type.
98              
99             =item *
100              
101             EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by
102             an Android fuzz test.
103              
104             =item *
105              
106             CALABASH_JSON_OUTPUT: The Calabash JSON output type.
107              
108             =item *
109              
110             CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.
111              
112             =item *
113              
114             CALABASH_STANDARD_OUTPUT: The Calabash standard output type.
115              
116             =item *
117              
118             CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.
119              
120             =item *
121              
122             AUTOMATION_OUTPUT: The automation output type.
123              
124             =item *
125              
126             APPIUM_SERVER_OUTPUT: The Appium server output type.
127              
128             =item *
129              
130             APPIUM_JAVA_OUTPUT: The Appium Java output type.
131              
132             =item *
133              
134             APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.
135              
136             =item *
137              
138             APPIUM_PYTHON_OUTPUT: The Appium Python output type.
139              
140             =item *
141              
142             APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.
143              
144             =item *
145              
146             EXPLORER_EVENT_LOG: The Explorer event log output type.
147              
148             =item *
149              
150             EXPLORER_SUMMARY_LOG: The Explorer summary log output type.
151              
152             =item *
153              
154             APPLICATION_CRASH_REPORT: The application crash report output type.
155              
156             =item *
157              
158             XCTEST_LOG: The XCode test output type.
159              
160             =back
161              
162              
163              
164             =head2 Url => Str
165              
166             The pre-signed Amazon S3 URL that can be used with a corresponding GET
167             request to download the artifact's file.
168              
169              
170              
171             =head1 SEE ALSO
172              
173             This class forms part of L<Paws>, describing an object used in L<Paws::DeviceFarm>
174              
175             =head1 BUGS and CONTRIBUTIONS
176              
177             The source code is located here: https://github.com/pplu/aws-sdk-perl
178              
179             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
180              
181             =cut
182