You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::DeviceFarm::Types::Artifact

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The artifact's ARN.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 138

class Artifact < Struct.new(
  :arn,
  :name,
  :type,
  :extension,
  :url)
  include Aws::Structure
end

#extensionString

The artifact's file extension.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 138

class Artifact < Struct.new(
  :arn,
  :name,
  :type,
  :extension,
  :url)
  include Aws::Structure
end

#nameString

The artifact's name.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 138

class Artifact < Struct.new(
  :arn,
  :name,
  :type,
  :extension,
  :url)
  include Aws::Structure
end

#typeString

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.

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 138

class Artifact < Struct.new(
  :arn,
  :name,
  :type,
  :extension,
  :url)
  include Aws::Structure
end

#urlString

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

Returns:

  • (String)


138
139
140
141
142
143
144
145
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 138

class Artifact < Struct.new(
  :arn,
  :name,
  :type,
  :extension,
  :url)
  include Aws::Structure
end