[][src]Struct rusoto_devicefarm::UpdateDevicePoolRequest

pub struct UpdateDevicePoolRequest {
    pub arn: String,
    pub clear_max_devices: Option<bool>,
    pub description: Option<String>,
    pub max_devices: Option<i64>,
    pub name: Option<String>,
    pub rules: Option<Vec<Rule>>,
}

Represents a request to the update device pool operation.

Fields

arn: String

The Amazon Resourc Name (ARN) of the Device Farm device pool you wish to update.

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 that are specified for the rules parameter.

If you use this parameter in your request, you cannot use the maxDevices parameter in the same request.

description: Option<String>

A description of the device pool you wish to update.

max_devices: Option<i64>

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: Option<String>

A string representing the name of the device pool you wish to update.

rules: Option<Vec<Rule>>

Represents the rules you wish to modify for the device pool. Updating rules is optional; however, if you choose to update rules for your request, the update will replace the existing rules.

Trait Implementations

impl PartialEq<UpdateDevicePoolRequest> for UpdateDevicePoolRequest[src]

impl Default for UpdateDevicePoolRequest[src]

impl Clone for UpdateDevicePoolRequest[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for UpdateDevicePoolRequest[src]

impl Serialize for UpdateDevicePoolRequest[src]

Auto Trait Implementations

impl Send for UpdateDevicePoolRequest

impl Sync for UpdateDevicePoolRequest

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self