aws_sdk_devicefarm/client/list_device_pools.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDevicePools`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`arn(impl Into<String>)`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::set_arn):<br>required: **true**<br><p>The project ARN.</p><br>
/// - [`r#type(DevicePoolType)`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::type) / [`set_type(Option<DevicePoolType>)`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::set_type):<br>required: **false**<br><p>The device pools' type.</p> <p>Allowed values include:</p> <ul> <li> <p>CURATED: A device pool that is created and managed by AWS Device Farm.</p></li> <li> <p>PRIVATE: A device pool that is created and managed by the device pool developer.</p></li> </ul><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::set_next_token):<br>required: **false**<br><p>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.</p><br>
/// - On success, responds with [`ListDevicePoolsOutput`](crate::operation::list_device_pools::ListDevicePoolsOutput) with field(s):
/// - [`device_pools(Option<Vec::<DevicePool>>)`](crate::operation::list_device_pools::ListDevicePoolsOutput::device_pools): <p>Information about the device pools.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_device_pools::ListDevicePoolsOutput::next_token): <p>If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.</p>
/// - On failure, responds with [`SdkError<ListDevicePoolsError>`](crate::operation::list_device_pools::ListDevicePoolsError)
pub fn list_device_pools(&self) -> crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder {
crate::operation::list_device_pools::builders::ListDevicePoolsFluentBuilder::new(self.handle.clone())
}
}