Struct aws_sdk_devicefarm::input::UpdateDevicePoolInput [−][src]
#[non_exhaustive]pub struct UpdateDevicePoolInput {
pub arn: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub rules: Option<Vec<Rule>>,
pub max_devices: Option<i32>,
pub clear_max_devices: Option<bool>,
}Expand description
Represents a request to the update device pool operation.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.arn: Option<String>The Amazon Resource Name (ARN) of the Device Farm device pool to update.
name: Option<String>A string that represents the name of the device pool to update.
description: Option<String>A description of the device pool to update.
rules: Option<Vec<Rule>>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.
max_devices: Option<i32>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.
clear_max_devices: Option<bool>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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDevicePool, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateDevicePool, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateDevicePool>
Creates a new builder-style object to manufacture UpdateDevicePoolInput
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
A string that represents the name of the device pool to update.
A description of the device pool to update.
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.
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.
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.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for UpdateDevicePoolInput
impl Send for UpdateDevicePoolInput
impl Sync for UpdateDevicePoolInput
impl Unpin for UpdateDevicePoolInput
impl UnwindSafe for UpdateDevicePoolInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more