AWS SDK Version 3 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.

Container for the parameters to the DeleteUpload operation. Deletes an upload given the upload ARN.

Inheritance Hierarchy

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

Namespace: Amazon.DeviceFarm.Model
Assembly: AWSSDK.DeviceFarm.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteUploadRequest : AmazonDeviceFarmRequest
         IAmazonWebServiceRequest

The DeleteUploadRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteUploadRequest()

Properties

NameTypeDescription
Public Property Arn System.String

Gets and sets the property Arn.

Represents the Amazon Resource Name (ARN) of the Device Farm upload to delete.

Examples

The following example deletes a specific upload.

To delete a specific upload


var client = new AmazonDeviceFarmClient();
var response = client.DeleteUpload(new DeleteUploadRequest 
{
    Arn = "arn:aws:devicefarm:us-west-2:123456789101:upload:EXAMPLE-GUID-123-456" // You can get the upload ARN by using the list-uploads CLI command.
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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