DeviceFarm.Client.
delete_remote_access_session
(**kwargs)¶Deletes a completed remote access session and its results.
See also: AWS API Documentation
Request Syntax
response = client.delete_remote_access_session(
arn='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the session for which you want to delete remote access.
{}
Response Structure
The response from the server when a request is made to delete the remote access session.
Exceptions
DeviceFarm.Client.exceptions.ArgumentException
DeviceFarm.Client.exceptions.NotFoundException
DeviceFarm.Client.exceptions.LimitExceededException
DeviceFarm.Client.exceptions.ServiceAccountException
Examples
The following example deletes a specific remote access session.
response = client.delete_remote_access_session(
# You can get the remote access session ARN by using the list-remote-access-sessions CLI command.
arn='arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456',
)
print(response)
Expected Output:
{
'ResponseMetadata': {
'...': '...',
},
}