aws_sdk_devicefarm/client/list_device_instances.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDeviceInstances`](crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`max_results(i32)`](crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder::set_max_results):<br>required: **false**<br><p>An integer that specifies the maximum number of items you want to return in the API response.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder::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 [`ListDeviceInstancesOutput`](crate::operation::list_device_instances::ListDeviceInstancesOutput) with field(s):
/// - [`device_instances(Option<Vec::<DeviceInstance>>)`](crate::operation::list_device_instances::ListDeviceInstancesOutput::device_instances): <p>An object that contains information about your device instances.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_device_instances::ListDeviceInstancesOutput::next_token): <p>An identifier that can be used in the next call to this operation to return the next set of items in the list.</p>
/// - On failure, responds with [`SdkError<ListDeviceInstancesError>`](crate::operation::list_device_instances::ListDeviceInstancesError)
pub fn list_device_instances(&self) -> crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder {
crate::operation::list_device_instances::builders::ListDeviceInstancesFluentBuilder::new(self.handle.clone())
}
}