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

Description

 
Synopsis

Documentation

data BatchItemError Source #

Contains the batch request error details associated with the request.

See: newBatchItemError smart constructor.

Constructors

BatchItemError' 

Fields

Instances

Instances details
Eq BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Read BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Show BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Generic BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Associated Types

type Rep BatchItemError :: Type -> Type #

NFData BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

Methods

rnf :: BatchItemError -> () #

Hashable BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

FromJSON BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

type Rep BatchItemError Source # 
Instance details

Defined in Amazonka.Location.Types.BatchItemError

type Rep BatchItemError = D1 ('MetaData "BatchItemError" "Amazonka.Location.Types.BatchItemError" "libZSservicesZSamazonka-locationZSamazonka-location" 'False) (C1 ('MetaCons "BatchItemError'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BatchItemErrorCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBatchItemError :: BatchItemError Source #

Create a value of BatchItemError 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:code:BatchItemError', batchItemError_code - The error code associated with the batch request error.

$sel:message:BatchItemError', batchItemError_message - A message with the reason for the batch request error.

batchItemError_code :: Lens' BatchItemError (Maybe BatchItemErrorCode) Source #

The error code associated with the batch request error.

batchItemError_message :: Lens' BatchItemError (Maybe Text) Source #

A message with the reason for the batch request error.