libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.FailureDetails

Description

 
Synopsis

Documentation

data FailureDetails Source #

The details of the step failure. The service attempts to detect the root cause for many common failures.

See: newFailureDetails smart constructor.

Constructors

FailureDetails' 

Fields

  • logFile :: Maybe Text

    The path to the log file where the step failure root cause was originally recorded.

  • reason :: Maybe Text

    The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.

  • message :: Maybe Text

    The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.

Instances

Instances details
Eq FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

Read FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

Show FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

Generic FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

Associated Types

type Rep FailureDetails :: Type -> Type #

NFData FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

Methods

rnf :: FailureDetails -> () #

Hashable FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

FromJSON FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

type Rep FailureDetails Source # 
Instance details

Defined in Amazonka.EMR.Types.FailureDetails

type Rep FailureDetails = D1 ('MetaData "FailureDetails" "Amazonka.EMR.Types.FailureDetails" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "FailureDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logFile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

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:logFile:FailureDetails', failureDetails_logFile - The path to the log file where the step failure root cause was originally recorded.

$sel:reason:FailureDetails', failureDetails_reason - The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.

$sel:message:FailureDetails', failureDetails_message - The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.

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

The path to the log file where the step failure root cause was originally recorded.

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

The reason for the step failure. In the case where the service cannot successfully determine the root cause of the failure, it returns "Unknown Error" as a reason.

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

The descriptive message including the error the Amazon EMR service has identified as the cause of step failure. This is text from an error log that describes the root cause of the failure.