|
3365 | 3365 | "MATH_OPERATION_FIELDS_ORDER",
|
3366 | 3366 | "CONCAT_FORMAT",
|
3367 | 3367 | "SUBFIELD_CATEGORY_MAP",
|
3368 |
| - "EXCLUDE_SOURCE_FIELDS_LIST" |
| 3368 | + "EXCLUDE_SOURCE_FIELDS_LIST", |
| 3369 | + "INCLUDE_NEW_FIELDS" |
3369 | 3370 | ]
|
3370 | 3371 | },
|
3371 | 3372 | "Operators":{
|
|
3941 | 3942 | },
|
3942 | 3943 | "documentation":"<p> The connector-specific profile properties required when using Salesforce. </p>"
|
3943 | 3944 | },
|
| 3945 | + "SalesforceDataTransferApi":{ |
| 3946 | + "type":"string", |
| 3947 | + "enum":[ |
| 3948 | + "AUTOMATIC", |
| 3949 | + "BULKV2", |
| 3950 | + "REST_SYNC" |
| 3951 | + ] |
| 3952 | + }, |
| 3953 | + "SalesforceDataTransferApiList":{ |
| 3954 | + "type":"list", |
| 3955 | + "member":{"shape":"SalesforceDataTransferApi"} |
| 3956 | + }, |
3944 | 3957 | "SalesforceDestinationProperties":{
|
3945 | 3958 | "type":"structure",
|
3946 | 3959 | "required":["object"],
|
|
3960 | 3973 | "writeOperationType":{
|
3961 | 3974 | "shape":"WriteOperationType",
|
3962 | 3975 | "documentation":"<p> This specifies the type of write operation to be performed in Salesforce. When the value is <code>UPSERT</code>, then <code>idFieldNames</code> is required. </p>"
|
| 3976 | + }, |
| 3977 | + "dataTransferApi":{ |
| 3978 | + "shape":"SalesforceDataTransferApi", |
| 3979 | + "documentation":"<p>Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data to Salesforce.</p> <dl> <dt>AUTOMATIC</dt> <dd> <p>The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers to Salesforce. If your flow transfers fewer than 1,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0.</p> <p>Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900 records, and it might use Bulk API 2.0 on the next day to transfer 1,100 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields.</p> <p>By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output.</p> </dd> <dt>BULKV2</dt> <dd> <p>Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers.</p> <p>Note that Bulk API 2.0 does not transfer Salesforce compound fields.</p> </dd> <dt>REST_SYNC</dt> <dd> <p>Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail with a timed out error.</p> </dd> </dl>" |
3963 | 3980 | }
|
3964 | 3981 | },
|
3965 | 3982 | "documentation":"<p> The properties that are applied when Salesforce is being used as a destination. </p>"
|
|
3970 | 3987 | "oAuthScopes":{
|
3971 | 3988 | "shape":"OAuthScopeList",
|
3972 | 3989 | "documentation":"<p> The desired authorization scope for the Salesforce account. </p>"
|
| 3990 | + }, |
| 3991 | + "dataTransferApis":{ |
| 3992 | + "shape":"SalesforceDataTransferApiList", |
| 3993 | + "documentation":"<p>The Salesforce APIs that you can have Amazon AppFlow use when your flows transfers data to or from Salesforce.</p>" |
3973 | 3994 | }
|
3974 | 3995 | },
|
3975 | 3996 | "documentation":"<p> The connector metadata specific to Salesforce. </p>"
|
|
3989 | 4010 | "includeDeletedRecords":{
|
3990 | 4011 | "shape":"Boolean",
|
3991 | 4012 | "documentation":"<p> Indicates whether Amazon AppFlow includes deleted files in the flow run. </p>"
|
| 4013 | + }, |
| 4014 | + "dataTransferApi":{ |
| 4015 | + "shape":"SalesforceDataTransferApi", |
| 4016 | + "documentation":"<p>Specifies which Salesforce API is used by Amazon AppFlow when your flow transfers data from Salesforce.</p> <dl> <dt>AUTOMATIC</dt> <dd> <p>The default. Amazon AppFlow selects which API to use based on the number of records that your flow transfers from Salesforce. If your flow transfers fewer than 1,000,000 records, Amazon AppFlow uses Salesforce REST API. If your flow transfers 1,000,000 records or more, Amazon AppFlow uses Salesforce Bulk API 2.0.</p> <p>Each of these Salesforce APIs structures data differently. If Amazon AppFlow selects the API automatically, be aware that, for recurring flows, the data output might vary from one flow run to the next. For example, if a flow runs daily, it might use REST API on one day to transfer 900,000 records, and it might use Bulk API 2.0 on the next day to transfer 1,100,000 records. For each of these flow runs, the respective Salesforce API formats the data differently. Some of the differences include how dates are formatted and null values are represented. Also, Bulk API 2.0 doesn't transfer Salesforce compound fields.</p> <p>By choosing this option, you optimize flow performance for both small and large data transfers, but the tradeoff is inconsistent formatting in the output.</p> </dd> <dt>BULKV2</dt> <dd> <p>Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs asynchronous data transfers, and it's optimal for large sets of data. By choosing this option, you ensure that your flow writes consistent output, but you optimize performance only for large data transfers.</p> <p>Note that Bulk API 2.0 does not transfer Salesforce compound fields.</p> </dd> <dt>REST_SYNC</dt> <dd> <p>Amazon AppFlow uses only Salesforce REST API. By choosing this option, you ensure that your flow writes consistent output, but you decrease performance for large data transfers that are better suited for Bulk API 2.0. In some cases, if your flow attempts to transfer a vary large set of data, it might fail with a timed out error.</p> </dd> </dl>" |
3992 | 4017 | }
|
3993 | 4018 | },
|
3994 | 4019 | "documentation":"<p> The properties that are applied when Salesforce is being used as a source. </p>"
|
|
0 commit comments