Artifact - AWS Device Farm Documentation

Artifact

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

Contents

arn

The artifact's ARN.

Type: String

Length Constraints: Minimum length of 32. Maximum length of 1011.

Pattern: ^arn:.+

Required: No

extension

The artifact's file extension.

Type: String

Required: No

name

The artifact's name.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

type

The artifact's type.

Allowed values include the following:

  • UNKNOWN

  • SCREENSHOT

  • DEVICE_LOG

  • MESSAGE_LOG

  • VIDEO_LOG

  • RESULT_LOG

  • SERVICE_LOG

  • WEBKIT_LOG

  • INSTRUMENTATION_OUTPUT

  • EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.

  • 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

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

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

For more information about using this API in one of the language-specific AWS SDKs, see the following: