Struct aws_sdk_devicefarm::client::fluent_builders::ListDevicePools
source · [−]pub struct ListDevicePools { /* private fields */ }Expand description
Fluent builder constructing a request to ListDevicePools.
Gets information about device pools.
Implementations
sourceimpl ListDevicePools
impl ListDevicePools
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ListDevicePools, AwsResponseRetryClassifier>, SdkError<ListDevicePoolsError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ListDevicePools, AwsResponseRetryClassifier>, SdkError<ListDevicePoolsError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ListDevicePoolsOutput, SdkError<ListDevicePoolsError>>
pub async fn send(
self
) -> Result<ListDevicePoolsOutput, SdkError<ListDevicePoolsError>>
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.
sourcepub fn into_paginator(self) -> ListDevicePoolsPaginator
pub fn into_paginator(self) -> ListDevicePoolsPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a Stream.
sourcepub fn type(self, input: DevicePoolType) -> Self
pub fn type(self, input: DevicePoolType) -> Self
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
sourcepub fn set_type(self, input: Option<DevicePoolType>) -> Self
pub fn set_type(self, input: Option<DevicePoolType>) -> Self
The device pools' type.
Allowed values include:
-
CURATED: A device pool that is created and managed by AWS Device Farm.
-
PRIVATE: A device pool that is created and managed by the device pool developer.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
Trait Implementations
sourceimpl Clone for ListDevicePools
impl Clone for ListDevicePools
sourcefn clone(&self) -> ListDevicePools
fn clone(&self) -> ListDevicePools
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more