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

Description

 
Synopsis

Documentation

data BatchUpdateDevicePositionError Source #

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

See: newBatchUpdateDevicePositionError smart constructor.

Constructors

BatchUpdateDevicePositionError' 

Fields

  • deviceId :: Text

    The device associated with the failed location update.

  • error :: BatchItemError

    Contains details related to the error code such as the error code and error message.

  • sampleTime :: POSIX

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

Instances

Instances details
Eq BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Read BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Show BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Generic BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Associated Types

type Rep BatchUpdateDevicePositionError :: Type -> Type #

NFData BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Hashable BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

FromJSON BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

type Rep BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

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

newBatchUpdateDevicePositionError Source #

Create a value of BatchUpdateDevicePositionError 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:BatchUpdateDevicePositionError', batchUpdateDevicePositionError_deviceId - The device associated with the failed location update.

$sel:error:BatchUpdateDevicePositionError', batchUpdateDevicePositionError_error - Contains details related to the error code such as the error code and error message.

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

batchUpdateDevicePositionError_deviceId :: Lens' BatchUpdateDevicePositionError Text Source #

The device associated with the failed location update.

batchUpdateDevicePositionError_error :: Lens' BatchUpdateDevicePositionError BatchItemError Source #

Contains details related to the error code such as the error code and error message.

batchUpdateDevicePositionError_sampleTime :: Lens' BatchUpdateDevicePositionError UTCTime Source #

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