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.SalesforceDestinationProperties

Description

 
Synopsis

Documentation

data SalesforceDestinationProperties Source #

The properties that are applied when Salesforce is being used as a destination.

See: newSalesforceDestinationProperties smart constructor.

Constructors

SalesforceDestinationProperties' 

Fields

  • writeOperationType :: Maybe WriteOperationType

    This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.

  • idFieldNames :: Maybe [Text]

    The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.

  • errorHandlingConfig :: Maybe ErrorHandlingConfig

    The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce 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.

  • object' :: Text

    The object specified in the Salesforce flow destination.

Instances

Instances details
Eq SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

Read SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

Show SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

Generic SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

Associated Types

type Rep SalesforceDestinationProperties :: Type -> Type #

NFData SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

Hashable SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

ToJSON SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

FromJSON SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

type Rep SalesforceDestinationProperties Source # 
Instance details

Defined in Amazonka.AppFlow.Types.SalesforceDestinationProperties

type Rep SalesforceDestinationProperties = D1 ('MetaData "SalesforceDestinationProperties" "Amazonka.AppFlow.Types.SalesforceDestinationProperties" "libZSservicesZSamazonka-appflowZSamazonka-appflow" 'False) (C1 ('MetaCons "SalesforceDestinationProperties'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "writeOperationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WriteOperationType)) :*: S1 ('MetaSel ('Just "idFieldNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "errorHandlingConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorHandlingConfig)) :*: S1 ('MetaSel ('Just "object'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newSalesforceDestinationProperties Source #

Create a value of SalesforceDestinationProperties 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:writeOperationType:SalesforceDestinationProperties', salesforceDestinationProperties_writeOperationType - This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.

$sel:idFieldNames:SalesforceDestinationProperties', salesforceDestinationProperties_idFieldNames - The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.

$sel:errorHandlingConfig:SalesforceDestinationProperties', salesforceDestinationProperties_errorHandlingConfig - The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce 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.

$sel:object':SalesforceDestinationProperties', salesforceDestinationProperties_object - The object specified in the Salesforce flow destination.

salesforceDestinationProperties_writeOperationType :: Lens' SalesforceDestinationProperties (Maybe WriteOperationType) Source #

This specifies the type of write operation to be performed in Salesforce. When the value is UPSERT, then idFieldNames is required.

salesforceDestinationProperties_idFieldNames :: Lens' SalesforceDestinationProperties (Maybe [Text]) Source #

The name of the field that Amazon AppFlow uses as an ID when performing a write operation such as update or delete.

salesforceDestinationProperties_errorHandlingConfig :: Lens' SalesforceDestinationProperties (Maybe ErrorHandlingConfig) Source #

The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce 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.

salesforceDestinationProperties_object :: Lens' SalesforceDestinationProperties Text Source #

The object specified in the Salesforce flow destination.