// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListDeviceEvents`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`device_id(impl Into<String>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::set_device_id): <p>The unique identifier of the device.</p>
/// - [`from_time_stamp(DateTime)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::from_time_stamp) / [`set_from_time_stamp(Option<DateTime>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::set_from_time_stamp): <p>The start date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z </p>
/// - [`max_results(i32)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::set_max_results): <p>The maximum number of results to return per request. If not set, a default value of 100 is used.</p>
/// - [`next_token(impl Into<String>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::set_next_token): <p>The token to retrieve the next set of results.</p>
/// - [`to_time_stamp(DateTime)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::to_time_stamp) / [`set_to_time_stamp(Option<DateTime>)`](crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::set_to_time_stamp): <p>The end date for the device event query, in ISO8061 format. For example, 2018-03-28T15:45:12.880Z </p>
/// - On success, responds with [`ListDeviceEventsOutput`](crate::operation::list_device_events::ListDeviceEventsOutput) with field(s):
/// - [`events(Option<Vec<DeviceEvent>>)`](crate::operation::list_device_events::ListDeviceEventsOutput::events): <p>An array of zero or more elements describing the event(s) associated with the device.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_device_events::ListDeviceEventsOutput::next_token): <p>The token to retrieve the next set of results.</p>
/// - On failure, responds with [`SdkError<ListDeviceEventsError>`](crate::operation::list_device_events::ListDeviceEventsError)
pub fn list_device_events(&self) -> crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder {
crate::operation::list_device_events::builders::ListDeviceEventsFluentBuilder::new(self.handle.clone())
}
}