AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
 
Container for the parameters to the CreateUpload operation. Uploads an app or test scripts.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DeviceFarm.AmazonDeviceFarmRequest
      Amazon.DeviceFarm.Model.CreateUploadRequest

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class CreateUploadRequest : AmazonDeviceFarmRequest
         IRequestEvents

The CreateUploadRequest type exposes the following members

Constructors

NameDescription
Public Method CreateUploadRequest()

Properties

NameTypeDescription
Public Property ContentType System.String Gets and sets the property ContentType.

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

Public Property Name System.String Gets and sets the property Name.

The upload's file name.

Public Property ProjectArn System.String Gets and sets the property ProjectArn.

The ARN of the project for the upload.

Public Property Type Amazon.DeviceFarm.UploadType Gets and sets the property Type.

The upload's upload type.

Must be one of the following values:

  • ANDROID_APP: An Android upload.

  • IOS_APP: An iOS 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.

  • CALABASH_TEST_PACKAGE: A Calabash test package upload.

  • INSTRUMENTATION_TEST_PACKAGE: An instrumentation upload.

  • UIAUTOMATOR_TEST_PACKAGE: A uiautomator test package upload.

  • XCTEST_TEST_PACKAGE: An XCode 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.

Note If you call CreateUpload with WEB_APP specified, AWS Device Farm throws an ArgumentException error.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5