UpdateDevicePoolRequest
¶
Source code in docs_src/capo_device_farm/types/update_device_pool_request.py
arn
instance-attribute
¶
arn: AmazonResourceName
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
clear_max_devices
instance-attribute
¶
clear_max_devices: NotRequired[Boolean]
Sets whether the maxDevices parameter applies to your device pool. If you set this parameter to true, the maxDevices parameter does not apply, and Device Farm does not limit the number of devices that it adds to your device pool. In this case, Device Farm adds all available devices that meet the criteria specified in the rules parameter.
If you use this parameter in your request, you cannot use the maxDevices parameter in the same request.
description
instance-attribute
¶
description: NotRequired[Message]
A description of the device pool to update.
max_devices
instance-attribute
¶
max_devices: NotRequired[Integer]
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and that meet the criteria that you assign for the rules parameter. Depending on how many devices meet these constraints, your device pool might contain fewer devices than the value for this parameter.
By specifying the maximum number of devices, you can control the costs that you incur by running tests.
If you use this parameter in your request, you cannot use the clearMaxDevices parameter in the same request.
name
instance-attribute
¶
name: NotRequired[Name]
A string that represents the name of the device pool to update.
rules
instance-attribute
¶
rules: NotRequired[Rules]
Represents the rules to modify for the device pool. Updating rules is optional. If you update rules for your request, the update replaces the existing rules.
A device pool contains either physical devices or virtual devices, but not both. If you define the pool with attribute rules and those rules do not include a DEVICE_TYPE rule, the pool contains only physical devices. If you define the pool by listing device ARNs, the pool contains the devices you list.