aws-sdk-location 0.31.0

AWS SDK for Amazon Location Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`ListDevicePositions`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder) operation.
    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::into_paginator).
    ///
    /// - The fluent builder is configurable:
    ///   - [`tracker_name(impl Into<String>)`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::tracker_name) / [`set_tracker_name(Option<String>)`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::set_tracker_name): <p>The tracker resource containing the requested devices.</p>
    ///   - [`max_results(i32)`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::set_max_results): <p>An optional limit for the number of entries returned in a single call.</p>  <p>Default value: <code>100</code> </p>
    ///   - [`next_token(impl Into<String>)`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::set_next_token): <p>The pagination token specifying which page of results to return in the response. If no token is provided, the default page is the first page.</p>  <p>Default value: <code>null</code> </p>
    /// - On success, responds with [`ListDevicePositionsOutput`](crate::operation::list_device_positions::ListDevicePositionsOutput) with field(s):
    ///   - [`entries(Option<Vec<ListDevicePositionsResponseEntry>>)`](crate::operation::list_device_positions::ListDevicePositionsOutput::entries): <p>Contains details about each device's last known position. These details includes the device ID, the time when the position was sampled on the device, the time that the service received the update, and the most recent coordinates.</p>
    ///   - [`next_token(Option<String>)`](crate::operation::list_device_positions::ListDevicePositionsOutput::next_token): <p>A pagination token indicating there are additional pages available. You can use the token in a following request to fetch the next set of results.</p>
    /// - On failure, responds with [`SdkError<ListDevicePositionsError>`](crate::operation::list_device_positions::ListDevicePositionsError)
    pub fn list_device_positions(&self) -> crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder {
        crate::operation::list_device_positions::builders::ListDevicePositionsFluentBuilder::new(self.handle.clone())
    }
}