get_device_pool_compatibility
¶
get_device_pool_compatibility(
device_pool_arn: AmazonResourceName,
*,
config_overrides: Optional[DeviceFarmClientConfig] = 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.
>>> 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/device_farm.py
1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 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 | |