public void DeviceFarmDeleteUpload() { #region deleteupload-example-1470868363942 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. }); #endregion }
private Amazon.DeviceFarm.Model.DeleteUploadResponse CallAWSServiceOperation(IAmazonDeviceFarm client, Amazon.DeviceFarm.Model.DeleteUploadRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Device Farm", "DeleteUpload"); try { #if DESKTOP return(client.DeleteUpload(request)); #elif CORECLR return(client.DeleteUploadAsync(request).GetAwaiter().GetResult()); #else #error "Unknown build edition" #endif } catch (AmazonServiceException exc) { var webException = exc.InnerException as System.Net.WebException; if (webException != null) { throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException); } throw; } }