public void DeviceFarmDeleteRun() { #region deleterun-example-1470867905129 var client = new AmazonDeviceFarmClient(); var response = client.DeleteRun(new DeleteRunRequest { Arn = "arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456" // You can get the run ARN by using the list-runs CLI command. }); #endregion }
private void DeleteCompletedRuns() { var runs = client.ListRuns(new ListRunsRequest { Arn = ProjectArn }); foreach (var run in runs.Runs) { client.DeleteRun(new DeleteRunRequest { Arn = run.Arn }); } }