list_remote_access_sessions
¶
list_remote_access_sessions(
arn: AmazonResourceName,
*,
config_overrides: Optional[DeviceFarmClientConfig] = 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.
>>> 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/device_farm.py
3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 | |