delete_project

delete_project(**kwargs)

Deletes an AWS Device Farm project, given the project ARN.

Deleting this resource does not stop an in-progress run.

See also: AWS API Documentation

Request Syntax

response = client.delete_project(
    arn='string'
)
Parameters
arn (string) --

[REQUIRED]

Represents the Amazon Resource Name (ARN) of the Device Farm project to delete.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

    Represents the result of a delete project 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 project.

response = client.delete_project(
    # You can get the project ARN by using the list-projects CLI command.
    arn='arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456',
)

print(response)

Expected Output:

{
    'ResponseMetadata': {
        '...': '...',
    },
}