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

Class: Aws::DeviceFarm::Types::Upload

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

Overview

An app or a set of one or more tests to upload or that have been uploaded.

Instance Attribute Summary collapse

Instance Attribute Details

#arnString

The upload's ARN.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#content_typeString

The upload's content type (for example, "application/octet-stream").

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#createdTime

When the upload was created.

Returns:

  • (Time)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#messageString

A message about the upload's result.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#metadataString

The upload's metadata. For example, for Android, this contains information that is parsed from the manifest and is displayed in the AWS Device Farm console after the associated app is uploaded.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#nameString

The upload's file name.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#statusString

The upload's status.

Must be one of the following values:

  • FAILED: A failed status.

  • INITIALIZED: An initialized status.

  • PROCESSING: A processing status.

  • SUCCEEDED: A succeeded status.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#typeString

The upload's type.

Must be one of the following values:

  • ANDROID_APP: An Android upload.

  • IOS_APP: An iOS upload.

  • WEB_APP: A web appliction upload.

  • EXTERNAL_DATA: An external data upload.

  • APPIUM_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

  • APPIUM_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

  • APPIUM_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

  • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE: An Appium Java JUnit test package upload.

  • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE: An Appium Java TestNG test package upload.

  • APPIUM_WEB_PYTHON_TEST_PACKAGE: An Appium Python test package upload.

  • CALABASH_TEST_PACKAGE: A Calabash test package upload.

  • INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.

  • UIAUTOMATION_TEST_PACKAGE: A uiautomation test package upload.

  • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.

  • XCTEST_TEST_PACKAGE: An XCode test package upload.

  • XCTEST_UI_TEST_PACKAGE: An XCode UI test package upload.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end

#urlString

The pre-signed Amazon S3 URL that was used to store a file through a corresponding PUT request.

Returns:

  • (String)


4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
# File 'gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/types.rb', line 4686

class Upload < Struct.new(
  :arn,
  :name,
  :created,
  :type,
  :status,
  :url,
  :metadata,
  :content_type,
  :message)
  include Aws::Structure
end