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.BatchUpdateDevicePosition

Description

Uploads position update data for one or more devices to a tracker resource. Amazon Location uses the data when it reports the last known device position and position history. Amazon Location retains location data for 30 days.

Position updates are handled based on the PositionFiltering property of the tracker. When PositionFiltering is set to TimeBased, updates are evaluated against linked geofence collections, and location data is stored at a maximum of one position per 30 second interval. If your update frequency is more often than every 30 seconds, only one update per 30 seconds is stored for each unique device ID. When PositionFiltering is set to DistanceBased filtering, location data is stored and evaluated against linked geofence collections only if the device has moved more than 30 m (98.4 ft).

Synopsis

Creating a Request

data BatchUpdateDevicePosition Source #

See: newBatchUpdateDevicePosition smart constructor.

Constructors

BatchUpdateDevicePosition' 

Fields

Instances

Instances details
Eq BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Show BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Generic BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Associated Types

type Rep BatchUpdateDevicePosition :: Type -> Type #

NFData BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Hashable BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

ToJSON BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

AWSRequest BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

ToHeaders BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

ToPath BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

ToQuery BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

type Rep BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

type Rep BatchUpdateDevicePosition = D1 ('MetaData "BatchUpdateDevicePosition" "Amazonka.Location.BatchUpdateDevicePosition" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "BatchUpdateDevicePosition'" 'PrefixI 'True) (S1 ('MetaSel ('Just "trackerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "updates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty DevicePositionUpdate))))
type AWSResponse BatchUpdateDevicePosition Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

newBatchUpdateDevicePosition Source #

Create a value of BatchUpdateDevicePosition 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:trackerName:BatchUpdateDevicePosition', batchUpdateDevicePosition_trackerName - The name of the tracker resource to update.

$sel:updates:BatchUpdateDevicePosition', batchUpdateDevicePosition_updates - Contains the position update details for each device.

Request Lenses

Destructuring the Response

data BatchUpdateDevicePositionResponse Source #

See: newBatchUpdateDevicePositionResponse smart constructor.

Constructors

BatchUpdateDevicePositionResponse' 

Fields

Instances

Instances details
Eq BatchUpdateDevicePositionResponse Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Read BatchUpdateDevicePositionResponse Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Show BatchUpdateDevicePositionResponse Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Generic BatchUpdateDevicePositionResponse Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

Associated Types

type Rep BatchUpdateDevicePositionResponse :: Type -> Type #

NFData BatchUpdateDevicePositionResponse Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

type Rep BatchUpdateDevicePositionResponse Source # 
Instance details

Defined in Amazonka.Location.BatchUpdateDevicePosition

type Rep BatchUpdateDevicePositionResponse = D1 ('MetaData "BatchUpdateDevicePositionResponse" "Amazonka.Location.BatchUpdateDevicePosition" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "BatchUpdateDevicePositionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "errors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [BatchUpdateDevicePositionError])))

newBatchUpdateDevicePositionResponse Source #

Create a value of BatchUpdateDevicePositionResponse 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:httpStatus:BatchUpdateDevicePositionResponse', batchUpdateDevicePositionResponse_httpStatus - The response's http status code.

$sel:errors:BatchUpdateDevicePositionResponse', batchUpdateDevicePositionResponse_errors - Contains error details for each device that failed to update its position.

Response Lenses

batchUpdateDevicePositionResponse_errors :: Lens' BatchUpdateDevicePositionResponse [BatchUpdateDevicePositionError] Source #

Contains error details for each device that failed to update its position.