DeviceFarm.Client.
delete_run
(**kwargs)¶Deletes the run, given the run ARN.
Deleting this resource does not stop an in-progress run.
See also: AWS API Documentation
Request Syntax
response = client.delete_run(
arn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) for the run to delete.
{}
Response Structure
Represents the result of a delete run request.
Exceptions
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.NotFoundException
DeviceFarm.Client.exceptions.LimitExceededException
DeviceFarm.Client.exceptions.ServiceAccountException
Examples
The following example deletes a specific test run.
response = client.delete_run(
# You can get the run ARN by using the list-runs CLI command.
arn='arn:aws:devicefarm:us-west-2:123456789101:run:EXAMPLE-GUID-123-456',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}