Struct aws_sdk_devicefarm::client::fluent_builders::UpdateDevicePool [−][src]
pub struct UpdateDevicePool<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }Expand description
Fluent builder constructing a request to UpdateDevicePool.
Modifies the name, description, and rules in a device pool given the attributes and the pool ARN. Rule updates are all-or-nothing, meaning they can only be updated as a whole (or not at all).
Implementations
impl<C, M, R> UpdateDevicePool<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateDevicePool<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateDevicePoolOutput, SdkError<UpdateDevicePoolError>> where
R::Policy: SmithyRetryPolicy<UpdateDevicePoolInputOperationOutputAlias, UpdateDevicePoolOutput, UpdateDevicePoolError, UpdateDevicePoolInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateDevicePoolOutput, SdkError<UpdateDevicePoolError>> where
R::Policy: SmithyRetryPolicy<UpdateDevicePoolInputOperationOutputAlias, UpdateDevicePoolOutput, UpdateDevicePoolError, UpdateDevicePoolInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The Amazon Resource Name (ARN) of the Device Farm device pool to update.
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 string that represents the name of the device pool to update.
A description of the device pool to update.
A description of the device pool to update.
Appends an item to rules.
To override the contents of this collection use set_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.
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.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for UpdateDevicePool<C, M, R>
impl<C, M, R> Send for UpdateDevicePool<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateDevicePool<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateDevicePool<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for UpdateDevicePool<C, M, R>
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