amazonka-location-2.0: Amazon Location Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Location.Types.DevicePosition

Description

 
Synopsis

Documentation

data DevicePosition Source #

Contains the device position details.

See: newDevicePosition smart constructor.

Constructors

DevicePosition' 

Fields

Instances

Instances details
FromJSON DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Generic DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Associated Types

type Rep DevicePosition :: Type -> Type #

Show DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

NFData DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Methods

rnf :: DevicePosition -> () #

Eq DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

Hashable DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

type Rep DevicePosition Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePosition

newDevicePosition Source #

Create a value of DevicePosition 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:accuracy:DevicePosition', devicePosition_accuracy - The accuracy of the device position.

$sel:deviceId:DevicePosition', devicePosition_deviceId - The device whose position you retrieved.

$sel:positionProperties:DevicePosition', devicePosition_positionProperties - The properties associated with the position.

$sel:position:DevicePosition', devicePosition_position - The last known device position.

$sel:receivedTime:DevicePosition', devicePosition_receivedTime - The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

$sel:sampleTime:DevicePosition', devicePosition_sampleTime - The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

devicePosition_deviceId :: Lens' DevicePosition (Maybe Text) Source #

The device whose position you retrieved.

devicePosition_positionProperties :: Lens' DevicePosition (Maybe (HashMap Text Text)) Source #

The properties associated with the position.

devicePosition_position :: Lens' DevicePosition (NonEmpty Double) Source #

The last known device position.

devicePosition_receivedTime :: Lens' DevicePosition UTCTime Source #

The timestamp for when the tracker resource received the device position in ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.

devicePosition_sampleTime :: Lens' DevicePosition UTCTime Source #

The timestamp at which the device's position was determined. Uses ISO 8601 format: YYYY-MM-DDThh:mm:ss.sssZ.