libZSservicesZSamazonka-voice-idZSamazonka-voice-id
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.VoiceId.Types.FailureDetails

Description

 
Synopsis

Documentation

data FailureDetails Source #

Contains error details for a failed batch job.

See: newFailureDetails smart constructor.

Constructors

FailureDetails' 

Fields

Instances

Instances details
Eq FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

Read FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

Show FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

Generic FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

Associated Types

type Rep FailureDetails :: Type -> Type #

NFData FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

Methods

rnf :: FailureDetails -> () #

Hashable FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

FromJSON FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

type Rep FailureDetails Source # 
Instance details

Defined in Amazonka.VoiceId.Types.FailureDetails

type Rep FailureDetails = D1 ('MetaData "FailureDetails" "Amazonka.VoiceId.Types.FailureDetails" "libZSservicesZSamazonka-voice-idZSamazonka-voice-id" 'False) (C1 ('MetaCons "FailureDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newFailureDetails :: FailureDetails Source #

Create a value of FailureDetails 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:FailureDetails', failureDetails_message - A description of the error that caused the batch job failure.

$sel:statusCode:FailureDetails', failureDetails_statusCode - An HTTP status code representing the nature of the error.

failureDetails_message :: Lens' FailureDetails (Maybe Text) Source #

A description of the error that caused the batch job failure.

failureDetails_statusCode :: Lens' FailureDetails (Maybe Int) Source #

An HTTP status code representing the nature of the error.