Struct aws_sdk_iot::types::LocationAction
source · #[non_exhaustive]pub struct LocationAction { /* private fields */ }
Expand description
The Amazon Location rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
Implementations§
source§impl LocationAction
impl LocationAction
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The IAM role that grants permission to write to the Amazon Location resource.
sourcepub fn tracker_name(&self) -> Option<&str>
pub fn tracker_name(&self) -> Option<&str>
The name of the tracker resource in Amazon Location in which the location is updated.
sourcepub fn device_id(&self) -> Option<&str>
pub fn device_id(&self) -> Option<&str>
The unique ID of the device providing the location data.
sourcepub fn timestamp(&self) -> Option<&LocationTimestamp>
pub fn timestamp(&self) -> Option<&LocationTimestamp>
The time that the location data was sampled. The default value is the time the MQTT message was processed.
source§impl LocationAction
impl LocationAction
sourcepub fn builder() -> LocationActionBuilder
pub fn builder() -> LocationActionBuilder
Creates a new builder-style object to manufacture LocationAction
.
Trait Implementations§
source§impl Clone for LocationAction
impl Clone for LocationAction
source§fn clone(&self) -> LocationAction
fn clone(&self) -> LocationAction
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LocationAction
impl Debug for LocationAction
source§impl PartialEq<LocationAction> for LocationAction
impl PartialEq<LocationAction> for LocationAction
source§fn eq(&self, other: &LocationAction) -> bool
fn eq(&self, other: &LocationAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LocationAction
Auto Trait Implementations§
impl RefUnwindSafe for LocationAction
impl Send for LocationAction
impl Sync for LocationAction
impl Unpin for LocationAction
impl UnwindSafe for LocationAction
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more