amazonka-appflow-2.0: Amazon Appflow SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AppFlow.Types.ErrorHandlingConfig

Description

 
Synopsis

Documentation

data ErrorHandlingConfig Source #

The settings that determine how Amazon AppFlow handles an error when placing data in the destination. For example, this setting would determine if the flow should fail after one insertion error, or continue and attempt to insert every record regardless of the initial failure. ErrorHandlingConfig is a part of the destination connector details.

See: newErrorHandlingConfig smart constructor.

Constructors

ErrorHandlingConfig' 

Fields

Instances

Instances details
FromJSON ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

ToJSON ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

Generic ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

Associated Types

type Rep ErrorHandlingConfig :: Type -> Type #

Read ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

Show ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

NFData ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

Methods

rnf :: ErrorHandlingConfig -> () #

Eq ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

Hashable ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

type Rep ErrorHandlingConfig Source # 
Instance details

Defined in Amazonka.AppFlow.Types.ErrorHandlingConfig

type Rep ErrorHandlingConfig = D1 ('MetaData "ErrorHandlingConfig" "Amazonka.AppFlow.Types.ErrorHandlingConfig" "amazonka-appflow-2.0-3aJWKTszi6ZKDtrkFSqVAB" 'False) (C1 ('MetaCons "ErrorHandlingConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "bucketPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "failOnFirstDestinationError") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

newErrorHandlingConfig :: ErrorHandlingConfig Source #

Create a value of ErrorHandlingConfig 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:bucketName:ErrorHandlingConfig', errorHandlingConfig_bucketName - Specifies the name of the Amazon S3 bucket.

$sel:bucketPrefix:ErrorHandlingConfig', errorHandlingConfig_bucketPrefix - Specifies the Amazon S3 bucket prefix.

$sel:failOnFirstDestinationError:ErrorHandlingConfig', errorHandlingConfig_failOnFirstDestinationError - Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.

errorHandlingConfig_bucketName :: Lens' ErrorHandlingConfig (Maybe Text) Source #

Specifies the name of the Amazon S3 bucket.

errorHandlingConfig_bucketPrefix :: Lens' ErrorHandlingConfig (Maybe Text) Source #

Specifies the Amazon S3 bucket prefix.

errorHandlingConfig_failOnFirstDestinationError :: Lens' ErrorHandlingConfig (Maybe Bool) Source #

Specifies if the flow should fail after the first instance of a failure when attempting to place data in the destination.