DeviceFarm / Client / delete_remote_access_session
delete_remote_access_session#
- 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' ) - Parameters:
- arn (string) – - [REQUIRED] - The Amazon Resource Name (ARN) of the session for which you want to delete remote access. 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – - 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': { '...': '...', }, }