public void DeviceFarmDeleteProject() { #region deleteproject-example-1470867374212 var response = client.DeleteProject(new DeleteProjectRequest { Arn = "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. }); #endregion }
private Amazon.DeviceFarm.Model.DeleteProjectResponse CallAWSServiceOperation(IAmazonDeviceFarm client, Amazon.DeviceFarm.Model.DeleteProjectRequest request) { Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS Device Farm", "DeleteProject"); try { #if DESKTOP return(client.DeleteProject(request)); #elif CORECLR return(client.DeleteProjectAsync(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; } }