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 [`GetPositionEstimate`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`wi_fi_access_points(WiFiAccessPoint)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::wi_fi_access_points) / [`set_wi_fi_access_points(Option<Vec::<WiFiAccessPoint>>)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::set_wi_fi_access_points):<br>required: **false**<br><p>Retrieves an estimated device position by resolving WLAN measurement data. The position is resolved using HERE's Wi-Fi based solver.</p><br>
    ///   - [`cell_towers(CellTowers)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::cell_towers) / [`set_cell_towers(Option<CellTowers>)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::set_cell_towers):<br>required: **false**<br><p>Retrieves an estimated device position by resolving measurement data from cellular radio towers. The position is resolved using HERE's cellular-based solver.</p><br>
    ///   - [`ip(Ip)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::ip) / [`set_ip(Option<Ip>)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::set_ip):<br>required: **false**<br><p>Retrieves an estimated device position by resolving the IP address information from the device. The position is resolved using MaxMind's IP-based solver.</p><br>
    ///   - [`gnss(Gnss)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::gnss) / [`set_gnss(Option<Gnss>)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::set_gnss):<br>required: **false**<br><p>Retrieves an estimated device position by resolving the global navigation satellite system (GNSS) scan data. The position is resolved using the GNSS solver powered by LoRa Cloud.</p><br>
    ///   - [`timestamp(DateTime)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::timestamp) / [`set_timestamp(Option<DateTime>)`](crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::set_timestamp):<br>required: **false**<br><p>Optional information that specifies the time when the position information will be resolved. It uses the Unix timestamp format. If not specified, the time at which the request was received will be used.</p><br>
    /// - On success, responds with [`GetPositionEstimateOutput`](crate::operation::get_position_estimate::GetPositionEstimateOutput) with field(s):
    ///   - [`geo_json_payload(Option<Blob>)`](crate::operation::get_position_estimate::GetPositionEstimateOutput::geo_json_payload): <p>The position information of the resource, displayed as a JSON payload. The payload is of type blob and uses the <a href="https://geojson.org/">GeoJSON</a> format, which a format that's used to encode geographic data structures. A sample payload contains the timestamp information, the WGS84 coordinates of the location, and the accuracy and confidence level. For more information and examples, see <a href="https://docs.aws.amazon.com/iot/latest/developerguide/location-resolve-console.html">Resolve device location (console)</a>.</p>
    /// - On failure, responds with [`SdkError<GetPositionEstimateError>`](crate::operation::get_position_estimate::GetPositionEstimateError)
    pub fn get_position_estimate(&self) -> crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder {
        crate::operation::get_position_estimate::builders::GetPositionEstimateFluentBuilder::new(self.handle.clone())
    }
}