libZSservicesZSamazonka-appflowZSamazonka-appflow
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.AppFlow.Types.ErrorInfo

Description

 
Synopsis

Documentation

data ErrorInfo Source #

Provides details in the event of a failed flow, including the failure count and the related error messages.

See: newErrorInfo smart constructor.

Constructors

ErrorInfo' 

Fields

Instances

Instances details
Eq ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

Read ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

Show ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

Generic ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

Associated Types

type Rep ErrorInfo :: Type -> Type #

NFData ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

Methods

rnf :: ErrorInfo -> () #

Hashable ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

FromJSON ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

type Rep ErrorInfo Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorInfo

type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.AppFlow.Types.ErrorInfo" "libZSservicesZSamazonka-appflowZSamazonka-appflow" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "executionMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "putFailuresCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))

newErrorInfo :: ErrorInfo Source #

Create a value of ErrorInfo 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:executionMessage:ErrorInfo', errorInfo_executionMessage - Specifies the error message that appears if a flow fails.

$sel:putFailuresCount:ErrorInfo', errorInfo_putFailuresCount - Specifies the failure count for the attempted flow.

errorInfo_executionMessage :: Lens' ErrorInfo (Maybe Text) Source #

Specifies the error message that appears if a flow fails.

errorInfo_putFailuresCount :: Lens' ErrorInfo (Maybe Integer) Source #

Specifies the failure count for the attempted flow.