Exemplo n.º 1
0
        private void DeleteCompletedRuns()
        {
            var runs = client.ListRuns(new ListRunsRequest {
                Arn = ProjectArn
            });

            foreach (var run in runs.Runs)
            {
                client.DeleteRun(new DeleteRunRequest {
                    Arn = run.Arn
                });
            }
        }
Exemplo n.º 2
0
        public void DeviceFarmListRuns()
        {
            #region to-get-information-about-test-runs-1472582711069

            var client   = new AmazonDeviceFarmClient();
            var response = client.ListRuns(new ListRunsRequest
            {
                Arn       = "arn:aws:devicefarm:us-west-2:123456789101:run:5e01a8c7-c861-4c0a-b1d5-5ec6e6c6dd23/0fcac17b-6122-44d7-ae5a-12345EXAMPLE", // You can get the Amazon Resource Name (ARN) of the run by using the list-runs CLI command.
                NextToken = "RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE"                                                                 // A dynamically generated value, used for paginating results.
            });

            List <Run> runs = response.Runs;

            #endregion
        }