You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Appflow::Types::SalesforceDestinationProperties

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SalesforceDestinationProperties as input to an Aws::Client method, you can use a vanilla Hash:

{
  object: "Object", # required
  id_field_names: ["Name"],
  error_handling_config: {
    fail_on_first_destination_error: false,
    bucket_prefix: "BucketPrefix",
    bucket_name: "BucketName",
  },
  write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
}

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#error_handling_configTypes::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.

Returns:

  • (Types::ErrorHandlingConfig)

    The settings that determine how Amazon AppFlow handles an error when placing data in the Salesforce destination.

#id_field_namesArray<String>

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

Returns:

  • (Array<String>)

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

#objectString

The object specified in the Salesforce flow destination.

Returns:

  • (String)

    The object specified in the Salesforce flow destination.

#write_operation_typeString

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

Possible values:

  • INSERT
  • UPSERT
  • UPDATE

Returns:

  • (String)

    This specifies the type of write operation to be performed in Salesforce.