// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDevices`](crate::operation::list_devices::builders::ListDevicesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`access_token(impl Into<String>)`](crate::operation::list_devices::builders::ListDevicesFluentBuilder::access_token) / [`set_access_token(Option<String>)`](crate::operation::list_devices::builders::ListDevicesFluentBuilder::set_access_token):<br>required: **true**<br><p>A valid access token that Amazon Cognito issued to the user whose list of devices you want to view.</p><br>
/// - [`limit(i32)`](crate::operation::list_devices::builders::ListDevicesFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_devices::builders::ListDevicesFluentBuilder::set_limit):<br>required: **false**<br><p>The limit of the device request.</p><br>
/// - [`pagination_token(impl Into<String>)`](crate::operation::list_devices::builders::ListDevicesFluentBuilder::pagination_token) / [`set_pagination_token(Option<String>)`](crate::operation::list_devices::builders::ListDevicesFluentBuilder::set_pagination_token):<br>required: **false**<br><p>This API operation returns a limited number of results. The pagination token is an identifier that you can present in an additional API request with the same parameters. When you include the pagination token, Amazon Cognito returns the next set of items after the current list. Subsequent requests return a new pagination token. By use of this token, you can paginate through the full list of items.</p><br>
/// - On success, responds with [`ListDevicesOutput`](crate::operation::list_devices::ListDevicesOutput) with field(s):
/// - [`devices(Option<Vec::<DeviceType>>)`](crate::operation::list_devices::ListDevicesOutput::devices): <p>The devices returned in the list devices response.</p>
/// - [`pagination_token(Option<String>)`](crate::operation::list_devices::ListDevicesOutput::pagination_token): <p>The identifier that Amazon Cognito returned with the previous request to this operation. When you include a pagination token in your request, Amazon Cognito returns the next set of items in the list. By use of this token, you can paginate through the full list of items.</p>
/// - On failure, responds with [`SdkError<ListDevicesError>`](crate::operation::list_devices::ListDevicesError)
pub fn list_devices(&self) -> crate::operation::list_devices::builders::ListDevicesFluentBuilder {
crate::operation::list_devices::builders::ListDevicesFluentBuilder::new(self.handle.clone())
}
}