Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data LocationAction = LocationAction' {}
- newLocationAction :: Text -> Text -> Text -> Text -> Text -> LocationAction
- locationAction_timestamp :: Lens' LocationAction (Maybe LocationTimestamp)
- locationAction_roleArn :: Lens' LocationAction Text
- locationAction_trackerName :: Lens' LocationAction Text
- locationAction_deviceId :: Lens' LocationAction Text
- locationAction_latitude :: Lens' LocationAction Text
- locationAction_longitude :: Lens' LocationAction Text
Documentation
data LocationAction Source #
The Amazon Location rule action sends device location updates from an MQTT message to an Amazon Location tracker resource.
See: newLocationAction
smart constructor.
LocationAction' | |
|
Instances
Create a value of LocationAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timestamp:LocationAction'
, locationAction_timestamp
- The time that the location data was sampled. The default value is the
time the MQTT message was processed.
$sel:roleArn:LocationAction'
, locationAction_roleArn
- The IAM role that grants permission to write to the Amazon Location
resource.
$sel:trackerName:LocationAction'
, locationAction_trackerName
- The name of the tracker resource in Amazon Location in which the
location is updated.
$sel:deviceId:LocationAction'
, locationAction_deviceId
- The unique ID of the device providing the location data.
$sel:latitude:LocationAction'
, locationAction_latitude
- A string that evaluates to a double value that represents the latitude
of the device's location.
$sel:longitude:LocationAction'
, locationAction_longitude
- A string that evaluates to a double value that represents the longitude
of the device's location.
locationAction_timestamp :: Lens' LocationAction (Maybe LocationTimestamp) Source #
The time that the location data was sampled. The default value is the time the MQTT message was processed.
locationAction_roleArn :: Lens' LocationAction Text Source #
The IAM role that grants permission to write to the Amazon Location resource.
locationAction_trackerName :: Lens' LocationAction Text Source #
The name of the tracker resource in Amazon Location in which the location is updated.
locationAction_deviceId :: Lens' LocationAction Text Source #
The unique ID of the device providing the location data.
locationAction_latitude :: Lens' LocationAction Text Source #
A string that evaluates to a double value that represents the latitude of the device's location.
locationAction_longitude :: Lens' LocationAction Text Source #
A string that evaluates to a double value that represents the longitude of the device's location.