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.
Container for the parameters to the CreateUpload operation. Uploads an app or test scripts.
Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z
public class CreateUploadRequest : AmazonDeviceFarmRequest IAmazonWebServiceRequest
The CreateUploadRequest type exposes the following members
Name | Description | |
---|---|---|
CreateUploadRequest() |
Name | Type | Description | |
---|---|---|---|
ContentType | System.String |
Gets and sets the property ContentType.
The upload's content type (for example, |
|
Name | System.String |
Gets and sets the property Name.
The upload's file name. The name should not contain any forward slashes ( |
|
ProjectArn | System.String |
Gets and sets the property ProjectArn. The ARN of the project for the upload. |
|
Type | Amazon.DeviceFarm.UploadType |
Gets and sets the property Type. The upload's upload type. Must be one of the following values:
If you call |
The following example creates a new Appium Python test package upload inside an existing project.
var client = new AmazonDeviceFarmClient(); var response = client.CreateUpload(new CreateUploadRequest { Name = "MyAppiumPythonUpload", Type = "APPIUM_PYTHON_TEST_PACKAGE", ProjectArn = "arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456" // You can get the project ARN by using the list-projects CLI command. }); Upload upload = response.Upload;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5