Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_run

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'
)
Parameters
arn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) for the run to delete.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

    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': {
        '...': '...',
    },
}