aws-sdk-appflow 1.27.0 → 1.29.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 +30 -3
- data/lib/aws-sdk-appflow/client_api.rb +7 -0
- data/lib/aws-sdk-appflow/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-appflow/endpoint_provider.rb +111 -0
- data/lib/aws-sdk-appflow/endpoints.rb +323 -0
- data/lib/aws-sdk-appflow/plugins/endpoints.rb +112 -0
- data/lib/aws-sdk-appflow/types.rb +117 -3
- data/lib/aws-sdk-appflow.rb +5 -1
- metadata +8 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c6119b9783e8d09b05b09508d788d09944030312fafff2685704ccc9e1ecbf9
|
4
|
+
data.tar.gz: 5dc5dc71f250734e977b7b87754ea757fbe6ebe943133b498e2d26230c8f8406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34ab304e3f3e6040c61fb7b44c19f2887a38d3c087657b021fd985d9ba295004fae5dba44bda579f18efd38407af22bc35b2757f1fd5f67da2e34d20abec780b
|
7
|
+
data.tar.gz: f96094b29bff6e1c8b9838ff4ad8b0f2a89c98281b8c4f1460bf8a6b65d8ccf62bbd64e612332a2157f2c483a0ea28b92b5dcb529741ccd664d88742313fd881
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.29.0 (2022-10-25)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.28.0 (2022-10-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.27.0 (2022-05-27)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.29.0
|
@@ -30,7 +30,7 @@ require 'aws-sdk-core/plugins/http_checksum.rb'
|
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
|
-
require 'aws-sdk-core/plugins/
|
33
|
+
require 'aws-sdk-core/plugins/sign.rb'
|
34
34
|
require 'aws-sdk-core/plugins/protocols/rest_json.rb'
|
35
35
|
|
36
36
|
Aws::Plugins::GlobalConfiguration.add_identifier(:appflow)
|
@@ -79,8 +79,9 @@ module Aws::Appflow
|
|
79
79
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
80
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
|
-
add_plugin(Aws::Plugins::
|
82
|
+
add_plugin(Aws::Plugins::Sign)
|
83
83
|
add_plugin(Aws::Plugins::Protocols::RestJson)
|
84
|
+
add_plugin(Aws::Appflow::Plugins::Endpoints)
|
84
85
|
|
85
86
|
# @overload initialize(options)
|
86
87
|
# @param [Hash] options
|
@@ -287,6 +288,19 @@ module Aws::Appflow
|
|
287
288
|
# ** Please note ** When response stubbing is enabled, no HTTP
|
288
289
|
# requests are made, and retries are disabled.
|
289
290
|
#
|
291
|
+
# @option options [Aws::TokenProvider] :token_provider
|
292
|
+
# A Bearer Token Provider. This can be an instance of any one of the
|
293
|
+
# following classes:
|
294
|
+
#
|
295
|
+
# * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
|
296
|
+
# tokens.
|
297
|
+
#
|
298
|
+
# * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
|
299
|
+
# access token generated from `aws login`.
|
300
|
+
#
|
301
|
+
# When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
|
302
|
+
# will be used to search for tokens configured for your profile in shared configuration files.
|
303
|
+
#
|
290
304
|
# @option options [Boolean] :use_dualstack_endpoint
|
291
305
|
# When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
|
292
306
|
# will be used if available.
|
@@ -300,6 +314,9 @@ module Aws::Appflow
|
|
300
314
|
# When `true`, request parameters are validated before
|
301
315
|
# sending the request.
|
302
316
|
#
|
317
|
+
# @option options [Aws::Appflow::EndpointProvider] :endpoint_provider
|
318
|
+
# The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::Appflow::EndpointParameters`
|
319
|
+
#
|
303
320
|
# @option options [URI::HTTP,String] :http_proxy A proxy to send
|
304
321
|
# requests through. Formatted like 'http://proxy.com:123'.
|
305
322
|
#
|
@@ -731,6 +748,7 @@ module Aws::Appflow
|
|
731
748
|
# object: "Object", # required
|
732
749
|
# enable_dynamic_field_update: false,
|
733
750
|
# include_deleted_records: false,
|
751
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
734
752
|
# },
|
735
753
|
# service_now: {
|
736
754
|
# object: "Object", # required
|
@@ -808,6 +826,7 @@ module Aws::Appflow
|
|
808
826
|
# bucket_name: "BucketName",
|
809
827
|
# },
|
810
828
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
829
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
811
830
|
# },
|
812
831
|
# snowflake: {
|
813
832
|
# object: "Object", # required
|
@@ -1048,6 +1067,8 @@ module Aws::Appflow
|
|
1048
1067
|
# resp.connector_configuration.connector_metadata.google_analytics.o_auth_scopes[0] #=> String
|
1049
1068
|
# resp.connector_configuration.connector_metadata.salesforce.o_auth_scopes #=> Array
|
1050
1069
|
# resp.connector_configuration.connector_metadata.salesforce.o_auth_scopes[0] #=> String
|
1070
|
+
# resp.connector_configuration.connector_metadata.salesforce.data_transfer_apis #=> Array
|
1071
|
+
# resp.connector_configuration.connector_metadata.salesforce.data_transfer_apis[0] #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1051
1072
|
# resp.connector_configuration.connector_metadata.slack.o_auth_scopes #=> Array
|
1052
1073
|
# resp.connector_configuration.connector_metadata.slack.o_auth_scopes[0] #=> String
|
1053
1074
|
# resp.connector_configuration.connector_metadata.snowflake.supported_regions #=> Array
|
@@ -1357,6 +1378,8 @@ module Aws::Appflow
|
|
1357
1378
|
# resp.connector_configurations["ConnectorType"].connector_metadata.google_analytics.o_auth_scopes[0] #=> String
|
1358
1379
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.o_auth_scopes #=> Array
|
1359
1380
|
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.o_auth_scopes[0] #=> String
|
1381
|
+
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.data_transfer_apis #=> Array
|
1382
|
+
# resp.connector_configurations["ConnectorType"].connector_metadata.salesforce.data_transfer_apis[0] #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1360
1383
|
# resp.connector_configurations["ConnectorType"].connector_metadata.slack.o_auth_scopes #=> Array
|
1361
1384
|
# resp.connector_configurations["ConnectorType"].connector_metadata.slack.o_auth_scopes[0] #=> String
|
1362
1385
|
# resp.connector_configurations["ConnectorType"].connector_metadata.snowflake.supported_regions #=> Array
|
@@ -1503,6 +1526,7 @@ module Aws::Appflow
|
|
1503
1526
|
# resp.source_flow_config.source_connector_properties.salesforce.object #=> String
|
1504
1527
|
# resp.source_flow_config.source_connector_properties.salesforce.enable_dynamic_field_update #=> Boolean
|
1505
1528
|
# resp.source_flow_config.source_connector_properties.salesforce.include_deleted_records #=> Boolean
|
1529
|
+
# resp.source_flow_config.source_connector_properties.salesforce.data_transfer_api #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1506
1530
|
# resp.source_flow_config.source_connector_properties.service_now.object #=> String
|
1507
1531
|
# resp.source_flow_config.source_connector_properties.singular.object #=> String
|
1508
1532
|
# resp.source_flow_config.source_connector_properties.slack.object #=> String
|
@@ -1542,6 +1566,7 @@ module Aws::Appflow
|
|
1542
1566
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.bucket_prefix #=> String
|
1543
1567
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.bucket_name #=> String
|
1544
1568
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.write_operation_type #=> String, one of "INSERT", "UPSERT", "UPDATE", "DELETE"
|
1569
|
+
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.data_transfer_api #=> String, one of "AUTOMATIC", "BULKV2", "REST_SYNC"
|
1545
1570
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.object #=> String
|
1546
1571
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.intermediate_bucket_name #=> String
|
1547
1572
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.bucket_prefix #=> String
|
@@ -2428,6 +2453,7 @@ module Aws::Appflow
|
|
2428
2453
|
# object: "Object", # required
|
2429
2454
|
# enable_dynamic_field_update: false,
|
2430
2455
|
# include_deleted_records: false,
|
2456
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2431
2457
|
# },
|
2432
2458
|
# service_now: {
|
2433
2459
|
# object: "Object", # required
|
@@ -2505,6 +2531,7 @@ module Aws::Appflow
|
|
2505
2531
|
# bucket_name: "BucketName",
|
2506
2532
|
# },
|
2507
2533
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
2534
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2508
2535
|
# },
|
2509
2536
|
# snowflake: {
|
2510
2537
|
# object: "Object", # required
|
@@ -2656,7 +2683,7 @@ module Aws::Appflow
|
|
2656
2683
|
params: params,
|
2657
2684
|
config: config)
|
2658
2685
|
context[:gem_name] = 'aws-sdk-appflow'
|
2659
|
-
context[:gem_version] = '1.
|
2686
|
+
context[:gem_version] = '1.29.0'
|
2660
2687
|
Seahorse::Client::Request.new(handlers, context)
|
2661
2688
|
end
|
2662
2689
|
|
@@ -285,6 +285,8 @@ module Aws::Appflow
|
|
285
285
|
SalesforceConnectorOperator = Shapes::StringShape.new(name: 'SalesforceConnectorOperator')
|
286
286
|
SalesforceConnectorProfileCredentials = Shapes::StructureShape.new(name: 'SalesforceConnectorProfileCredentials')
|
287
287
|
SalesforceConnectorProfileProperties = Shapes::StructureShape.new(name: 'SalesforceConnectorProfileProperties')
|
288
|
+
SalesforceDataTransferApi = Shapes::StringShape.new(name: 'SalesforceDataTransferApi')
|
289
|
+
SalesforceDataTransferApiList = Shapes::ListShape.new(name: 'SalesforceDataTransferApiList')
|
288
290
|
SalesforceDestinationProperties = Shapes::StructureShape.new(name: 'SalesforceDestinationProperties')
|
289
291
|
SalesforceMetadata = Shapes::StructureShape.new(name: 'SalesforceMetadata')
|
290
292
|
SalesforceSourceProperties = Shapes::StructureShape.new(name: 'SalesforceSourceProperties')
|
@@ -1162,18 +1164,23 @@ module Aws::Appflow
|
|
1162
1164
|
SalesforceConnectorProfileProperties.add_member(:is_sandbox_environment, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSandboxEnvironment"))
|
1163
1165
|
SalesforceConnectorProfileProperties.struct_class = Types::SalesforceConnectorProfileProperties
|
1164
1166
|
|
1167
|
+
SalesforceDataTransferApiList.member = Shapes::ShapeRef.new(shape: SalesforceDataTransferApi)
|
1168
|
+
|
1165
1169
|
SalesforceDestinationProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
1166
1170
|
SalesforceDestinationProperties.add_member(:id_field_names, Shapes::ShapeRef.new(shape: IdFieldNameList, location_name: "idFieldNames"))
|
1167
1171
|
SalesforceDestinationProperties.add_member(:error_handling_config, Shapes::ShapeRef.new(shape: ErrorHandlingConfig, location_name: "errorHandlingConfig"))
|
1168
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"))
|
1169
1174
|
SalesforceDestinationProperties.struct_class = Types::SalesforceDestinationProperties
|
1170
1175
|
|
1171
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"))
|
1172
1178
|
SalesforceMetadata.struct_class = Types::SalesforceMetadata
|
1173
1179
|
|
1174
1180
|
SalesforceSourceProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
1175
1181
|
SalesforceSourceProperties.add_member(:enable_dynamic_field_update, Shapes::ShapeRef.new(shape: Boolean, location_name: "enableDynamicFieldUpdate"))
|
1176
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"))
|
1177
1184
|
SalesforceSourceProperties.struct_class = Types::SalesforceSourceProperties
|
1178
1185
|
|
1179
1186
|
ScheduledTriggerProperties.add_member(:schedule_expression, Shapes::ShapeRef.new(shape: ScheduleExpression, required: true, location_name: "scheduleExpression"))
|
@@ -0,0 +1,66 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Appflow
|
11
|
+
# Endpoint parameters used to influence endpoints per request.
|
12
|
+
#
|
13
|
+
# @!attribute region
|
14
|
+
# The AWS region used to dispatch the request.
|
15
|
+
#
|
16
|
+
# @return [String]
|
17
|
+
#
|
18
|
+
# @!attribute use_dual_stack
|
19
|
+
# When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
|
20
|
+
#
|
21
|
+
# @return [Boolean]
|
22
|
+
#
|
23
|
+
# @!attribute use_fips
|
24
|
+
# When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
|
25
|
+
#
|
26
|
+
# @return [Boolean]
|
27
|
+
#
|
28
|
+
# @!attribute endpoint
|
29
|
+
# Override the endpoint used to send this request
|
30
|
+
#
|
31
|
+
# @return [String]
|
32
|
+
#
|
33
|
+
EndpointParameters = Struct.new(
|
34
|
+
:region,
|
35
|
+
:use_dual_stack,
|
36
|
+
:use_fips,
|
37
|
+
:endpoint,
|
38
|
+
) do
|
39
|
+
include Aws::Structure
|
40
|
+
|
41
|
+
# @api private
|
42
|
+
class << self
|
43
|
+
PARAM_MAP = {
|
44
|
+
'Region' => :region,
|
45
|
+
'UseDualStack' => :use_dual_stack,
|
46
|
+
'UseFIPS' => :use_fips,
|
47
|
+
'Endpoint' => :endpoint,
|
48
|
+
}.freeze
|
49
|
+
end
|
50
|
+
|
51
|
+
def initialize(options = {})
|
52
|
+
self[:region] = options[:region]
|
53
|
+
self[:use_dual_stack] = options[:use_dual_stack]
|
54
|
+
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
|
+
if self[:use_dual_stack].nil?
|
56
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
|
57
|
+
end
|
58
|
+
self[:use_fips] = options[:use_fips]
|
59
|
+
self[:use_fips] = false if self[:use_fips].nil?
|
60
|
+
if self[:use_fips].nil?
|
61
|
+
raise ArgumentError, "Missing required EndpointParameter: :use_fips"
|
62
|
+
end
|
63
|
+
self[:endpoint] = options[:endpoint]
|
64
|
+
end
|
65
|
+
end
|
66
|
+
end
|
@@ -0,0 +1,111 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
module Aws::Appflow
|
11
|
+
class EndpointProvider
|
12
|
+
def initialize(rule_set = nil)
|
13
|
+
@@rule_set ||= begin
|
14
|
+
endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
|
15
|
+
Aws::Endpoints::RuleSet.new(
|
16
|
+
version: endpoint_rules['version'],
|
17
|
+
service_id: endpoint_rules['serviceId'],
|
18
|
+
parameters: endpoint_rules['parameters'],
|
19
|
+
rules: endpoint_rules['rules']
|
20
|
+
)
|
21
|
+
end
|
22
|
+
@provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
|
23
|
+
end
|
24
|
+
|
25
|
+
def resolve_endpoint(parameters)
|
26
|
+
@provider.resolve_endpoint(parameters)
|
27
|
+
end
|
28
|
+
|
29
|
+
# @api private
|
30
|
+
RULES = <<-JSON
|
31
|
+
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
|
33
|
+
dGF0aW9uIjo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TdGFjayJ9LHRydWVd
|
95
|
+
fV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOlt7ImZu
|
96
|
+
IjoiYm9vbGVhbkVxdWFscyIsImFyZ3YiOlt0cnVlLHsiZm4iOiJnZXRBdHRy
|
97
|
+
IiwiYXJndiI6W3sicmVmIjoiUGFydGl0aW9uUmVzdWx0In0sInN1cHBvcnRz
|
98
|
+
RHVhbFN0YWNrIl19XX1dLCJ0eXBlIjoidHJlZSIsInJ1bGVzIjpbeyJjb25k
|
99
|
+
aXRpb25zIjpbXSwiZW5kcG9pbnQiOnsidXJsIjoiaHR0cHM6Ly9hcHBmbG93
|
100
|
+
LntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZHVhbFN0YWNrRG5zU3VmZml4
|
101
|
+
fSIsInByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRw
|
102
|
+
b2ludCJ9XX0seyJjb25kaXRpb25zIjpbXSwiZXJyb3IiOiJEdWFsU3RhY2sg
|
103
|
+
aXMgZW5hYmxlZCBidXQgdGhpcyBwYXJ0aXRpb24gZG9lcyBub3Qgc3VwcG9y
|
104
|
+
dCBEdWFsU3RhY2siLCJ0eXBlIjoiZXJyb3IifV19LHsiY29uZGl0aW9ucyI6
|
105
|
+
W10sImVuZHBvaW50Ijp7InVybCI6Imh0dHBzOi8vYXBwZmxvdy57UmVnaW9u
|
106
|
+
fS57UGFydGl0aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7
|
107
|
+
fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
|
108
|
+
|
109
|
+
JSON
|
110
|
+
end
|
111
|
+
end
|
@@ -0,0 +1,323 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Appflow
|
12
|
+
module Endpoints
|
13
|
+
|
14
|
+
class CreateConnectorProfile
|
15
|
+
def self.build(context)
|
16
|
+
unless context.config.regional_endpoint
|
17
|
+
endpoint = context.config.endpoint.to_s
|
18
|
+
end
|
19
|
+
Aws::Appflow::EndpointParameters.new(
|
20
|
+
region: context.config.region,
|
21
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
22
|
+
use_fips: context.config.use_fips_endpoint,
|
23
|
+
endpoint: endpoint,
|
24
|
+
)
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
class CreateFlow
|
29
|
+
def self.build(context)
|
30
|
+
unless context.config.regional_endpoint
|
31
|
+
endpoint = context.config.endpoint.to_s
|
32
|
+
end
|
33
|
+
Aws::Appflow::EndpointParameters.new(
|
34
|
+
region: context.config.region,
|
35
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
36
|
+
use_fips: context.config.use_fips_endpoint,
|
37
|
+
endpoint: endpoint,
|
38
|
+
)
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
class DeleteConnectorProfile
|
43
|
+
def self.build(context)
|
44
|
+
unless context.config.regional_endpoint
|
45
|
+
endpoint = context.config.endpoint.to_s
|
46
|
+
end
|
47
|
+
Aws::Appflow::EndpointParameters.new(
|
48
|
+
region: context.config.region,
|
49
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
50
|
+
use_fips: context.config.use_fips_endpoint,
|
51
|
+
endpoint: endpoint,
|
52
|
+
)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
class DeleteFlow
|
57
|
+
def self.build(context)
|
58
|
+
unless context.config.regional_endpoint
|
59
|
+
endpoint = context.config.endpoint.to_s
|
60
|
+
end
|
61
|
+
Aws::Appflow::EndpointParameters.new(
|
62
|
+
region: context.config.region,
|
63
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
64
|
+
use_fips: context.config.use_fips_endpoint,
|
65
|
+
endpoint: endpoint,
|
66
|
+
)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
class DescribeConnector
|
71
|
+
def self.build(context)
|
72
|
+
unless context.config.regional_endpoint
|
73
|
+
endpoint = context.config.endpoint.to_s
|
74
|
+
end
|
75
|
+
Aws::Appflow::EndpointParameters.new(
|
76
|
+
region: context.config.region,
|
77
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
78
|
+
use_fips: context.config.use_fips_endpoint,
|
79
|
+
endpoint: endpoint,
|
80
|
+
)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
class DescribeConnectorEntity
|
85
|
+
def self.build(context)
|
86
|
+
unless context.config.regional_endpoint
|
87
|
+
endpoint = context.config.endpoint.to_s
|
88
|
+
end
|
89
|
+
Aws::Appflow::EndpointParameters.new(
|
90
|
+
region: context.config.region,
|
91
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
92
|
+
use_fips: context.config.use_fips_endpoint,
|
93
|
+
endpoint: endpoint,
|
94
|
+
)
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
class DescribeConnectorProfiles
|
99
|
+
def self.build(context)
|
100
|
+
unless context.config.regional_endpoint
|
101
|
+
endpoint = context.config.endpoint.to_s
|
102
|
+
end
|
103
|
+
Aws::Appflow::EndpointParameters.new(
|
104
|
+
region: context.config.region,
|
105
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
106
|
+
use_fips: context.config.use_fips_endpoint,
|
107
|
+
endpoint: endpoint,
|
108
|
+
)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
class DescribeConnectors
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::Appflow::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
class DescribeFlow
|
127
|
+
def self.build(context)
|
128
|
+
unless context.config.regional_endpoint
|
129
|
+
endpoint = context.config.endpoint.to_s
|
130
|
+
end
|
131
|
+
Aws::Appflow::EndpointParameters.new(
|
132
|
+
region: context.config.region,
|
133
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
134
|
+
use_fips: context.config.use_fips_endpoint,
|
135
|
+
endpoint: endpoint,
|
136
|
+
)
|
137
|
+
end
|
138
|
+
end
|
139
|
+
|
140
|
+
class DescribeFlowExecutionRecords
|
141
|
+
def self.build(context)
|
142
|
+
unless context.config.regional_endpoint
|
143
|
+
endpoint = context.config.endpoint.to_s
|
144
|
+
end
|
145
|
+
Aws::Appflow::EndpointParameters.new(
|
146
|
+
region: context.config.region,
|
147
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
148
|
+
use_fips: context.config.use_fips_endpoint,
|
149
|
+
endpoint: endpoint,
|
150
|
+
)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
class ListConnectorEntities
|
155
|
+
def self.build(context)
|
156
|
+
unless context.config.regional_endpoint
|
157
|
+
endpoint = context.config.endpoint.to_s
|
158
|
+
end
|
159
|
+
Aws::Appflow::EndpointParameters.new(
|
160
|
+
region: context.config.region,
|
161
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
162
|
+
use_fips: context.config.use_fips_endpoint,
|
163
|
+
endpoint: endpoint,
|
164
|
+
)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
class ListConnectors
|
169
|
+
def self.build(context)
|
170
|
+
unless context.config.regional_endpoint
|
171
|
+
endpoint = context.config.endpoint.to_s
|
172
|
+
end
|
173
|
+
Aws::Appflow::EndpointParameters.new(
|
174
|
+
region: context.config.region,
|
175
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
176
|
+
use_fips: context.config.use_fips_endpoint,
|
177
|
+
endpoint: endpoint,
|
178
|
+
)
|
179
|
+
end
|
180
|
+
end
|
181
|
+
|
182
|
+
class ListFlows
|
183
|
+
def self.build(context)
|
184
|
+
unless context.config.regional_endpoint
|
185
|
+
endpoint = context.config.endpoint.to_s
|
186
|
+
end
|
187
|
+
Aws::Appflow::EndpointParameters.new(
|
188
|
+
region: context.config.region,
|
189
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
190
|
+
use_fips: context.config.use_fips_endpoint,
|
191
|
+
endpoint: endpoint,
|
192
|
+
)
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
class ListTagsForResource
|
197
|
+
def self.build(context)
|
198
|
+
unless context.config.regional_endpoint
|
199
|
+
endpoint = context.config.endpoint.to_s
|
200
|
+
end
|
201
|
+
Aws::Appflow::EndpointParameters.new(
|
202
|
+
region: context.config.region,
|
203
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
204
|
+
use_fips: context.config.use_fips_endpoint,
|
205
|
+
endpoint: endpoint,
|
206
|
+
)
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
210
|
+
class RegisterConnector
|
211
|
+
def self.build(context)
|
212
|
+
unless context.config.regional_endpoint
|
213
|
+
endpoint = context.config.endpoint.to_s
|
214
|
+
end
|
215
|
+
Aws::Appflow::EndpointParameters.new(
|
216
|
+
region: context.config.region,
|
217
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
218
|
+
use_fips: context.config.use_fips_endpoint,
|
219
|
+
endpoint: endpoint,
|
220
|
+
)
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
class StartFlow
|
225
|
+
def self.build(context)
|
226
|
+
unless context.config.regional_endpoint
|
227
|
+
endpoint = context.config.endpoint.to_s
|
228
|
+
end
|
229
|
+
Aws::Appflow::EndpointParameters.new(
|
230
|
+
region: context.config.region,
|
231
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
232
|
+
use_fips: context.config.use_fips_endpoint,
|
233
|
+
endpoint: endpoint,
|
234
|
+
)
|
235
|
+
end
|
236
|
+
end
|
237
|
+
|
238
|
+
class StopFlow
|
239
|
+
def self.build(context)
|
240
|
+
unless context.config.regional_endpoint
|
241
|
+
endpoint = context.config.endpoint.to_s
|
242
|
+
end
|
243
|
+
Aws::Appflow::EndpointParameters.new(
|
244
|
+
region: context.config.region,
|
245
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
246
|
+
use_fips: context.config.use_fips_endpoint,
|
247
|
+
endpoint: endpoint,
|
248
|
+
)
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
class TagResource
|
253
|
+
def self.build(context)
|
254
|
+
unless context.config.regional_endpoint
|
255
|
+
endpoint = context.config.endpoint.to_s
|
256
|
+
end
|
257
|
+
Aws::Appflow::EndpointParameters.new(
|
258
|
+
region: context.config.region,
|
259
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
260
|
+
use_fips: context.config.use_fips_endpoint,
|
261
|
+
endpoint: endpoint,
|
262
|
+
)
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
class UnregisterConnector
|
267
|
+
def self.build(context)
|
268
|
+
unless context.config.regional_endpoint
|
269
|
+
endpoint = context.config.endpoint.to_s
|
270
|
+
end
|
271
|
+
Aws::Appflow::EndpointParameters.new(
|
272
|
+
region: context.config.region,
|
273
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
274
|
+
use_fips: context.config.use_fips_endpoint,
|
275
|
+
endpoint: endpoint,
|
276
|
+
)
|
277
|
+
end
|
278
|
+
end
|
279
|
+
|
280
|
+
class UntagResource
|
281
|
+
def self.build(context)
|
282
|
+
unless context.config.regional_endpoint
|
283
|
+
endpoint = context.config.endpoint.to_s
|
284
|
+
end
|
285
|
+
Aws::Appflow::EndpointParameters.new(
|
286
|
+
region: context.config.region,
|
287
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
288
|
+
use_fips: context.config.use_fips_endpoint,
|
289
|
+
endpoint: endpoint,
|
290
|
+
)
|
291
|
+
end
|
292
|
+
end
|
293
|
+
|
294
|
+
class UpdateConnectorProfile
|
295
|
+
def self.build(context)
|
296
|
+
unless context.config.regional_endpoint
|
297
|
+
endpoint = context.config.endpoint.to_s
|
298
|
+
end
|
299
|
+
Aws::Appflow::EndpointParameters.new(
|
300
|
+
region: context.config.region,
|
301
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
302
|
+
use_fips: context.config.use_fips_endpoint,
|
303
|
+
endpoint: endpoint,
|
304
|
+
)
|
305
|
+
end
|
306
|
+
end
|
307
|
+
|
308
|
+
class UpdateFlow
|
309
|
+
def self.build(context)
|
310
|
+
unless context.config.regional_endpoint
|
311
|
+
endpoint = context.config.endpoint.to_s
|
312
|
+
end
|
313
|
+
Aws::Appflow::EndpointParameters.new(
|
314
|
+
region: context.config.region,
|
315
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
316
|
+
use_fips: context.config.use_fips_endpoint,
|
317
|
+
endpoint: endpoint,
|
318
|
+
)
|
319
|
+
end
|
320
|
+
end
|
321
|
+
|
322
|
+
end
|
323
|
+
end
|
@@ -0,0 +1,112 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# WARNING ABOUT GENERATED CODE
|
4
|
+
#
|
5
|
+
# This file is generated. See the contributing guide for more information:
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
|
+
#
|
8
|
+
# WARNING ABOUT GENERATED CODE
|
9
|
+
|
10
|
+
|
11
|
+
module Aws::Appflow
|
12
|
+
module Plugins
|
13
|
+
class Endpoints < Seahorse::Client::Plugin
|
14
|
+
option(
|
15
|
+
:endpoint_provider,
|
16
|
+
doc_type: 'Aws::Appflow::EndpointProvider',
|
17
|
+
docstring: 'The endpoint provider used to resolve endpoints. Any '\
|
18
|
+
'object that responds to `#resolve_endpoint(parameters)` '\
|
19
|
+
'where `parameters` is a Struct similar to '\
|
20
|
+
'`Aws::Appflow::EndpointParameters`'
|
21
|
+
) do |cfg|
|
22
|
+
Aws::Appflow::EndpointProvider.new
|
23
|
+
end
|
24
|
+
|
25
|
+
# @api private
|
26
|
+
class Handler < Seahorse::Client::Handler
|
27
|
+
def call(context)
|
28
|
+
# If endpoint was discovered, do not resolve or apply the endpoint.
|
29
|
+
unless context[:discovered_endpoint]
|
30
|
+
params = parameters_for_operation(context)
|
31
|
+
endpoint = context.config.endpoint_provider.resolve_endpoint(params)
|
32
|
+
|
33
|
+
context.http_request.endpoint = endpoint.url
|
34
|
+
apply_endpoint_headers(context, endpoint.headers)
|
35
|
+
end
|
36
|
+
|
37
|
+
context[:endpoint_params] = params
|
38
|
+
context[:auth_scheme] =
|
39
|
+
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
|
40
|
+
|
41
|
+
@handler.call(context)
|
42
|
+
end
|
43
|
+
|
44
|
+
private
|
45
|
+
|
46
|
+
def apply_endpoint_headers(context, headers)
|
47
|
+
headers.each do |key, values|
|
48
|
+
value = values
|
49
|
+
.compact
|
50
|
+
.map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
|
51
|
+
.join(',')
|
52
|
+
|
53
|
+
context.http_request.headers[key] = value
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
def parameters_for_operation(context)
|
58
|
+
case context.operation_name
|
59
|
+
when :create_connector_profile
|
60
|
+
Aws::Appflow::Endpoints::CreateConnectorProfile.build(context)
|
61
|
+
when :create_flow
|
62
|
+
Aws::Appflow::Endpoints::CreateFlow.build(context)
|
63
|
+
when :delete_connector_profile
|
64
|
+
Aws::Appflow::Endpoints::DeleteConnectorProfile.build(context)
|
65
|
+
when :delete_flow
|
66
|
+
Aws::Appflow::Endpoints::DeleteFlow.build(context)
|
67
|
+
when :describe_connector
|
68
|
+
Aws::Appflow::Endpoints::DescribeConnector.build(context)
|
69
|
+
when :describe_connector_entity
|
70
|
+
Aws::Appflow::Endpoints::DescribeConnectorEntity.build(context)
|
71
|
+
when :describe_connector_profiles
|
72
|
+
Aws::Appflow::Endpoints::DescribeConnectorProfiles.build(context)
|
73
|
+
when :describe_connectors
|
74
|
+
Aws::Appflow::Endpoints::DescribeConnectors.build(context)
|
75
|
+
when :describe_flow
|
76
|
+
Aws::Appflow::Endpoints::DescribeFlow.build(context)
|
77
|
+
when :describe_flow_execution_records
|
78
|
+
Aws::Appflow::Endpoints::DescribeFlowExecutionRecords.build(context)
|
79
|
+
when :list_connector_entities
|
80
|
+
Aws::Appflow::Endpoints::ListConnectorEntities.build(context)
|
81
|
+
when :list_connectors
|
82
|
+
Aws::Appflow::Endpoints::ListConnectors.build(context)
|
83
|
+
when :list_flows
|
84
|
+
Aws::Appflow::Endpoints::ListFlows.build(context)
|
85
|
+
when :list_tags_for_resource
|
86
|
+
Aws::Appflow::Endpoints::ListTagsForResource.build(context)
|
87
|
+
when :register_connector
|
88
|
+
Aws::Appflow::Endpoints::RegisterConnector.build(context)
|
89
|
+
when :start_flow
|
90
|
+
Aws::Appflow::Endpoints::StartFlow.build(context)
|
91
|
+
when :stop_flow
|
92
|
+
Aws::Appflow::Endpoints::StopFlow.build(context)
|
93
|
+
when :tag_resource
|
94
|
+
Aws::Appflow::Endpoints::TagResource.build(context)
|
95
|
+
when :unregister_connector
|
96
|
+
Aws::Appflow::Endpoints::UnregisterConnector.build(context)
|
97
|
+
when :untag_resource
|
98
|
+
Aws::Appflow::Endpoints::UntagResource.build(context)
|
99
|
+
when :update_connector_profile
|
100
|
+
Aws::Appflow::Endpoints::UpdateConnectorProfile.build(context)
|
101
|
+
when :update_flow
|
102
|
+
Aws::Appflow::Endpoints::UpdateFlow.build(context)
|
103
|
+
end
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
def add_handlers(handlers, _config)
|
108
|
+
handlers.add(Handler, step: :build, priority: 75)
|
109
|
+
end
|
110
|
+
end
|
111
|
+
end
|
112
|
+
end
|
@@ -2020,6 +2020,7 @@ module Aws::Appflow
|
|
2020
2020
|
# object: "Object", # required
|
2021
2021
|
# enable_dynamic_field_update: false,
|
2022
2022
|
# include_deleted_records: false,
|
2023
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2023
2024
|
# },
|
2024
2025
|
# service_now: {
|
2025
2026
|
# object: "Object", # required
|
@@ -2097,6 +2098,7 @@ module Aws::Appflow
|
|
2097
2098
|
# bucket_name: "BucketName",
|
2098
2099
|
# },
|
2099
2100
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
2101
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
2100
2102
|
# },
|
2101
2103
|
# snowflake: {
|
2102
2104
|
# object: "Object", # required
|
@@ -3143,6 +3145,7 @@ module Aws::Appflow
|
|
3143
3145
|
# bucket_name: "BucketName",
|
3144
3146
|
# },
|
3145
3147
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
3148
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
3146
3149
|
# },
|
3147
3150
|
# snowflake: {
|
3148
3151
|
# object: "Object", # required
|
@@ -3401,6 +3404,7 @@ module Aws::Appflow
|
|
3401
3404
|
# bucket_name: "BucketName",
|
3402
3405
|
# },
|
3403
3406
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
3407
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
3404
3408
|
# },
|
3405
3409
|
# snowflake: {
|
3406
3410
|
# object: "Object", # required
|
@@ -5578,6 +5582,7 @@ module Aws::Appflow
|
|
5578
5582
|
# bucket_name: "BucketName",
|
5579
5583
|
# },
|
5580
5584
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
5585
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
5581
5586
|
# }
|
5582
5587
|
#
|
5583
5588
|
# @!attribute [rw] object
|
@@ -5604,13 +5609,62 @@ module Aws::Appflow
|
|
5604
5609
|
# required.
|
5605
5610
|
# @return [String]
|
5606
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
|
+
#
|
5607
5660
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceDestinationProperties AWS API Documentation
|
5608
5661
|
#
|
5609
5662
|
class SalesforceDestinationProperties < Struct.new(
|
5610
5663
|
:object,
|
5611
5664
|
:id_field_names,
|
5612
5665
|
:error_handling_config,
|
5613
|
-
:write_operation_type
|
5666
|
+
:write_operation_type,
|
5667
|
+
:data_transfer_api)
|
5614
5668
|
SENSITIVE = []
|
5615
5669
|
include Aws::Structure
|
5616
5670
|
end
|
@@ -5621,10 +5675,16 @@ module Aws::Appflow
|
|
5621
5675
|
# The desired authorization scope for the Salesforce account.
|
5622
5676
|
# @return [Array<String>]
|
5623
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
|
+
#
|
5624
5683
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceMetadata AWS API Documentation
|
5625
5684
|
#
|
5626
5685
|
class SalesforceMetadata < Struct.new(
|
5627
|
-
:o_auth_scopes
|
5686
|
+
:o_auth_scopes,
|
5687
|
+
:data_transfer_apis)
|
5628
5688
|
SENSITIVE = []
|
5629
5689
|
include Aws::Structure
|
5630
5690
|
end
|
@@ -5639,6 +5699,7 @@ module Aws::Appflow
|
|
5639
5699
|
# object: "Object", # required
|
5640
5700
|
# enable_dynamic_field_update: false,
|
5641
5701
|
# include_deleted_records: false,
|
5702
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
5642
5703
|
# }
|
5643
5704
|
#
|
5644
5705
|
# @!attribute [rw] object
|
@@ -5655,12 +5716,61 @@ module Aws::Appflow
|
|
5655
5716
|
# run.
|
5656
5717
|
# @return [Boolean]
|
5657
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
|
+
#
|
5658
5767
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceSourceProperties AWS API Documentation
|
5659
5768
|
#
|
5660
5769
|
class SalesforceSourceProperties < Struct.new(
|
5661
5770
|
:object,
|
5662
5771
|
:enable_dynamic_field_update,
|
5663
|
-
:include_deleted_records
|
5772
|
+
:include_deleted_records,
|
5773
|
+
:data_transfer_api)
|
5664
5774
|
SENSITIVE = []
|
5665
5775
|
include Aws::Structure
|
5666
5776
|
end
|
@@ -6192,6 +6302,7 @@ module Aws::Appflow
|
|
6192
6302
|
# object: "Object", # required
|
6193
6303
|
# enable_dynamic_field_update: false,
|
6194
6304
|
# include_deleted_records: false,
|
6305
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
6195
6306
|
# },
|
6196
6307
|
# service_now: {
|
6197
6308
|
# object: "Object", # required
|
@@ -6382,6 +6493,7 @@ module Aws::Appflow
|
|
6382
6493
|
# object: "Object", # required
|
6383
6494
|
# enable_dynamic_field_update: false,
|
6384
6495
|
# include_deleted_records: false,
|
6496
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
6385
6497
|
# },
|
6386
6498
|
# service_now: {
|
6387
6499
|
# object: "Object", # required
|
@@ -7226,6 +7338,7 @@ module Aws::Appflow
|
|
7226
7338
|
# object: "Object", # required
|
7227
7339
|
# enable_dynamic_field_update: false,
|
7228
7340
|
# include_deleted_records: false,
|
7341
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
7229
7342
|
# },
|
7230
7343
|
# service_now: {
|
7231
7344
|
# object: "Object", # required
|
@@ -7303,6 +7416,7 @@ module Aws::Appflow
|
|
7303
7416
|
# bucket_name: "BucketName",
|
7304
7417
|
# },
|
7305
7418
|
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE, DELETE
|
7419
|
+
# data_transfer_api: "AUTOMATIC", # accepts AUTOMATIC, BULKV2, REST_SYNC
|
7306
7420
|
# },
|
7307
7421
|
# snowflake: {
|
7308
7422
|
# object: "Object", # required
|
data/lib/aws-sdk-appflow.rb
CHANGED
@@ -13,9 +13,13 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-appflow/types'
|
15
15
|
require_relative 'aws-sdk-appflow/client_api'
|
16
|
+
require_relative 'aws-sdk-appflow/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-appflow/client'
|
17
18
|
require_relative 'aws-sdk-appflow/errors'
|
18
19
|
require_relative 'aws-sdk-appflow/resource'
|
20
|
+
require_relative 'aws-sdk-appflow/endpoint_parameters'
|
21
|
+
require_relative 'aws-sdk-appflow/endpoint_provider'
|
22
|
+
require_relative 'aws-sdk-appflow/endpoints'
|
19
23
|
require_relative 'aws-sdk-appflow/customizations'
|
20
24
|
|
21
25
|
# This module provides support for Amazon Appflow. This module is available in the
|
@@ -48,6 +52,6 @@ require_relative 'aws-sdk-appflow/customizations'
|
|
48
52
|
# @!group service
|
49
53
|
module Aws::Appflow
|
50
54
|
|
51
|
-
GEM_VERSION = '1.
|
55
|
+
GEM_VERSION = '1.29.0'
|
52
56
|
|
53
57
|
end
|
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.29.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-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +59,11 @@ files:
|
|
59
59
|
- lib/aws-sdk-appflow/client.rb
|
60
60
|
- lib/aws-sdk-appflow/client_api.rb
|
61
61
|
- lib/aws-sdk-appflow/customizations.rb
|
62
|
+
- lib/aws-sdk-appflow/endpoint_parameters.rb
|
63
|
+
- lib/aws-sdk-appflow/endpoint_provider.rb
|
64
|
+
- lib/aws-sdk-appflow/endpoints.rb
|
62
65
|
- lib/aws-sdk-appflow/errors.rb
|
66
|
+
- lib/aws-sdk-appflow/plugins/endpoints.rb
|
63
67
|
- lib/aws-sdk-appflow/resource.rb
|
64
68
|
- lib/aws-sdk-appflow/types.rb
|
65
69
|
homepage: https://github.com/aws/aws-sdk-ruby
|