aws-sdk-appflow 1.26.0 → 1.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appflow/client.rb +21 -3
- data/lib/aws-sdk-appflow/client_api.rb +11 -0
- data/lib/aws-sdk-appflow/types.rb +166 -9
- data/lib/aws-sdk-appflow.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69f0934da037fc9f5300a97e0cde240614cca8106e76556b67ce47aa4724c27d
|
4
|
+
data.tar.gz: d1e4385cca3d5471c8bcac97719d0b9e5f3a10bc84890cb7c61bdbf6a132971d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '0538ecd074aa0f5a142fcf0ac55c218bd399396981d2c3507179d1773c174551be68d5aa53c599e244097fc6ee45e43572793d45311e60ce51ed9bbb11ed2e9e'
|
7
|
+
data.tar.gz: b040a98eaf501afa752a8415feb7b0341e124d2c7406331d2b2ce0a25100293c946d57a43fa47ed60d169be7242e763d4b54bd86aa69aefb3ebe4307572320ed
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.28.0 (2022-10-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - With this update, you can choose which Salesforce API is used by Amazon AppFlow to transfer data to or from your Salesforce account. You can choose the Salesforce REST API or Bulk API 2.0. You can also choose for Amazon AppFlow to pick the API automatically.
|
8
|
+
|
9
|
+
1.27.0 (2022-05-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Adding the following features/changes: Parquet output that preserves typing from the source connector, Failed executions threshold before deactivation for scheduled flows, increasing max size of access and refresh token from 2048 to 4096
|
13
|
+
|
4
14
|
1.26.0 (2022-04-14)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.28.0
|
@@ -355,7 +355,9 @@ module Aws::Appflow
|
|
355
355
|
# Services account. There is a soft quota of 100 connector profiles per
|
356
356
|
# Amazon Web Services account. If you need more connector profiles than
|
357
357
|
# this quota allows, you can submit a request to the Amazon AppFlow team
|
358
|
-
# through the Amazon AppFlow support channel.
|
358
|
+
# through the Amazon AppFlow support channel. In each connector profile
|
359
|
+
# that you create, you can provide the credentials and properties for
|
360
|
+
# only one connector.
|
359
361
|
#
|
360
362
|
# @option params [required, String] :connector_profile_name
|
361
363
|
# The name of the connector profile. The name is unique for each
|
@@ -691,6 +693,7 @@ module Aws::Appflow
|
|
691
693
|
# timezone: "Timezone",
|
692
694
|
# schedule_offset: 1,
|
693
695
|
# first_execution_from: Time.now,
|
696
|
+
# flow_error_deactivation_threshold: 1,
|
694
697
|
# },
|
695
698
|
# },
|
696
699
|
# },
|
@@ -728,6 +731,7 @@ module Aws::Appflow
|
|
728
731
|
# object: "Object", # required
|
729
732
|
# enable_dynamic_field_update: false,
|
730
733
|
# include_deleted_records: false,
|
734
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
731
735
|
# },
|
732
736
|
# service_now: {
|
733
737
|
# object: "Object", # required
|
@@ -793,6 +797,7 @@ module Aws::Appflow
|
|
793
797
|
# aggregation_config: {
|
794
798
|
# aggregation_type: "None", # accepts None, SingleFile
|
795
799
|
# },
|
800
|
+
# preserve_source_data_typing: false,
|
796
801
|
# },
|
797
802
|
# },
|
798
803
|
# salesforce: {
|
@@ -804,6 +809,7 @@ module Aws::Appflow
|
|
804
809
|
# bucket_name: "BucketName",
|
805
810
|
# },
|
806
811
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
812
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
807
813
|
# },
|
808
814
|
# snowflake: {
|
809
815
|
# object: "Object", # required
|
@@ -1044,6 +1050,8 @@ module Aws::Appflow
|
|
1044
1050
|
# resp.connector_configuration.connector_metadata.google_analytics.o_auth_scopes[0] #=> String
|
1045
1051
|
# resp.connector_configuration.connector_metadata.salesforce.o_auth_scopes #=> Array
|
1046
1052
|
# resp.connector_configuration.connector_metadata.salesforce.o_auth_scopes[0] #=> String
|
1053
|
+
# resp.connector_configuration.connector_metadata.salesforce.data_transfer_apis #=> Array
|
1054
|
+
# resp.connector_configuration.connector_metadata.salesforce.data_transfer_apis[0] #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1047
1055
|
# resp.connector_configuration.connector_metadata.slack.o_auth_scopes #=> Array
|
1048
1056
|
# resp.connector_configuration.connector_metadata.slack.o_auth_scopes[0] #=> String
|
1049
1057
|
# resp.connector_configuration.connector_metadata.snowflake.supported_regions #=> Array
|
@@ -1123,7 +1131,7 @@ module Aws::Appflow
|
|
1123
1131
|
end
|
1124
1132
|
|
1125
1133
|
# Provides details regarding the entity used with the connector, with a
|
1126
|
-
# description of the data model for each entity.
|
1134
|
+
# description of the data model for each field in that entity.
|
1127
1135
|
#
|
1128
1136
|
# @option params [required, String] :connector_entity_name
|
1129
1137
|
# The entity name for that connector.
|
@@ -1353,6 +1361,8 @@ module Aws::Appflow
|
|
1353
1361
|
# resp.connector_configurations["ConnectorType"].connector_metadata.google_analytics.o_auth_scopes[0] #=> String
|
1354
1362
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.o_auth_scopes #=> Array
|
1355
1363
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.o_auth_scopes[0] #=> String
|
1364
|
+
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.data_transfer_apis #=> Array
|
1365
|
+
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.data_transfer_apis[0] #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1356
1366
|
# resp.connector_configurations["ConnectorType"].connector_metadata.slack.o_auth_scopes #=> Array
|
1357
1367
|
# resp.connector_configurations["ConnectorType"].connector_metadata.slack.o_auth_scopes[0] #=> String
|
1358
1368
|
# resp.connector_configurations["ConnectorType"].connector_metadata.snowflake.supported_regions #=> Array
|
@@ -1499,6 +1509,7 @@ module Aws::Appflow
|
|
1499
1509
|
# resp.source_flow_config.source_connector_properties.salesforce.object #=> String
|
1500
1510
|
# resp.source_flow_config.source_connector_properties.salesforce.enable_dynamic_field_update #=> Boolean
|
1501
1511
|
# resp.source_flow_config.source_connector_properties.salesforce.include_deleted_records #=> Boolean
|
1512
|
+
# resp.source_flow_config.source_connector_properties.salesforce.data_transfer_api #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1502
1513
|
# resp.source_flow_config.source_connector_properties.service_now.object #=> String
|
1503
1514
|
# resp.source_flow_config.source_connector_properties.singular.object #=> String
|
1504
1515
|
# resp.source_flow_config.source_connector_properties.slack.object #=> String
|
@@ -1530,6 +1541,7 @@ module Aws::Appflow
|
|
1530
1541
|
# resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.prefix_type #=> String, one of "FILENAME", "PATH", "PATH_AND_FILENAME"
|
1531
1542
|
# resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.prefix_format #=> String, one of "YEAR", "MONTH", "DAY", "HOUR", "MINUTE"
|
1532
1543
|
# resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.aggregation_config.aggregation_type #=> String, one of "None", "SingleFile"
|
1544
|
+
# resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.preserve_source_data_typing #=> Boolean
|
1533
1545
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.object #=> String
|
1534
1546
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names #=> Array
|
1535
1547
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names[0] #=> String
|
@@ -1537,6 +1549,7 @@ module Aws::Appflow
|
|
1537
1549
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.bucket_prefix #=> String
|
1538
1550
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.bucket_name #=> String
|
1539
1551
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.write_operation_type #=> String, one of "INSERT", "UPSERT", "UPDATE", "DELETE"
|
1552
|
+
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.data_transfer_api #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1540
1553
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.object #=> String
|
1541
1554
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.intermediate_bucket_name #=> String
|
1542
1555
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.bucket_prefix #=> String
|
@@ -1599,6 +1612,7 @@ module Aws::Appflow
|
|
1599
1612
|
# resp.trigger_config.trigger_properties.scheduled.timezone #=> String
|
1600
1613
|
# resp.trigger_config.trigger_properties.scheduled.schedule_offset #=> Integer
|
1601
1614
|
# resp.trigger_config.trigger_properties.scheduled.first_execution_from #=> Time
|
1615
|
+
# resp.trigger_config.trigger_properties.scheduled.flow_error_deactivation_threshold #=> Integer
|
1602
1616
|
# resp.tasks #=> Array
|
1603
1617
|
# resp.tasks[0].source_fields #=> Array
|
1604
1618
|
# resp.tasks[0].source_fields[0] #=> String
|
@@ -2384,6 +2398,7 @@ module Aws::Appflow
|
|
2384
2398
|
# timezone: "Timezone",
|
2385
2399
|
# schedule_offset: 1,
|
2386
2400
|
# first_execution_from: Time.now,
|
2401
|
+
# flow_error_deactivation_threshold: 1,
|
2387
2402
|
# },
|
2388
2403
|
# },
|
2389
2404
|
# },
|
@@ -2421,6 +2436,7 @@ module Aws::Appflow
|
|
2421
2436
|
# object: "Object", # required
|
2422
2437
|
# enable_dynamic_field_update: false,
|
2423
2438
|
# include_deleted_records: false,
|
2439
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2424
2440
|
# },
|
2425
2441
|
# service_now: {
|
2426
2442
|
# object: "Object", # required
|
@@ -2486,6 +2502,7 @@ module Aws::Appflow
|
|
2486
2502
|
# aggregation_config: {
|
2487
2503
|
# aggregation_type: "None", # accepts None, SingleFile
|
2488
2504
|
# },
|
2505
|
+
# preserve_source_data_typing: false,
|
2489
2506
|
# },
|
2490
2507
|
# },
|
2491
2508
|
# salesforce: {
|
@@ -2497,6 +2514,7 @@ module Aws::Appflow
|
|
2497
2514
|
# bucket_name: "BucketName",
|
2498
2515
|
# },
|
2499
2516
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
2517
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2500
2518
|
# },
|
2501
2519
|
# snowflake: {
|
2502
2520
|
# object: "Object", # required
|
@@ -2648,7 +2666,7 @@ module Aws::Appflow
|
|
2648
2666
|
params: params,
|
2649
2667
|
config: config)
|
2650
2668
|
context[:gem_name] = 'aws-sdk-appflow'
|
2651
|
-
context[:gem_version] = '1.
|
2669
|
+
context[:gem_version] = '1.28.0'
|
2652
2670
|
Seahorse::Client::Request.new(handlers, context)
|
2653
2671
|
end
|
2654
2672
|
|
@@ -171,6 +171,7 @@ module Aws::Appflow
|
|
171
171
|
FlowArn = Shapes::StringShape.new(name: 'FlowArn')
|
172
172
|
FlowDefinition = Shapes::StructureShape.new(name: 'FlowDefinition')
|
173
173
|
FlowDescription = Shapes::StringShape.new(name: 'FlowDescription')
|
174
|
+
FlowErrorDeactivationThreshold = Shapes::IntegerShape.new(name: 'FlowErrorDeactivationThreshold')
|
174
175
|
FlowExecutionList = Shapes::ListShape.new(name: 'FlowExecutionList')
|
175
176
|
FlowList = Shapes::ListShape.new(name: 'FlowList')
|
176
177
|
FlowName = Shapes::StringShape.new(name: 'FlowName')
|
@@ -196,6 +197,7 @@ module Aws::Appflow
|
|
196
197
|
InforNexusSourceProperties = Shapes::StructureShape.new(name: 'InforNexusSourceProperties')
|
197
198
|
InstanceUrl = Shapes::StringShape.new(name: 'InstanceUrl')
|
198
199
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
200
|
+
JavaBoolean = Shapes::BooleanShape.new(name: 'JavaBoolean')
|
199
201
|
KMSArn = Shapes::StringShape.new(name: 'KMSArn')
|
200
202
|
Key = Shapes::StringShape.new(name: 'Key')
|
201
203
|
Label = Shapes::StringShape.new(name: 'Label')
|
@@ -283,6 +285,8 @@ module Aws::Appflow
|
|
283
285
|
SalesforceConnectorOperator = Shapes::StringShape.new(name: 'SalesforceConnectorOperator')
|
284
286
|
SalesforceConnectorProfileCredentials = Shapes::StructureShape.new(name: 'SalesforceConnectorProfileCredentials')
|
285
287
|
SalesforceConnectorProfileProperties = Shapes::StructureShape.new(name: 'SalesforceConnectorProfileProperties')
|
288
|
+
SalesforceDataTransferApi = Shapes::StringShape.new(name: 'SalesforceDataTransferApi')
|
289
|
+
SalesforceDataTransferApiList = Shapes::ListShape.new(name: 'SalesforceDataTransferApiList')
|
286
290
|
SalesforceDestinationProperties = Shapes::StructureShape.new(name: 'SalesforceDestinationProperties')
|
287
291
|
SalesforceMetadata = Shapes::StructureShape.new(name: 'SalesforceMetadata')
|
288
292
|
SalesforceSourceProperties = Shapes::StructureShape.new(name: 'SalesforceSourceProperties')
|
@@ -1117,6 +1121,7 @@ module Aws::Appflow
|
|
1117
1121
|
S3OutputFormatConfig.add_member(:file_type, Shapes::ShapeRef.new(shape: FileType, location_name: "fileType"))
|
1118
1122
|
S3OutputFormatConfig.add_member(:prefix_config, Shapes::ShapeRef.new(shape: PrefixConfig, location_name: "prefixConfig"))
|
1119
1123
|
S3OutputFormatConfig.add_member(:aggregation_config, Shapes::ShapeRef.new(shape: AggregationConfig, location_name: "aggregationConfig"))
|
1124
|
+
S3OutputFormatConfig.add_member(:preserve_source_data_typing, Shapes::ShapeRef.new(shape: JavaBoolean, location_name: "preserveSourceDataTyping"))
|
1120
1125
|
S3OutputFormatConfig.struct_class = Types::S3OutputFormatConfig
|
1121
1126
|
|
1122
1127
|
S3SourceProperties.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
@@ -1159,18 +1164,23 @@ module Aws::Appflow
|
|
1159
1164
|
SalesforceConnectorProfileProperties.add_member(:is_sandbox_environment, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSandboxEnvironment"))
|
1160
1165
|
SalesforceConnectorProfileProperties.struct_class = Types::SalesforceConnectorProfileProperties
|
1161
1166
|
|
1167
|
+
SalesforceDataTransferApiList.member = Shapes::ShapeRef.new(shape: SalesforceDataTransferApi)
|
1168
|
+
|
1162
1169
|
SalesforceDestinationProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
1163
1170
|
SalesforceDestinationProperties.add_member(:id_field_names, Shapes::ShapeRef.new(shape: IdFieldNameList, location_name: "idFieldNames"))
|
1164
1171
|
SalesforceDestinationProperties.add_member(:error_handling_config, Shapes::ShapeRef.new(shape: ErrorHandlingConfig, location_name: "errorHandlingConfig"))
|
1165
1172
|
SalesforceDestinationProperties.add_member(:write_operation_type, Shapes::ShapeRef.new(shape: WriteOperationType, location_name: "writeOperationType"))
|
1173
|
+
SalesforceDestinationProperties.add_member(:data_transfer_api, Shapes::ShapeRef.new(shape: SalesforceDataTransferApi, location_name: "dataTransferApi"))
|
1166
1174
|
SalesforceDestinationProperties.struct_class = Types::SalesforceDestinationProperties
|
1167
1175
|
|
1168
1176
|
SalesforceMetadata.add_member(:o_auth_scopes, Shapes::ShapeRef.new(shape: OAuthScopeList, location_name: "oAuthScopes"))
|
1177
|
+
SalesforceMetadata.add_member(:data_transfer_apis, Shapes::ShapeRef.new(shape: SalesforceDataTransferApiList, location_name: "dataTransferApis"))
|
1169
1178
|
SalesforceMetadata.struct_class = Types::SalesforceMetadata
|
1170
1179
|
|
1171
1180
|
SalesforceSourceProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
1172
1181
|
SalesforceSourceProperties.add_member(:enable_dynamic_field_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableDynamicFieldUpdate"))
|
1173
1182
|
SalesforceSourceProperties.add_member(:include_deleted_records, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeDeletedRecords"))
|
1183
|
+
SalesforceSourceProperties.add_member(:data_transfer_api, Shapes::ShapeRef.new(shape: SalesforceDataTransferApi, location_name: "dataTransferApi"))
|
1174
1184
|
SalesforceSourceProperties.struct_class = Types::SalesforceSourceProperties
|
1175
1185
|
|
1176
1186
|
ScheduledTriggerProperties.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "scheduleExpression"))
|
@@ -1180,6 +1190,7 @@ module Aws::Appflow
|
|
1180
1190
|
ScheduledTriggerProperties.add_member(:timezone, Shapes::ShapeRef.new(shape: Timezone, location_name: "timezone"))
|
1181
1191
|
ScheduledTriggerProperties.add_member(:schedule_offset, Shapes::ShapeRef.new(shape: ScheduleOffset, location_name: "scheduleOffset", metadata: {"box"=>true}))
|
1182
1192
|
ScheduledTriggerProperties.add_member(:first_execution_from, Shapes::ShapeRef.new(shape: Date, location_name: "firstExecutionFrom"))
|
1193
|
+
ScheduledTriggerProperties.add_member(:flow_error_deactivation_threshold, Shapes::ShapeRef.new(shape: FlowErrorDeactivationThreshold, location_name: "flowErrorDeactivationThreshold", metadata: {"box"=>true}))
|
1183
1194
|
ScheduledTriggerProperties.struct_class = Types::ScheduledTriggerProperties
|
1184
1195
|
|
1185
1196
|
SchedulingFrequencyTypeList.member = Shapes::ShapeRef.new(shape: ScheduleFrequencyType)
|
@@ -1982,6 +1982,7 @@ module Aws::Appflow
|
|
1982
1982
|
# timezone: "Timezone",
|
1983
1983
|
# schedule_offset: 1,
|
1984
1984
|
# first_execution_from: Time.now,
|
1985
|
+
# flow_error_deactivation_threshold: 1,
|
1985
1986
|
# },
|
1986
1987
|
# },
|
1987
1988
|
# },
|
@@ -2019,6 +2020,7 @@ module Aws::Appflow
|
|
2019
2020
|
# object: "Object", # required
|
2020
2021
|
# enable_dynamic_field_update: false,
|
2021
2022
|
# include_deleted_records: false,
|
2023
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2022
2024
|
# },
|
2023
2025
|
# service_now: {
|
2024
2026
|
# object: "Object", # required
|
@@ -2084,6 +2086,7 @@ module Aws::Appflow
|
|
2084
2086
|
# aggregation_config: {
|
2085
2087
|
# aggregation_type: "None", # accepts None, SingleFile
|
2086
2088
|
# },
|
2089
|
+
# preserve_source_data_typing: false,
|
2087
2090
|
# },
|
2088
2091
|
# },
|
2089
2092
|
# salesforce: {
|
@@ -2095,6 +2098,7 @@ module Aws::Appflow
|
|
2095
2098
|
# bucket_name: "BucketName",
|
2096
2099
|
# },
|
2097
2100
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
2101
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2098
2102
|
# },
|
2099
2103
|
# snowflake: {
|
2100
2104
|
# object: "Object", # required
|
@@ -3129,6 +3133,7 @@ module Aws::Appflow
|
|
3129
3133
|
# aggregation_config: {
|
3130
3134
|
# aggregation_type: "None", # accepts None, SingleFile
|
3131
3135
|
# },
|
3136
|
+
# preserve_source_data_typing: false,
|
3132
3137
|
# },
|
3133
3138
|
# },
|
3134
3139
|
# salesforce: {
|
@@ -3140,6 +3145,7 @@ module Aws::Appflow
|
|
3140
3145
|
# bucket_name: "BucketName",
|
3141
3146
|
# },
|
3142
3147
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
3148
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
3143
3149
|
# },
|
3144
3150
|
# snowflake: {
|
3145
3151
|
# object: "Object", # required
|
@@ -3386,6 +3392,7 @@ module Aws::Appflow
|
|
3386
3392
|
# aggregation_config: {
|
3387
3393
|
# aggregation_type: "None", # accepts None, SingleFile
|
3388
3394
|
# },
|
3395
|
+
# preserve_source_data_typing: false,
|
3389
3396
|
# },
|
3390
3397
|
# },
|
3391
3398
|
# salesforce: {
|
@@ -3397,6 +3404,7 @@ module Aws::Appflow
|
|
3397
3404
|
# bucket_name: "BucketName",
|
3398
3405
|
# },
|
3399
3406
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
3407
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
3400
3408
|
# },
|
3401
3409
|
# snowflake: {
|
3402
3410
|
# object: "Object", # required
|
@@ -5135,6 +5143,7 @@ module Aws::Appflow
|
|
5135
5143
|
# aggregation_config: {
|
5136
5144
|
# aggregation_type: "None", # accepts None, SingleFile
|
5137
5145
|
# },
|
5146
|
+
# preserve_source_data_typing: false,
|
5138
5147
|
# },
|
5139
5148
|
# }
|
5140
5149
|
#
|
@@ -5206,6 +5215,7 @@ module Aws::Appflow
|
|
5206
5215
|
# aggregation_config: {
|
5207
5216
|
# aggregation_type: "None", # accepts None, SingleFile
|
5208
5217
|
# },
|
5218
|
+
# preserve_source_data_typing: false,
|
5209
5219
|
# }
|
5210
5220
|
#
|
5211
5221
|
# @!attribute [rw] file_type
|
@@ -5224,12 +5234,27 @@ module Aws::Appflow
|
|
5224
5234
|
# format of your flow data.
|
5225
5235
|
# @return [Types::AggregationConfig]
|
5226
5236
|
#
|
5237
|
+
# @!attribute [rw] preserve_source_data_typing
|
5238
|
+
# If your file output format is Parquet, use this parameter to set
|
5239
|
+
# whether Amazon AppFlow preserves the data types in your source data
|
5240
|
+
# when it writes the output to Amazon S3.
|
5241
|
+
#
|
5242
|
+
# * `true`\: Amazon AppFlow preserves the data types when it writes to
|
5243
|
+
# Amazon S3. For example, an integer or `1` in your source data is
|
5244
|
+
# still an integer in your output.
|
5245
|
+
#
|
5246
|
+
# * `false`\: Amazon AppFlow converts all of the source data into
|
5247
|
+
# strings when it writes to Amazon S3. For example, an integer of
|
5248
|
+
# `1` in your source data becomes the string `"1"` in the output.
|
5249
|
+
# @return [Boolean]
|
5250
|
+
#
|
5227
5251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/S3OutputFormatConfig AWS API Documentation
|
5228
5252
|
#
|
5229
5253
|
class S3OutputFormatConfig < Struct.new(
|
5230
5254
|
:file_type,
|
5231
5255
|
:prefix_config,
|
5232
|
-
:aggregation_config
|
5256
|
+
:aggregation_config,
|
5257
|
+
:preserve_source_data_typing)
|
5233
5258
|
SENSITIVE = []
|
5234
5259
|
include Aws::Structure
|
5235
5260
|
end
|
@@ -5557,6 +5582,7 @@ module Aws::Appflow
|
|
5557
5582
|
# bucket_name: "BucketName",
|
5558
5583
|
# },
|
5559
5584
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
5585
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
5560
5586
|
# }
|
5561
5587
|
#
|
5562
5588
|
# @!attribute [rw] object
|
@@ -5583,13 +5609,62 @@ module Aws::Appflow
|
|
5583
5609
|
# required.
|
5584
5610
|
# @return [String]
|
5585
5611
|
#
|
5612
|
+
# @!attribute [rw] data_transfer_api
|
5613
|
+
# Specifies which Salesforce API is used by Amazon AppFlow when your
|
5614
|
+
# flow transfers data to Salesforce.
|
5615
|
+
#
|
5616
|
+
# AUTOMATIC
|
5617
|
+
#
|
5618
|
+
# : The default. Amazon AppFlow selects which API to use based on the
|
5619
|
+
# number of records that your flow transfers to Salesforce. If your
|
5620
|
+
# flow transfers fewer than 1,000 records, Amazon AppFlow uses
|
5621
|
+
# Salesforce REST API. If your flow transfers 1,000 records or more,
|
5622
|
+
# Amazon AppFlow uses Salesforce Bulk API 2.0.
|
5623
|
+
#
|
5624
|
+
# Each of these Salesforce APIs structures data differently. If
|
5625
|
+
# Amazon AppFlow selects the API automatically, be aware that, for
|
5626
|
+
# recurring flows, the data output might vary from one flow run to
|
5627
|
+
# the next. For example, if a flow runs daily, it might use REST API
|
5628
|
+
# on one day to transfer 900 records, and it might use Bulk API 2.0
|
5629
|
+
# on the next day to transfer 1,100 records. For each of these flow
|
5630
|
+
# runs, the respective Salesforce API formats the data differently.
|
5631
|
+
# Some of the differences include how dates are formatted and null
|
5632
|
+
# values are represented. Also, Bulk API 2.0 doesn't transfer
|
5633
|
+
# Salesforce compound fields.
|
5634
|
+
#
|
5635
|
+
# By choosing this option, you optimize flow performance for both
|
5636
|
+
# small and large data transfers, but the tradeoff is inconsistent
|
5637
|
+
# formatting in the output.
|
5638
|
+
#
|
5639
|
+
# BULKV2
|
5640
|
+
#
|
5641
|
+
# : Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs
|
5642
|
+
# asynchronous data transfers, and it's optimal for large sets of
|
5643
|
+
# data. By choosing this option, you ensure that your flow writes
|
5644
|
+
# consistent output, but you optimize performance only for large
|
5645
|
+
# data transfers.
|
5646
|
+
#
|
5647
|
+
# Note that Bulk API 2.0 does not transfer Salesforce compound
|
5648
|
+
# fields.
|
5649
|
+
#
|
5650
|
+
# REST\_SYNC
|
5651
|
+
#
|
5652
|
+
# : Amazon AppFlow uses only Salesforce REST API. By choosing this
|
5653
|
+
# option, you ensure that your flow writes consistent output, but
|
5654
|
+
# you decrease performance for large data transfers that are better
|
5655
|
+
# suited for Bulk API 2.0. In some cases, if your flow attempts to
|
5656
|
+
# transfer a vary large set of data, it might fail with a timed out
|
5657
|
+
# error.
|
5658
|
+
# @return [String]
|
5659
|
+
#
|
5586
5660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceDestinationProperties AWS API Documentation
|
5587
5661
|
#
|
5588
5662
|
class SalesforceDestinationProperties < Struct.new(
|
5589
5663
|
:object,
|
5590
5664
|
:id_field_names,
|
5591
5665
|
:error_handling_config,
|
5592
|
-
:write_operation_type
|
5666
|
+
:write_operation_type,
|
5667
|
+
:data_transfer_api)
|
5593
5668
|
SENSITIVE = []
|
5594
5669
|
include Aws::Structure
|
5595
5670
|
end
|
@@ -5600,10 +5675,16 @@ module Aws::Appflow
|
|
5600
5675
|
# The desired authorization scope for the Salesforce account.
|
5601
5676
|
# @return [Array<String>]
|
5602
5677
|
#
|
5678
|
+
# @!attribute [rw] data_transfer_apis
|
5679
|
+
# The Salesforce APIs that you can have Amazon AppFlow use when your
|
5680
|
+
# flows transfers data to or from Salesforce.
|
5681
|
+
# @return [Array<String>]
|
5682
|
+
#
|
5603
5683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceMetadata AWS API Documentation
|
5604
5684
|
#
|
5605
5685
|
class SalesforceMetadata < Struct.new(
|
5606
|
-
:o_auth_scopes
|
5686
|
+
:o_auth_scopes,
|
5687
|
+
:data_transfer_apis)
|
5607
5688
|
SENSITIVE = []
|
5608
5689
|
include Aws::Structure
|
5609
5690
|
end
|
@@ -5618,6 +5699,7 @@ module Aws::Appflow
|
|
5618
5699
|
# object: "Object", # required
|
5619
5700
|
# enable_dynamic_field_update: false,
|
5620
5701
|
# include_deleted_records: false,
|
5702
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
5621
5703
|
# }
|
5622
5704
|
#
|
5623
5705
|
# @!attribute [rw] object
|
@@ -5634,12 +5716,61 @@ module Aws::Appflow
|
|
5634
5716
|
# run.
|
5635
5717
|
# @return [Boolean]
|
5636
5718
|
#
|
5719
|
+
# @!attribute [rw] data_transfer_api
|
5720
|
+
# Specifies which Salesforce API is used by Amazon AppFlow when your
|
5721
|
+
# flow transfers data from Salesforce.
|
5722
|
+
#
|
5723
|
+
# AUTOMATIC
|
5724
|
+
#
|
5725
|
+
# : The default. Amazon AppFlow selects which API to use based on the
|
5726
|
+
# number of records that your flow transfers from Salesforce. If
|
5727
|
+
# your flow transfers fewer than 1,000,000 records, Amazon AppFlow
|
5728
|
+
# uses Salesforce REST API. If your flow transfers 1,000,000 records
|
5729
|
+
# or more, Amazon AppFlow uses Salesforce Bulk API 2.0.
|
5730
|
+
#
|
5731
|
+
# Each of these Salesforce APIs structures data differently. If
|
5732
|
+
# Amazon AppFlow selects the API automatically, be aware that, for
|
5733
|
+
# recurring flows, the data output might vary from one flow run to
|
5734
|
+
# the next. For example, if a flow runs daily, it might use REST API
|
5735
|
+
# on one day to transfer 900,000 records, and it might use Bulk API
|
5736
|
+
# 2.0 on the next day to transfer 1,100,000 records. For each of
|
5737
|
+
# these flow runs, the respective Salesforce API formats the data
|
5738
|
+
# differently. Some of the differences include how dates are
|
5739
|
+
# formatted and null values are represented. Also, Bulk API 2.0
|
5740
|
+
# doesn't transfer Salesforce compound fields.
|
5741
|
+
#
|
5742
|
+
# By choosing this option, you optimize flow performance for both
|
5743
|
+
# small and large data transfers, but the tradeoff is inconsistent
|
5744
|
+
# formatting in the output.
|
5745
|
+
#
|
5746
|
+
# BULKV2
|
5747
|
+
#
|
5748
|
+
# : Amazon AppFlow uses only Salesforce Bulk API 2.0. This API runs
|
5749
|
+
# asynchronous data transfers, and it's optimal for large sets of
|
5750
|
+
# data. By choosing this option, you ensure that your flow writes
|
5751
|
+
# consistent output, but you optimize performance only for large
|
5752
|
+
# data transfers.
|
5753
|
+
#
|
5754
|
+
# Note that Bulk API 2.0 does not transfer Salesforce compound
|
5755
|
+
# fields.
|
5756
|
+
#
|
5757
|
+
# REST\_SYNC
|
5758
|
+
#
|
5759
|
+
# : Amazon AppFlow uses only Salesforce REST API. By choosing this
|
5760
|
+
# option, you ensure that your flow writes consistent output, but
|
5761
|
+
# you decrease performance for large data transfers that are better
|
5762
|
+
# suited for Bulk API 2.0. In some cases, if your flow attempts to
|
5763
|
+
# transfer a vary large set of data, it might fail with a timed out
|
5764
|
+
# error.
|
5765
|
+
# @return [String]
|
5766
|
+
#
|
5637
5767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceSourceProperties AWS API Documentation
|
5638
5768
|
#
|
5639
5769
|
class SalesforceSourceProperties < Struct.new(
|
5640
5770
|
:object,
|
5641
5771
|
:enable_dynamic_field_update,
|
5642
|
-
:include_deleted_records
|
5772
|
+
:include_deleted_records,
|
5773
|
+
:data_transfer_api)
|
5643
5774
|
SENSITIVE = []
|
5644
5775
|
include Aws::Structure
|
5645
5776
|
end
|
@@ -5659,6 +5790,7 @@ module Aws::Appflow
|
|
5659
5790
|
# timezone: "Timezone",
|
5660
5791
|
# schedule_offset: 1,
|
5661
5792
|
# first_execution_from: Time.now,
|
5793
|
+
# flow_error_deactivation_threshold: 1,
|
5662
5794
|
# }
|
5663
5795
|
#
|
5664
5796
|
# @!attribute [rw] schedule_expression
|
@@ -5672,16 +5804,27 @@ module Aws::Appflow
|
|
5672
5804
|
# @return [String]
|
5673
5805
|
#
|
5674
5806
|
# @!attribute [rw] schedule_start_time
|
5675
|
-
#
|
5807
|
+
# The time at which the scheduled flow starts. The time is formatted
|
5808
|
+
# as a timestamp that follows the ISO 8601 standard, such as
|
5809
|
+
# `2022-04-26T13:00:00-07:00`.
|
5676
5810
|
# @return [Time]
|
5677
5811
|
#
|
5678
5812
|
# @!attribute [rw] schedule_end_time
|
5679
|
-
#
|
5813
|
+
# The time at which the scheduled flow ends. The time is formatted as
|
5814
|
+
# a timestamp that follows the ISO 8601 standard, such as
|
5815
|
+
# `2022-04-27T13:00:00-07:00`.
|
5680
5816
|
# @return [Time]
|
5681
5817
|
#
|
5682
5818
|
# @!attribute [rw] timezone
|
5683
|
-
# Specifies the time zone used when referring to the
|
5684
|
-
# a scheduled
|
5819
|
+
# Specifies the time zone used when referring to the dates and times
|
5820
|
+
# of a scheduled flow, such as `America/New_York`. This time zone is
|
5821
|
+
# only a descriptive label. It doesn't affect how Amazon AppFlow
|
5822
|
+
# interprets the timestamps that you specify to schedule the flow.
|
5823
|
+
#
|
5824
|
+
# If you want to schedule a flow by using times in a particular time
|
5825
|
+
# zone, indicate the time zone as a UTC offset in your timestamps. For
|
5826
|
+
# example, the UTC offsets for the `America/New_York` timezone are
|
5827
|
+
# `-04:00` EDT and `-05:00 EST`.
|
5685
5828
|
# @return [String]
|
5686
5829
|
#
|
5687
5830
|
# @!attribute [rw] schedule_offset
|
@@ -5694,6 +5837,11 @@ module Aws::Appflow
|
|
5694
5837
|
# connector in the first flow run.
|
5695
5838
|
# @return [Time]
|
5696
5839
|
#
|
5840
|
+
# @!attribute [rw] flow_error_deactivation_threshold
|
5841
|
+
# Defines how many times a scheduled flow fails consecutively before
|
5842
|
+
# Amazon AppFlow deactivates it.
|
5843
|
+
# @return [Integer]
|
5844
|
+
#
|
5697
5845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ScheduledTriggerProperties AWS API Documentation
|
5698
5846
|
#
|
5699
5847
|
class ScheduledTriggerProperties < Struct.new(
|
@@ -5703,7 +5851,8 @@ module Aws::Appflow
|
|
5703
5851
|
:schedule_end_time,
|
5704
5852
|
:timezone,
|
5705
5853
|
:schedule_offset,
|
5706
|
-
:first_execution_from
|
5854
|
+
:first_execution_from,
|
5855
|
+
:flow_error_deactivation_threshold)
|
5707
5856
|
SENSITIVE = []
|
5708
5857
|
include Aws::Structure
|
5709
5858
|
end
|
@@ -6153,6 +6302,7 @@ module Aws::Appflow
|
|
6153
6302
|
# object: "Object", # required
|
6154
6303
|
# enable_dynamic_field_update: false,
|
6155
6304
|
# include_deleted_records: false,
|
6305
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
6156
6306
|
# },
|
6157
6307
|
# service_now: {
|
6158
6308
|
# object: "Object", # required
|
@@ -6343,6 +6493,7 @@ module Aws::Appflow
|
|
6343
6493
|
# object: "Object", # required
|
6344
6494
|
# enable_dynamic_field_update: false,
|
6345
6495
|
# include_deleted_records: false,
|
6496
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
6346
6497
|
# },
|
6347
6498
|
# service_now: {
|
6348
6499
|
# object: "Object", # required
|
@@ -6735,6 +6886,7 @@ module Aws::Appflow
|
|
6735
6886
|
# timezone: "Timezone",
|
6736
6887
|
# schedule_offset: 1,
|
6737
6888
|
# first_execution_from: Time.now,
|
6889
|
+
# flow_error_deactivation_threshold: 1,
|
6738
6890
|
# },
|
6739
6891
|
# },
|
6740
6892
|
# }
|
@@ -6775,6 +6927,7 @@ module Aws::Appflow
|
|
6775
6927
|
# timezone: "Timezone",
|
6776
6928
|
# schedule_offset: 1,
|
6777
6929
|
# first_execution_from: Time.now,
|
6930
|
+
# flow_error_deactivation_threshold: 1,
|
6778
6931
|
# },
|
6779
6932
|
# }
|
6780
6933
|
#
|
@@ -7147,6 +7300,7 @@ module Aws::Appflow
|
|
7147
7300
|
# timezone: "Timezone",
|
7148
7301
|
# schedule_offset: 1,
|
7149
7302
|
# first_execution_from: Time.now,
|
7303
|
+
# flow_error_deactivation_threshold: 1,
|
7150
7304
|
# },
|
7151
7305
|
# },
|
7152
7306
|
# },
|
@@ -7184,6 +7338,7 @@ module Aws::Appflow
|
|
7184
7338
|
# object: "Object", # required
|
7185
7339
|
# enable_dynamic_field_update: false,
|
7186
7340
|
# include_deleted_records: false,
|
7341
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
7187
7342
|
# },
|
7188
7343
|
# service_now: {
|
7189
7344
|
# object: "Object", # required
|
@@ -7249,6 +7404,7 @@ module Aws::Appflow
|
|
7249
7404
|
# aggregation_config: {
|
7250
7405
|
# aggregation_type: "None", # accepts None, SingleFile
|
7251
7406
|
# },
|
7407
|
+
# preserve_source_data_typing: false,
|
7252
7408
|
# },
|
7253
7409
|
# },
|
7254
7410
|
# salesforce: {
|
@@ -7260,6 +7416,7 @@ module Aws::Appflow
|
|
7260
7416
|
# bucket_name: "BucketName",
|
7261
7417
|
# },
|
7262
7418
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
7419
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
7263
7420
|
# },
|
7264
7421
|
# snowflake: {
|
7265
7422
|
# object: "Object", # required
|
data/lib/aws-sdk-appflow.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|