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.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 :: ISO8601

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

Instances

Instances details
FromJSON 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 #

Read BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Show BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

NFData BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Eq BatchUpdateDevicePositionError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchUpdateDevicePositionError

Hashable 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" "amazonka-location-2.0-4NLaYgEbMXwF6j2j7LAFNb" '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 ISO8601))))

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.