pub struct UpdateResourcePosition { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateResourcePosition
.
Update the position information of a given wireless device or a wireless gateway resource. The postion coordinates are based on the World Geodetic System (WGS84).
Implementations§
source§impl UpdateResourcePosition
impl UpdateResourcePosition
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateResourcePosition, AwsResponseRetryClassifier>, SdkError<UpdateResourcePositionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateResourcePosition, AwsResponseRetryClassifier>, SdkError<UpdateResourcePositionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<UpdateResourcePositionOutput, SdkError<UpdateResourcePositionError>>
pub async fn send(
self
) -> Result<UpdateResourcePositionOutput, SdkError<UpdateResourcePositionError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn resource_identifier(self, input: impl Into<String>) -> Self
pub fn resource_identifier(self, input: impl Into<String>) -> Self
The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID depending on the resource type.
sourcepub fn set_resource_identifier(self, input: Option<String>) -> Self
pub fn set_resource_identifier(self, input: Option<String>) -> Self
The identifier of the resource for which position information is updated. It can be the wireless device ID or the wireless gateway ID depending on the resource type.
sourcepub fn resource_type(self, input: PositionResourceType) -> Self
pub fn resource_type(self, input: PositionResourceType) -> Self
The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
sourcepub fn set_resource_type(self, input: Option<PositionResourceType>) -> Self
pub fn set_resource_type(self, input: Option<PositionResourceType>) -> Self
The type of resource for which position information is updated, which can be a wireless device or a wireless gateway.
sourcepub fn geo_json_payload(self, input: Blob) -> Self
pub fn geo_json_payload(self, input: Blob) -> Self
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
sourcepub fn set_geo_json_payload(self, input: Option<Blob>) -> Self
pub fn set_geo_json_payload(self, input: Option<Blob>) -> Self
The position information of the resource, displayed as a JSON payload. The payload uses the GeoJSON format, which a format that's used to encode geographic data structures. For more information, see GeoJSON.
Trait Implementations§
source§impl Clone for UpdateResourcePosition
impl Clone for UpdateResourcePosition
source§fn clone(&self) -> UpdateResourcePosition
fn clone(&self) -> UpdateResourcePosition
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more