

# Artifact
<a name="API_Artifact"></a>

Represents the output of a test. Examples of artifacts include logs and screenshots.

## Contents
<a name="API_Artifact_Contents"></a>

 ** arn **   <a name="devicefarm-Type-Artifact-arn"></a>
The artifact's ARN.  
Type: String  
Length Constraints: Minimum length of 32. Maximum length of 1011.  
Pattern: `^arn:aws:devicefarm:.+`   
Required: No

 ** extension **   <a name="devicefarm-Type-Artifact-extension"></a>
The artifact's file extension.  
Type: String  
Required: No

 ** name **   <a name="devicefarm-Type-Artifact-name"></a>
The artifact's name.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 256.  
Required: No

 ** type **   <a name="devicefarm-Type-Artifact-type"></a>
The artifact's type.  
Allowed values include the following:  
+ UNKNOWN
+ SCREENSHOT
+ DEVICE\$1LOG
+ MESSAGE\$1LOG
+ VIDEO\$1LOG
+ RESULT\$1LOG
+ SERVICE\$1LOG
+ WEBKIT\$1LOG
+ INSTRUMENTATION\$1OUTPUT
+ EXERCISER\$1MONKEY\$1OUTPUT: the artifact (log) generated by an Android fuzz test.
+ APPIUM\$1SERVER\$1OUTPUT
+ APPIUM\$1JAVA\$1OUTPUT
+ APPIUM\$1JAVA\$1XML\$1OUTPUT
+ APPIUM\$1PYTHON\$1OUTPUT
+ APPIUM\$1PYTHON\$1XML\$1OUTPUT
+ APPLICATION\$1CRASH\$1REPORT
+ XCTEST\$1LOG
+ VIDEO
+ CUSTOMER\$1ARTIFACT
+ CUSTOMER\$1ARTIFACT\$1LOG
+ TESTSPEC\$1OUTPUT
Type: String  
Valid Values: `UNKNOWN | SCREENSHOT | DEVICE_LOG | MESSAGE_LOG | VIDEO_LOG | RESULT_LOG | SERVICE_LOG | WEBKIT_LOG | INSTRUMENTATION_OUTPUT | EXERCISER_MONKEY_OUTPUT | CALABASH_JSON_OUTPUT | CALABASH_PRETTY_OUTPUT | CALABASH_STANDARD_OUTPUT | CALABASH_JAVA_XML_OUTPUT | AUTOMATION_OUTPUT | APPIUM_SERVER_OUTPUT | APPIUM_JAVA_OUTPUT | APPIUM_JAVA_XML_OUTPUT | APPIUM_PYTHON_OUTPUT | APPIUM_PYTHON_XML_OUTPUT | EXPLORER_EVENT_LOG | EXPLORER_SUMMARY_LOG | APPLICATION_CRASH_REPORT | XCTEST_LOG | VIDEO | CUSTOMER_ARTIFACT | CUSTOMER_ARTIFACT_LOG | TESTSPEC_OUTPUT`   
Required: No

 ** url **   <a name="devicefarm-Type-Artifact-url"></a>
The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.  
Type: String  
Length Constraints: Minimum length of 0. Maximum length of 2048.  
Required: No

## See Also
<a name="API_Artifact_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/devicefarm-2015-06-23/Artifact) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/devicefarm-2015-06-23/Artifact) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/devicefarm-2015-06-23/Artifact) 