libZSservicesZSamazonka-devicefarmZSamazonka-devicefarm
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DeviceFarm.Types.Upload

Description

 
Synopsis

Documentation

data Upload Source #

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

See: newUpload smart constructor.

Constructors

Upload' 

Fields

  • status :: Maybe UploadStatus

    The upload's status.

    Must be one of the following values:

    • FAILED
    • INITIALIZED
    • PROCESSING
    • SUCCEEDED
  • arn :: Maybe Text

    The upload's ARN.

  • created :: Maybe POSIX

    When the upload was created.

  • category :: Maybe UploadCategory

    The upload's category. Allowed values include:

    • CURATED: An upload managed by AWS Device Farm.
    • PRIVATE: An upload managed by the AWS Device Farm customer.
  • url :: Maybe (Sensitive Text)

    The presigned Amazon S3 URL that was used to store a file using a PUT request.

  • name :: Maybe Text

    The upload's file name.

  • metadata :: Maybe Text

    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.

  • type' :: Maybe UploadType

    The upload's type.

    Must be one of the following values:

    • ANDROID_APP
    • IOS_APP
    • WEB_APP
    • EXTERNAL_DATA
    • APPIUM_JAVA_JUNIT_TEST_PACKAGE
    • APPIUM_JAVA_TESTNG_TEST_PACKAGE
    • APPIUM_PYTHON_TEST_PACKAGE
    • APPIUM_NODE_TEST_PACKAGE
    • APPIUM_RUBY_TEST_PACKAGE
    • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE
    • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE
    • APPIUM_WEB_PYTHON_TEST_PACKAGE
    • APPIUM_WEB_NODE_TEST_PACKAGE
    • APPIUM_WEB_RUBY_TEST_PACKAGE
    • CALABASH_TEST_PACKAGE
    • INSTRUMENTATION_TEST_PACKAGE
    • UIAUTOMATION_TEST_PACKAGE
    • UIAUTOMATOR_TEST_PACKAGE
    • XCTEST_TEST_PACKAGE
    • XCTEST_UI_TEST_PACKAGE
    • APPIUM_JAVA_JUNIT_TEST_SPEC
    • APPIUM_JAVA_TESTNG_TEST_SPEC
    • APPIUM_PYTHON_TEST_SPEC
    • APPIUM_NODE_TEST_SPEC
    • APPIUM_RUBY_TEST_SPEC
    • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC
    • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC
    • APPIUM_WEB_PYTHON_TEST_SPEC
    • APPIUM_WEB_NODE_TEST_SPEC
    • APPIUM_WEB_RUBY_TEST_SPEC
    • INSTRUMENTATION_TEST_SPEC
    • XCTEST_UI_TEST_SPEC
  • message :: Maybe Text

    A message about the upload's result.

  • contentType :: Maybe Text

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

Instances

Instances details
Eq Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

Methods

(==) :: Upload -> Upload -> Bool #

(/=) :: Upload -> Upload -> Bool #

Show Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

Generic Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

Associated Types

type Rep Upload :: Type -> Type #

Methods

from :: Upload -> Rep Upload x #

to :: Rep Upload x -> Upload #

NFData Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

Methods

rnf :: Upload -> () #

Hashable Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

Methods

hashWithSalt :: Int -> Upload -> Int #

hash :: Upload -> Int #

FromJSON Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

type Rep Upload Source # 
Instance details

Defined in Amazonka.DeviceFarm.Types.Upload

newUpload :: Upload Source #

Create a value of Upload with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:Upload', upload_status - The upload's status.

Must be one of the following values:

  • FAILED
  • INITIALIZED
  • PROCESSING
  • SUCCEEDED

$sel:arn:Upload', upload_arn - The upload's ARN.

$sel:created:Upload', upload_created - When the upload was created.

$sel:category:Upload', upload_category - The upload's category. Allowed values include:

  • CURATED: An upload managed by AWS Device Farm.
  • PRIVATE: An upload managed by the AWS Device Farm customer.

$sel:url:Upload', upload_url - The presigned Amazon S3 URL that was used to store a file using a PUT request.

$sel:name:Upload', upload_name - The upload's file name.

$sel:metadata:Upload', upload_metadata - 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.

$sel:type':Upload', upload_type - The upload's type.

Must be one of the following values:

  • ANDROID_APP
  • IOS_APP
  • WEB_APP
  • EXTERNAL_DATA
  • APPIUM_JAVA_JUNIT_TEST_PACKAGE
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE
  • APPIUM_PYTHON_TEST_PACKAGE
  • APPIUM_NODE_TEST_PACKAGE
  • APPIUM_RUBY_TEST_PACKAGE
  • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE
  • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE
  • APPIUM_WEB_PYTHON_TEST_PACKAGE
  • APPIUM_WEB_NODE_TEST_PACKAGE
  • APPIUM_WEB_RUBY_TEST_PACKAGE
  • CALABASH_TEST_PACKAGE
  • INSTRUMENTATION_TEST_PACKAGE
  • UIAUTOMATION_TEST_PACKAGE
  • UIAUTOMATOR_TEST_PACKAGE
  • XCTEST_TEST_PACKAGE
  • XCTEST_UI_TEST_PACKAGE
  • APPIUM_JAVA_JUNIT_TEST_SPEC
  • APPIUM_JAVA_TESTNG_TEST_SPEC
  • APPIUM_PYTHON_TEST_SPEC
  • APPIUM_NODE_TEST_SPEC
  • APPIUM_RUBY_TEST_SPEC
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC
  • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC
  • APPIUM_WEB_PYTHON_TEST_SPEC
  • APPIUM_WEB_NODE_TEST_SPEC
  • APPIUM_WEB_RUBY_TEST_SPEC
  • INSTRUMENTATION_TEST_SPEC
  • XCTEST_UI_TEST_SPEC

$sel:message:Upload', upload_message - A message about the upload's result.

$sel:contentType:Upload', upload_contentType - The upload's content type (for example, application/octet-stream).

upload_status :: Lens' Upload (Maybe UploadStatus) Source #

The upload's status.

Must be one of the following values:

  • FAILED
  • INITIALIZED
  • PROCESSING
  • SUCCEEDED

upload_arn :: Lens' Upload (Maybe Text) Source #

The upload's ARN.

upload_created :: Lens' Upload (Maybe UTCTime) Source #

When the upload was created.

upload_category :: Lens' Upload (Maybe UploadCategory) Source #

The upload's category. Allowed values include:

  • CURATED: An upload managed by AWS Device Farm.
  • PRIVATE: An upload managed by the AWS Device Farm customer.

upload_url :: Lens' Upload (Maybe Text) Source #

The presigned Amazon S3 URL that was used to store a file using a PUT request.

upload_name :: Lens' Upload (Maybe Text) Source #

The upload's file name.

upload_metadata :: Lens' Upload (Maybe Text) Source #

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.

upload_type :: Lens' Upload (Maybe UploadType) Source #

The upload's type.

Must be one of the following values:

  • ANDROID_APP
  • IOS_APP
  • WEB_APP
  • EXTERNAL_DATA
  • APPIUM_JAVA_JUNIT_TEST_PACKAGE
  • APPIUM_JAVA_TESTNG_TEST_PACKAGE
  • APPIUM_PYTHON_TEST_PACKAGE
  • APPIUM_NODE_TEST_PACKAGE
  • APPIUM_RUBY_TEST_PACKAGE
  • APPIUM_WEB_JAVA_JUNIT_TEST_PACKAGE
  • APPIUM_WEB_JAVA_TESTNG_TEST_PACKAGE
  • APPIUM_WEB_PYTHON_TEST_PACKAGE
  • APPIUM_WEB_NODE_TEST_PACKAGE
  • APPIUM_WEB_RUBY_TEST_PACKAGE
  • CALABASH_TEST_PACKAGE
  • INSTRUMENTATION_TEST_PACKAGE
  • UIAUTOMATION_TEST_PACKAGE
  • UIAUTOMATOR_TEST_PACKAGE
  • XCTEST_TEST_PACKAGE
  • XCTEST_UI_TEST_PACKAGE
  • APPIUM_JAVA_JUNIT_TEST_SPEC
  • APPIUM_JAVA_TESTNG_TEST_SPEC
  • APPIUM_PYTHON_TEST_SPEC
  • APPIUM_NODE_TEST_SPEC
  • APPIUM_RUBY_TEST_SPEC
  • APPIUM_WEB_JAVA_JUNIT_TEST_SPEC
  • APPIUM_WEB_JAVA_TESTNG_TEST_SPEC
  • APPIUM_WEB_PYTHON_TEST_SPEC
  • APPIUM_WEB_NODE_TEST_SPEC
  • APPIUM_WEB_RUBY_TEST_SPEC
  • INSTRUMENTATION_TEST_SPEC
  • XCTEST_UI_TEST_SPEC

upload_message :: Lens' Upload (Maybe Text) Source #

A message about the upload's result.

upload_contentType :: Lens' Upload (Maybe Text) Source #

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