libZSservicesZSamazonka-sqsZSamazonka-sqs
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.SQS.Types.BatchResultErrorEntry

Description

 
Synopsis

Documentation

data BatchResultErrorEntry Source #

Gives a detailed description of the result of an action on each entry in the request.

See: newBatchResultErrorEntry smart constructor.

Constructors

BatchResultErrorEntry' 

Fields

  • message :: Maybe Text

    A message explaining why the action failed on this entry.

  • id :: Text

    The Id of an entry in a batch request.

  • senderFault :: Bool

    Specifies whether the error happened due to the caller of the batch API action.

  • code :: Text

    An error code representing why the action failed on this entry.

Instances

Instances details
Eq BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Read BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Show BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Generic BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Associated Types

type Rep BatchResultErrorEntry :: Type -> Type #

NFData BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

Methods

rnf :: BatchResultErrorEntry -> () #

Hashable BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

FromXML BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

type Rep BatchResultErrorEntry Source # 
Instance details

Defined in Amazonka.SQS.Types.BatchResultErrorEntry

type Rep BatchResultErrorEntry = D1 ('MetaData "BatchResultErrorEntry" "Amazonka.SQS.Types.BatchResultErrorEntry" "libZSservicesZSamazonka-sqsZSamazonka-sqs" 'False) (C1 ('MetaCons "BatchResultErrorEntry'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "senderFault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newBatchResultErrorEntry Source #

Create a value of BatchResultErrorEntry 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:message:BatchResultErrorEntry', batchResultErrorEntry_message - A message explaining why the action failed on this entry.

$sel:id:BatchResultErrorEntry', batchResultErrorEntry_id - The Id of an entry in a batch request.

$sel:senderFault:BatchResultErrorEntry', batchResultErrorEntry_senderFault - Specifies whether the error happened due to the caller of the batch API action.

$sel:code:BatchResultErrorEntry', batchResultErrorEntry_code - An error code representing why the action failed on this entry.

batchResultErrorEntry_message :: Lens' BatchResultErrorEntry (Maybe Text) Source #

A message explaining why the action failed on this entry.

batchResultErrorEntry_id :: Lens' BatchResultErrorEntry Text Source #

The Id of an entry in a batch request.

batchResultErrorEntry_senderFault :: Lens' BatchResultErrorEntry Bool Source #

Specifies whether the error happened due to the caller of the batch API action.

batchResultErrorEntry_code :: Lens' BatchResultErrorEntry Text Source #

An error code representing why the action failed on this entry.