list_remote_access_sessions
async
¶
list_remote_access_sessions(
arn: AmazonResourceName,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
next_token: Optional[PaginationToken] = None,
) -> ListRemoteAccessSessionsResult
Returns a list of all currently running remote access sessions.
Parameters:
-
arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the project about which you are requesting information.
-
next_token(Optional[PaginationToken], default:None) –An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Raises:
-
ArgumentException–An invalid argument was specified.
-
LimitExceededException–A limit was exceeded.
-
NotFoundException–The specified entity was not found.
-
ServiceAccountException–There was a problem with the service account.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To get information about a remote access session The following example returns information about a specific Device Farm remote access session.
>>> await client.list_remote_access_sessions(arn='arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456', next_token='RW5DdDJkMWYwZjM2MzM2VHVpOHJIUXlDUXlhc2QzRGViYnc9SEXAMPLE=')
Source code in docs_src/capo_device_farm/_services/async_device_farm.py
3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 | |