install_to_remote_access_session
¶
install_to_remote_access_session(
remote_access_session_arn: AmazonResourceName,
app_arn: AmazonResourceName,
*,
config_overrides: Optional[DeviceFarmClientConfig] = None,
) -> InstallToRemoteAccessSessionResult
Installs an application to the device in a remote access session. For Android applications, the file must be in .apk format. For iOS applications, the file must be in .ipa format.
Parameters:
-
remote_access_session_arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the remote access session about which you are requesting information.
-
app_arn(AmazonResourceName) –The ARN of the app about which you are requesting information.
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 install to a remote access session The following example installs a specific app to a device in a specific remote access session.
>>> client.install_to_remote_access_session(remote_access_session_arn='arn:aws:devicefarm:us-west-2:123456789101:session:EXAMPLE-GUID-123-456', app_arn='arn:aws:devicefarm:us-west-2:123456789101:app:EXAMPLE-GUID-123-456')
Source code in docs_src/capo_device_farm/_services/device_farm.py
2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 | |