aws_sdk_iotwireless/client/
get_position.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetPosition`](crate::operation::get_position::builders::GetPositionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`resource_identifier(impl Into<String>)`](crate::operation::get_position::builders::GetPositionFluentBuilder::resource_identifier) / [`set_resource_identifier(Option<String>)`](crate::operation::get_position::builders::GetPositionFluentBuilder::set_resource_identifier):<br>required: **true**<br><p>Resource identifier used to retrieve the position information.</p><br>
7    ///   - [`resource_type(PositionResourceType)`](crate::operation::get_position::builders::GetPositionFluentBuilder::resource_type) / [`set_resource_type(Option<PositionResourceType>)`](crate::operation::get_position::builders::GetPositionFluentBuilder::set_resource_type):<br>required: **true**<br><p>Resource type of the resource for which position information is retrieved.</p><br>
8    /// - On success, responds with [`GetPositionOutput`](crate::operation::get_position::GetPositionOutput) with field(s):
9    ///   - [`position(Option<Vec::<f32>>)`](crate::operation::get_position::GetPositionOutput::position): <p>The position information of the resource.</p>
10    ///   - [`accuracy(Option<Accuracy>)`](crate::operation::get_position::GetPositionOutput::accuracy): <p>The accuracy of the estimated position in meters. An empty value indicates that no position data is available. A value of ‘0.0’ value indicates that position data is available. This data corresponds to the position information that you specified instead of the position computed by solver.</p>
11    ///   - [`solver_type(Option<PositionSolverType>)`](crate::operation::get_position::GetPositionOutput::solver_type): <p>The type of solver used to identify the position of the resource.</p>
12    ///   - [`solver_provider(Option<PositionSolverProvider>)`](crate::operation::get_position::GetPositionOutput::solver_provider): <p>The vendor of the positioning solver.</p>
13    ///   - [`solver_version(Option<String>)`](crate::operation::get_position::GetPositionOutput::solver_version): <p>The version of the positioning solver.</p>
14    ///   - [`timestamp(Option<String>)`](crate::operation::get_position::GetPositionOutput::timestamp): <p>The timestamp at which the device's position was determined.</p>
15    /// - On failure, responds with [`SdkError<GetPositionError>`](crate::operation::get_position::GetPositionError)
16    #[deprecated(note = "This operation is no longer supported.")]
17    pub fn get_position(&self) -> crate::operation::get_position::builders::GetPositionFluentBuilder {
18        crate::operation::get_position::builders::GetPositionFluentBuilder::new(self.handle.clone())
19    }
20}