list_device_pools
async
¶
list_device_pools(
arn: AmazonResourceName,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = 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.
>>> await 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/async_device_farm.py
2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 | |