get_device_pool_compatibility
async
¶
get_device_pool_compatibility(
device_pool_arn: AmazonResourceName,
*,
config_overrides: Optional[AsyncDeviceFarmClientConfig] = None,
app_arn: Optional[AmazonResourceName] = None,
test_type: Optional[TestType] = None,
test: Optional[ScheduleRunTest] = None,
configuration: Optional[ScheduleRunConfiguration] = None,
project_arn: Optional[AmazonResourceName] = None,
) -> GetDevicePoolCompatibilityResult
Gets information about compatibility with a device pool.
Parameters:
-
device_pool_arn(AmazonResourceName) –The device pool's ARN.
-
app_arn(Optional[AmazonResourceName], default:None) –The ARN of the app that is associated with the specified device pool.
-
test_type(Optional[TestType], default:None) –The test type for the specified device pool.
Allowed values include the following:
-
BUILTIN_FUZZ.
-
APPIUM_JAVA_JUNIT.
-
APPIUM_JAVA_TESTNG.
-
APPIUM_PYTHON.
-
APPIUM_NODE.
-
APPIUM_RUBY.
-
APPIUM_WEB_JAVA_JUNIT.
-
APPIUM_WEB_JAVA_TESTNG.
-
APPIUM_WEB_PYTHON.
-
APPIUM_WEB_NODE.
-
APPIUM_WEB_RUBY.
-
INSTRUMENTATION.
-
XCTEST.
-
XCTEST_UI.
-
-
test(Optional[ScheduleRunTest], default:None) –Information about the uploaded test to be run against the device pool.
-
configuration(Optional[ScheduleRunConfiguration], default:None) –An object that contains information about the settings for a run.
-
project_arn(Optional[AmazonResourceName], default:None) –The ARN of the project for which you want to check device pool compatibility.
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 the compatibility of a device pool The following example returns information about the compatibility of a specific device pool, given its ARN.
>>> await client.get_device_pool_compatibility(device_pool_arn='arn:aws:devicefarm:us-west-2::devicepool:123-456-EXAMPLE-GUID', app_arn='arn:aws:devicefarm:us-west-2::app:123-456-EXAMPLE-GUID', test_type='APPIUM_PYTHON')
Source code in docs_src/capo_device_farm/_services/async_device_farm.py
1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 | |