[][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 Resource 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 Clone for UpdateDevicePoolRequest[src]

impl Default for UpdateDevicePoolRequest[src]

impl PartialEq<UpdateDevicePoolRequest> for UpdateDevicePoolRequest[src]

impl Debug for UpdateDevicePoolRequest[src]

impl Serialize for UpdateDevicePoolRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self