list_device_pools
¶
list_device_pools(
arn: AmazonResourceName,
*,
config_overrides: Optional[DeviceFarmClientConfig] = None,
type: Optional[DevicePoolType] = None,
next_token: Optional[PaginationToken] = None,
) -> ListDevicePoolsResult
Gets information about device pools.
Parameters:
-
arn(AmazonResourceName) –The project ARN.
-
type(Optional[DevicePoolType], default:None) –The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
-
-
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 device pools The following example returns information about the private device pools in a specific project.
>>> client.list_device_pools(arn='arn:aws:devicefarm:us-west-2:123456789101:project:EXAMPLE-GUID-123-456', type='PRIVATE')
Source code in docs_src/capo_device_farm/_services/device_farm.py
2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 | |