Struct aws_sdk_devicefarm::client::fluent_builders::CreateDevicePool
source · [−]pub struct CreateDevicePool<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateDevicePool.
Creates a device pool.
Implementations
impl<C, M, R> CreateDevicePool<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateDevicePool<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateDevicePoolOutput, SdkError<CreateDevicePoolError>> where
R::Policy: SmithyRetryPolicy<CreateDevicePoolInputOperationOutputAlias, CreateDevicePoolOutput, CreateDevicePoolError, CreateDevicePoolInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateDevicePoolOutput, SdkError<CreateDevicePoolError>> where
R::Policy: SmithyRetryPolicy<CreateDevicePoolInputOperationOutputAlias, CreateDevicePoolOutput, CreateDevicePoolError, CreateDevicePoolInputOperationRetryAlias>,
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 ARN of the project for the device pool.
The ARN of the project for the device pool.
The device pool's description.
The device pool's description.
Appends an item to rules.
To override the contents of this collection use set_rules.
The device pool's rules.
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and 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.
The number of devices that Device Farm can add to your device pool. Device Farm adds devices that are available and 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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateDevicePool<C, M, R>
impl<C, M, R> Send for CreateDevicePool<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateDevicePool<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateDevicePool<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateDevicePool<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