Table Of Contents


User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . devicefarm ]



Gets information about artifacts.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

list-artifacts is a paginated operation. Multiple API calls may be issued in order to retrieve the entire data set of results. You can disable pagination by providing the --no-paginate argument. When using --output text and the --query argument on a paginated response, the --query argument must extract data from the results of the following query expressions: artifacts


--arn <value>
--type <value>
[--cli-input-json <value>]
[--starting-token <value>]
[--max-items <value>]
[--generate-cli-skeleton <value>]


--arn (string)

The Run, Job, Suite, or Test ARN.

--type (string)

The artifacts' type.

Allowed values include:

  • FILE: The artifacts are files.
  • LOG: The artifacts are logs.
  • SCREENSHOT: The artifacts are screenshots.

Possible values:

  • FILE
  • LOG

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--starting-token (string)

A token to specify where to start paginating. This is the NextToken from a previously truncated response.

For usage examples, see Pagination in the AWS Command Line Interface User Guide .

--max-items (integer)

The total number of items to return in the command's output. If the total number of items available is more than the value specified, a NextToken is provided in the command's output. To resume pagination, provide the NextToken value in the starting-token argument of a subsequent command. Do not use the NextToken response element directly outside of the AWS CLI.

For usage examples, see Pagination in the AWS Command Line Interface User Guide .

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.


artifacts -> (list)

Information about the artifacts.


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

arn -> (string)

The artifact's ARN.

name -> (string)

The artifact's name.

type -> (string)

The artifact's type.

Allowed values include the following:

  • UNKNOWN: An unknown type.
  • SCREENSHOT: The screenshot type.
  • DEVICE_LOG: The device log type.
  • MESSAGE_LOG: The message log type.
  • RESULT_LOG: The result log type.
  • SERVICE_LOG: The service log type.
  • WEBKIT_LOG: The web kit log type.
  • INSTRUMENTATION_OUTPUT: The instrumentation type.
  • EXERCISER_MONKEY_OUTPUT: For Android, the artifact (log) generated by an Android fuzz test.
  • CALABASH_JSON_OUTPUT: The Calabash JSON output type.
  • CALABASH_PRETTY_OUTPUT: The Calabash pretty output type.
  • CALABASH_STANDARD_OUTPUT: The Calabash standard output type.
  • CALABASH_JAVA_XML_OUTPUT: The Calabash Java XML output type.
  • AUTOMATION_OUTPUT: The automation output type.
  • APPIUM_SERVER_OUTPUT: The Appium server output type.
  • APPIUM_JAVA_OUTPUT: The Appium Java output type.
  • APPIUM_JAVA_XML_OUTPUT: The Appium Java XML output type.
  • APPIUM_PYTHON_OUTPUT: The Appium Python output type.
  • APPIUM_PYTHON_XML_OUTPUT: The Appium Python XML output type.
  • EXPLORER_EVENT_LOG: The Explorer event log output type.
  • EXPLORER_SUMMARY_LOG: The Explorer summary log output type.
  • APPLICATION_CRASH_REPORT: The application crash report output type.
  • XCTEST_LOG: The XCode test output type.

extension -> (string)

The artifact's file extension.

url -> (string)

The pre-signed Amazon S3 URL that can be used with a corresponding GET request to download the artifact's file.

nextToken -> (string)

If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.