libZSservicesZSamazonka-locationZSamazonka-location
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Location.Types.DevicePositionUpdate

Description

 
Synopsis

Documentation

data DevicePositionUpdate Source #

Contains the position update details for a device.

See: newDevicePositionUpdate smart constructor.

Constructors

DevicePositionUpdate' 

Fields

Instances

Instances details
Eq DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Show DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Generic DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Associated Types

type Rep DevicePositionUpdate :: Type -> Type #

NFData DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

Methods

rnf :: DevicePositionUpdate -> () #

Hashable DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

ToJSON DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

type Rep DevicePositionUpdate Source # 
Instance details

Defined in Amazonka.Location.Types.DevicePositionUpdate

type Rep DevicePositionUpdate = D1 ('MetaData "DevicePositionUpdate" "Amazonka.Location.Types.DevicePositionUpdate" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "DevicePositionUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "position") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive (NonEmpty Double))) :*: S1 ('MetaSel ('Just "sampleTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 POSIX))))

newDevicePositionUpdate Source #

Create a value of DevicePositionUpdate 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:deviceId:DevicePositionUpdate', devicePositionUpdate_deviceId - The device associated to the position update.

$sel:position:DevicePositionUpdate', devicePositionUpdate_position - The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

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

devicePositionUpdate_deviceId :: Lens' DevicePositionUpdate Text Source #

The device associated to the position update.

devicePositionUpdate_position :: Lens' DevicePositionUpdate (NonEmpty Double) Source #

The latest device position defined in WGS 84 format: [X or longitude, Y or latitude].

devicePositionUpdate_sampleTime :: Lens' DevicePositionUpdate UTCTime Source #

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