aws-sdk-appflow 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-appflow.rb +1 -1
- data/lib/aws-sdk-appflow/client.rb +22 -1
- data/lib/aws-sdk-appflow/client_api.rb +20 -0
- data/lib/aws-sdk-appflow/types.rb +108 -15
- 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: 750cc166d05ed07b77bdb21f911197e56b85a0fed61ef3613a055b1926d93ce9
|
|
4
|
+
data.tar.gz: bd8adbac3f80d813aac925cdf4acd5a267f9df64beadbc1807e740566d0a55a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3fbd95f28740b1e354262c040c535accb161fe5c115a6b605c8563ea768bd59bb4a76132cb67926e19067847e13e975cc817fd93844df71c8c4790d447fd4646
|
|
7
|
+
data.tar.gz: a9a95a7125324e98aef36f68db090a00d6088e49d1affd2d3b5071b4382f9f63698895678a08fce0287a06030a5684cd8cc9550c0372ccdbe9983f50e300a16f
|
data/lib/aws-sdk-appflow.rb
CHANGED
|
@@ -467,6 +467,7 @@ module Aws::Appflow
|
|
|
467
467
|
# auth_code: "AuthCode",
|
|
468
468
|
# redirect_uri: "RedirectUri",
|
|
469
469
|
# },
|
|
470
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
470
471
|
# },
|
|
471
472
|
# service_now: {
|
|
472
473
|
# username: "Username", # required
|
|
@@ -632,6 +633,9 @@ module Aws::Appflow
|
|
|
632
633
|
# object: "Object", # required
|
|
633
634
|
# },
|
|
634
635
|
# },
|
|
636
|
+
# incremental_pull_config: {
|
|
637
|
+
# datetime_type_field_name: "DatetimeTypeFieldName",
|
|
638
|
+
# },
|
|
635
639
|
# },
|
|
636
640
|
# destination_flow_config_list: [ # required
|
|
637
641
|
# {
|
|
@@ -664,11 +668,13 @@ module Aws::Appflow
|
|
|
664
668
|
# },
|
|
665
669
|
# salesforce: {
|
|
666
670
|
# object: "Object", # required
|
|
671
|
+
# id_field_names: ["Name"],
|
|
667
672
|
# error_handling_config: {
|
|
668
673
|
# fail_on_first_destination_error: false,
|
|
669
674
|
# bucket_prefix: "BucketPrefix",
|
|
670
675
|
# bucket_name: "BucketName",
|
|
671
676
|
# },
|
|
677
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
672
678
|
# },
|
|
673
679
|
# snowflake: {
|
|
674
680
|
# object: "Object", # required
|
|
@@ -836,6 +842,9 @@ module Aws::Appflow
|
|
|
836
842
|
# resp.connector_entity_fields[0].destination_properties.is_creatable #=> Boolean
|
|
837
843
|
# resp.connector_entity_fields[0].destination_properties.is_nullable #=> Boolean
|
|
838
844
|
# resp.connector_entity_fields[0].destination_properties.is_upsertable #=> Boolean
|
|
845
|
+
# resp.connector_entity_fields[0].destination_properties.is_updatable #=> Boolean
|
|
846
|
+
# resp.connector_entity_fields[0].destination_properties.supported_write_operations #=> Array
|
|
847
|
+
# resp.connector_entity_fields[0].destination_properties.supported_write_operations[0] #=> String, one of "INSERT", "UPSERT", "UPDATE"
|
|
839
848
|
#
|
|
840
849
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeConnectorEntity AWS API Documentation
|
|
841
850
|
#
|
|
@@ -1047,6 +1056,7 @@ module Aws::Appflow
|
|
|
1047
1056
|
# resp.source_flow_config.source_connector_properties.trendmicro.object #=> String
|
|
1048
1057
|
# resp.source_flow_config.source_connector_properties.veeva.object #=> String
|
|
1049
1058
|
# resp.source_flow_config.source_connector_properties.zendesk.object #=> String
|
|
1059
|
+
# resp.source_flow_config.incremental_pull_config.datetime_type_field_name #=> String
|
|
1050
1060
|
# resp.destination_flow_config_list #=> Array
|
|
1051
1061
|
# resp.destination_flow_config_list[0].connector_type #=> String, one of "Salesforce", "Singular", "Slack", "Redshift", "S3", "Marketo", "Googleanalytics", "Zendesk", "Servicenow", "Datadog", "Trendmicro", "Snowflake", "Dynatrace", "Infornexus", "Amplitude", "Veeva", "EventBridge"
|
|
1052
1062
|
# resp.destination_flow_config_list[0].connector_profile_name #=> String
|
|
@@ -1063,9 +1073,12 @@ module Aws::Appflow
|
|
|
1063
1073
|
# 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"
|
|
1064
1074
|
# resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.aggregation_config.aggregation_type #=> String, one of "None", "SingleFile"
|
|
1065
1075
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.object #=> String
|
|
1076
|
+
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names #=> Array
|
|
1077
|
+
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names[0] #=> String
|
|
1066
1078
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.fail_on_first_destination_error #=> Boolean
|
|
1067
1079
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.bucket_prefix #=> String
|
|
1068
1080
|
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.error_handling_config.bucket_name #=> String
|
|
1081
|
+
# resp.destination_flow_config_list[0].destination_connector_properties.salesforce.write_operation_type #=> String, one of "INSERT", "UPSERT", "UPDATE"
|
|
1069
1082
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.object #=> String
|
|
1070
1083
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.intermediate_bucket_name #=> String
|
|
1071
1084
|
# resp.destination_flow_config_list[0].destination_connector_properties.snowflake.bucket_prefix #=> String
|
|
@@ -1318,6 +1331,7 @@ module Aws::Appflow
|
|
|
1318
1331
|
#
|
|
1319
1332
|
# * {Types::StartFlowResponse#flow_arn #flow_arn} => String
|
|
1320
1333
|
# * {Types::StartFlowResponse#flow_status #flow_status} => String
|
|
1334
|
+
# * {Types::StartFlowResponse#execution_id #execution_id} => String
|
|
1321
1335
|
#
|
|
1322
1336
|
# @example Request syntax with placeholder values
|
|
1323
1337
|
#
|
|
@@ -1329,6 +1343,7 @@ module Aws::Appflow
|
|
|
1329
1343
|
#
|
|
1330
1344
|
# resp.flow_arn #=> String
|
|
1331
1345
|
# resp.flow_status #=> String, one of "Active", "Deprecated", "Deleted", "Draft", "Errored", "Suspended"
|
|
1346
|
+
# resp.execution_id #=> String
|
|
1332
1347
|
#
|
|
1333
1348
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlow AWS API Documentation
|
|
1334
1349
|
#
|
|
@@ -1550,6 +1565,7 @@ module Aws::Appflow
|
|
|
1550
1565
|
# auth_code: "AuthCode",
|
|
1551
1566
|
# redirect_uri: "RedirectUri",
|
|
1552
1567
|
# },
|
|
1568
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
1553
1569
|
# },
|
|
1554
1570
|
# service_now: {
|
|
1555
1571
|
# username: "Username", # required
|
|
@@ -1699,6 +1715,9 @@ module Aws::Appflow
|
|
|
1699
1715
|
# object: "Object", # required
|
|
1700
1716
|
# },
|
|
1701
1717
|
# },
|
|
1718
|
+
# incremental_pull_config: {
|
|
1719
|
+
# datetime_type_field_name: "DatetimeTypeFieldName",
|
|
1720
|
+
# },
|
|
1702
1721
|
# },
|
|
1703
1722
|
# destination_flow_config_list: [ # required
|
|
1704
1723
|
# {
|
|
@@ -1731,11 +1750,13 @@ module Aws::Appflow
|
|
|
1731
1750
|
# },
|
|
1732
1751
|
# salesforce: {
|
|
1733
1752
|
# object: "Object", # required
|
|
1753
|
+
# id_field_names: ["Name"],
|
|
1734
1754
|
# error_handling_config: {
|
|
1735
1755
|
# fail_on_first_destination_error: false,
|
|
1736
1756
|
# bucket_prefix: "BucketPrefix",
|
|
1737
1757
|
# bucket_name: "BucketName",
|
|
1738
1758
|
# },
|
|
1759
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
1739
1760
|
# },
|
|
1740
1761
|
# snowflake: {
|
|
1741
1762
|
# object: "Object", # required
|
|
@@ -1812,7 +1833,7 @@ module Aws::Appflow
|
|
|
1812
1833
|
params: params,
|
|
1813
1834
|
config: config)
|
|
1814
1835
|
context[:gem_name] = 'aws-sdk-appflow'
|
|
1815
|
-
context[:gem_version] = '1.
|
|
1836
|
+
context[:gem_version] = '1.3.0'
|
|
1816
1837
|
Seahorse::Client::Request.new(handlers, context)
|
|
1817
1838
|
end
|
|
1818
1839
|
|
|
@@ -32,6 +32,7 @@ module Aws::Appflow
|
|
|
32
32
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
|
33
33
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
|
34
34
|
BucketPrefix = Shapes::StringShape.new(name: 'BucketPrefix')
|
|
35
|
+
ClientCredentialsArn = Shapes::StringShape.new(name: 'ClientCredentialsArn')
|
|
35
36
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
|
36
37
|
ClientSecret = Shapes::StringShape.new(name: 'ClientSecret')
|
|
37
38
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
@@ -71,6 +72,7 @@ module Aws::Appflow
|
|
|
71
72
|
DatadogMetadata = Shapes::StructureShape.new(name: 'DatadogMetadata')
|
|
72
73
|
DatadogSourceProperties = Shapes::StructureShape.new(name: 'DatadogSourceProperties')
|
|
73
74
|
Date = Shapes::TimestampShape.new(name: 'Date')
|
|
75
|
+
DatetimeTypeFieldName = Shapes::StringShape.new(name: 'DatetimeTypeFieldName')
|
|
74
76
|
DeleteConnectorProfileRequest = Shapes::StructureShape.new(name: 'DeleteConnectorProfileRequest')
|
|
75
77
|
DeleteConnectorProfileResponse = Shapes::StructureShape.new(name: 'DeleteConnectorProfileResponse')
|
|
76
78
|
DeleteFlowRequest = Shapes::StructureShape.new(name: 'DeleteFlowRequest')
|
|
@@ -126,7 +128,9 @@ module Aws::Appflow
|
|
|
126
128
|
GoogleAnalyticsMetadata = Shapes::StructureShape.new(name: 'GoogleAnalyticsMetadata')
|
|
127
129
|
GoogleAnalyticsSourceProperties = Shapes::StructureShape.new(name: 'GoogleAnalyticsSourceProperties')
|
|
128
130
|
Group = Shapes::StringShape.new(name: 'Group')
|
|
131
|
+
IdFieldNameList = Shapes::ListShape.new(name: 'IdFieldNameList')
|
|
129
132
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
|
133
|
+
IncrementalPullConfig = Shapes::StructureShape.new(name: 'IncrementalPullConfig')
|
|
130
134
|
InforNexusConnectorOperator = Shapes::StringShape.new(name: 'InforNexusConnectorOperator')
|
|
131
135
|
InforNexusConnectorProfileCredentials = Shapes::StructureShape.new(name: 'InforNexusConnectorProfileCredentials')
|
|
132
136
|
InforNexusConnectorProfileProperties = Shapes::StructureShape.new(name: 'InforNexusConnectorProfileProperties')
|
|
@@ -222,6 +226,7 @@ module Aws::Appflow
|
|
|
222
226
|
String = Shapes::StringShape.new(name: 'String')
|
|
223
227
|
SupportedFieldTypeDetails = Shapes::StructureShape.new(name: 'SupportedFieldTypeDetails')
|
|
224
228
|
SupportedValueList = Shapes::ListShape.new(name: 'SupportedValueList')
|
|
229
|
+
SupportedWriteOperationList = Shapes::ListShape.new(name: 'SupportedWriteOperationList')
|
|
225
230
|
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
|
226
231
|
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
|
227
232
|
TagMap = Shapes::MapShape.new(name: 'TagMap')
|
|
@@ -259,6 +264,7 @@ module Aws::Appflow
|
|
|
259
264
|
VeevaMetadata = Shapes::StructureShape.new(name: 'VeevaMetadata')
|
|
260
265
|
VeevaSourceProperties = Shapes::StructureShape.new(name: 'VeevaSourceProperties')
|
|
261
266
|
Warehouse = Shapes::StringShape.new(name: 'Warehouse')
|
|
267
|
+
WriteOperationType = Shapes::StringShape.new(name: 'WriteOperationType')
|
|
262
268
|
ZendeskConnectorOperator = Shapes::StringShape.new(name: 'ZendeskConnectorOperator')
|
|
263
269
|
ZendeskConnectorProfileCredentials = Shapes::StructureShape.new(name: 'ZendeskConnectorProfileCredentials')
|
|
264
270
|
ZendeskConnectorProfileProperties = Shapes::StructureShape.new(name: 'ZendeskConnectorProfileProperties')
|
|
@@ -528,6 +534,8 @@ module Aws::Appflow
|
|
|
528
534
|
DestinationFieldProperties.add_member(:is_creatable, Shapes::ShapeRef.new(shape: Boolean, location_name: "isCreatable"))
|
|
529
535
|
DestinationFieldProperties.add_member(:is_nullable, Shapes::ShapeRef.new(shape: Boolean, location_name: "isNullable"))
|
|
530
536
|
DestinationFieldProperties.add_member(:is_upsertable, Shapes::ShapeRef.new(shape: Boolean, location_name: "isUpsertable"))
|
|
537
|
+
DestinationFieldProperties.add_member(:is_updatable, Shapes::ShapeRef.new(shape: Boolean, location_name: "isUpdatable"))
|
|
538
|
+
DestinationFieldProperties.add_member(:supported_write_operations, Shapes::ShapeRef.new(shape: SupportedWriteOperationList, location_name: "supportedWriteOperations"))
|
|
531
539
|
DestinationFieldProperties.struct_class = Types::DestinationFieldProperties
|
|
532
540
|
|
|
533
541
|
DestinationFlowConfig.add_member(:connector_type, Shapes::ShapeRef.new(shape: ConnectorType, required: true, location_name: "connectorType"))
|
|
@@ -622,6 +630,11 @@ module Aws::Appflow
|
|
|
622
630
|
GoogleAnalyticsSourceProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
|
623
631
|
GoogleAnalyticsSourceProperties.struct_class = Types::GoogleAnalyticsSourceProperties
|
|
624
632
|
|
|
633
|
+
IdFieldNameList.member = Shapes::ShapeRef.new(shape: Name)
|
|
634
|
+
|
|
635
|
+
IncrementalPullConfig.add_member(:datetime_type_field_name, Shapes::ShapeRef.new(shape: DatetimeTypeFieldName, location_name: "datetimeTypeFieldName"))
|
|
636
|
+
IncrementalPullConfig.struct_class = Types::IncrementalPullConfig
|
|
637
|
+
|
|
625
638
|
InforNexusConnectorProfileCredentials.add_member(:access_key_id, Shapes::ShapeRef.new(shape: AccessKeyId, required: true, location_name: "accessKeyId"))
|
|
626
639
|
InforNexusConnectorProfileCredentials.add_member(:user_id, Shapes::ShapeRef.new(shape: Username, required: true, location_name: "userId"))
|
|
627
640
|
InforNexusConnectorProfileCredentials.add_member(:secret_access_key, Shapes::ShapeRef.new(shape: Key, required: true, location_name: "secretAccessKey"))
|
|
@@ -723,6 +736,7 @@ module Aws::Appflow
|
|
|
723
736
|
SalesforceConnectorProfileCredentials.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
|
|
724
737
|
SalesforceConnectorProfileCredentials.add_member(:refresh_token, Shapes::ShapeRef.new(shape: RefreshToken, location_name: "refreshToken"))
|
|
725
738
|
SalesforceConnectorProfileCredentials.add_member(:o_auth_request, Shapes::ShapeRef.new(shape: ConnectorOAuthRequest, location_name: "oAuthRequest"))
|
|
739
|
+
SalesforceConnectorProfileCredentials.add_member(:client_credentials_arn, Shapes::ShapeRef.new(shape: ClientCredentialsArn, location_name: "clientCredentialsArn"))
|
|
726
740
|
SalesforceConnectorProfileCredentials.struct_class = Types::SalesforceConnectorProfileCredentials
|
|
727
741
|
|
|
728
742
|
SalesforceConnectorProfileProperties.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, location_name: "instanceUrl"))
|
|
@@ -730,7 +744,9 @@ module Aws::Appflow
|
|
|
730
744
|
SalesforceConnectorProfileProperties.struct_class = Types::SalesforceConnectorProfileProperties
|
|
731
745
|
|
|
732
746
|
SalesforceDestinationProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
|
747
|
+
SalesforceDestinationProperties.add_member(:id_field_names, Shapes::ShapeRef.new(shape: IdFieldNameList, location_name: "idFieldNames"))
|
|
733
748
|
SalesforceDestinationProperties.add_member(:error_handling_config, Shapes::ShapeRef.new(shape: ErrorHandlingConfig, location_name: "errorHandlingConfig"))
|
|
749
|
+
SalesforceDestinationProperties.add_member(:write_operation_type, Shapes::ShapeRef.new(shape: WriteOperationType, location_name: "writeOperationType"))
|
|
734
750
|
SalesforceDestinationProperties.struct_class = Types::SalesforceDestinationProperties
|
|
735
751
|
|
|
736
752
|
SalesforceMetadata.add_member(:o_auth_scopes, Shapes::ShapeRef.new(shape: OAuthScopeList, location_name: "oAuthScopes"))
|
|
@@ -837,6 +853,7 @@ module Aws::Appflow
|
|
|
837
853
|
SourceFlowConfig.add_member(:connector_type, Shapes::ShapeRef.new(shape: ConnectorType, required: true, location_name: "connectorType"))
|
|
838
854
|
SourceFlowConfig.add_member(:connector_profile_name, Shapes::ShapeRef.new(shape: ConnectorProfileName, location_name: "connectorProfileName"))
|
|
839
855
|
SourceFlowConfig.add_member(:source_connector_properties, Shapes::ShapeRef.new(shape: SourceConnectorProperties, required: true, location_name: "sourceConnectorProperties"))
|
|
856
|
+
SourceFlowConfig.add_member(:incremental_pull_config, Shapes::ShapeRef.new(shape: IncrementalPullConfig, location_name: "incrementalPullConfig"))
|
|
840
857
|
SourceFlowConfig.struct_class = Types::SourceFlowConfig
|
|
841
858
|
|
|
842
859
|
StartFlowRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
|
|
@@ -844,6 +861,7 @@ module Aws::Appflow
|
|
|
844
861
|
|
|
845
862
|
StartFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: FlowArn, location_name: "flowArn"))
|
|
846
863
|
StartFlowResponse.add_member(:flow_status, Shapes::ShapeRef.new(shape: FlowStatus, location_name: "flowStatus"))
|
|
864
|
+
StartFlowResponse.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "executionId"))
|
|
847
865
|
StartFlowResponse.struct_class = Types::StartFlowResponse
|
|
848
866
|
|
|
849
867
|
StopFlowRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
|
|
@@ -858,6 +876,8 @@ module Aws::Appflow
|
|
|
858
876
|
|
|
859
877
|
SupportedValueList.member = Shapes::ShapeRef.new(shape: Value)
|
|
860
878
|
|
|
879
|
+
SupportedWriteOperationList.member = Shapes::ShapeRef.new(shape: WriteOperationType)
|
|
880
|
+
|
|
861
881
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
|
862
882
|
|
|
863
883
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
|
@@ -647,6 +647,7 @@ module Aws::Appflow
|
|
|
647
647
|
# auth_code: "AuthCode",
|
|
648
648
|
# redirect_uri: "RedirectUri",
|
|
649
649
|
# },
|
|
650
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
650
651
|
# },
|
|
651
652
|
# service_now: {
|
|
652
653
|
# username: "Username", # required
|
|
@@ -757,6 +758,7 @@ module Aws::Appflow
|
|
|
757
758
|
# auth_code: "AuthCode",
|
|
758
759
|
# redirect_uri: "RedirectUri",
|
|
759
760
|
# },
|
|
761
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
760
762
|
# },
|
|
761
763
|
# service_now: {
|
|
762
764
|
# username: "Username", # required
|
|
@@ -1144,6 +1146,7 @@ module Aws::Appflow
|
|
|
1144
1146
|
# auth_code: "AuthCode",
|
|
1145
1147
|
# redirect_uri: "RedirectUri",
|
|
1146
1148
|
# },
|
|
1149
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
1147
1150
|
# },
|
|
1148
1151
|
# service_now: {
|
|
1149
1152
|
# username: "Username", # required
|
|
@@ -1305,6 +1308,9 @@ module Aws::Appflow
|
|
|
1305
1308
|
# object: "Object", # required
|
|
1306
1309
|
# },
|
|
1307
1310
|
# },
|
|
1311
|
+
# incremental_pull_config: {
|
|
1312
|
+
# datetime_type_field_name: "DatetimeTypeFieldName",
|
|
1313
|
+
# },
|
|
1308
1314
|
# },
|
|
1309
1315
|
# destination_flow_config_list: [ # required
|
|
1310
1316
|
# {
|
|
@@ -1337,11 +1343,13 @@ module Aws::Appflow
|
|
|
1337
1343
|
# },
|
|
1338
1344
|
# salesforce: {
|
|
1339
1345
|
# object: "Object", # required
|
|
1346
|
+
# id_field_names: ["Name"],
|
|
1340
1347
|
# error_handling_config: {
|
|
1341
1348
|
# fail_on_first_destination_error: false,
|
|
1342
1349
|
# bucket_prefix: "BucketPrefix",
|
|
1343
1350
|
# bucket_name: "BucketName",
|
|
1344
1351
|
# },
|
|
1352
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
1345
1353
|
# },
|
|
1346
1354
|
# snowflake: {
|
|
1347
1355
|
# object: "Object", # required
|
|
@@ -1960,11 +1968,13 @@ module Aws::Appflow
|
|
|
1960
1968
|
# },
|
|
1961
1969
|
# salesforce: {
|
|
1962
1970
|
# object: "Object", # required
|
|
1971
|
+
# id_field_names: ["Name"],
|
|
1963
1972
|
# error_handling_config: {
|
|
1964
1973
|
# fail_on_first_destination_error: false,
|
|
1965
1974
|
# bucket_prefix: "BucketPrefix",
|
|
1966
1975
|
# bucket_name: "BucketName",
|
|
1967
1976
|
# },
|
|
1977
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
1968
1978
|
# },
|
|
1969
1979
|
# snowflake: {
|
|
1970
1980
|
# object: "Object", # required
|
|
@@ -2036,12 +2046,25 @@ module Aws::Appflow
|
|
|
2036
2046
|
# they do.
|
|
2037
2047
|
# @return [Boolean]
|
|
2038
2048
|
#
|
|
2049
|
+
# @!attribute [rw] is_updatable
|
|
2050
|
+
# Specifies whether the field can be updated during an `UPDATE` or
|
|
2051
|
+
# `UPSERT` write operation.
|
|
2052
|
+
# @return [Boolean]
|
|
2053
|
+
#
|
|
2054
|
+
# @!attribute [rw] supported_write_operations
|
|
2055
|
+
# A list of supported write operations. For each write operation
|
|
2056
|
+
# listed, this field can be used in `idFieldNames` when that write
|
|
2057
|
+
# operation is present as a destination option.
|
|
2058
|
+
# @return [Array<String>]
|
|
2059
|
+
#
|
|
2039
2060
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DestinationFieldProperties AWS API Documentation
|
|
2040
2061
|
#
|
|
2041
2062
|
class DestinationFieldProperties < Struct.new(
|
|
2042
2063
|
:is_creatable,
|
|
2043
2064
|
:is_nullable,
|
|
2044
|
-
:is_upsertable
|
|
2065
|
+
:is_upsertable,
|
|
2066
|
+
:is_updatable,
|
|
2067
|
+
:supported_write_operations)
|
|
2045
2068
|
SENSITIVE = []
|
|
2046
2069
|
include Aws::Structure
|
|
2047
2070
|
end
|
|
@@ -2082,11 +2105,13 @@ module Aws::Appflow
|
|
|
2082
2105
|
# },
|
|
2083
2106
|
# salesforce: {
|
|
2084
2107
|
# object: "Object", # required
|
|
2108
|
+
# id_field_names: ["Name"],
|
|
2085
2109
|
# error_handling_config: {
|
|
2086
2110
|
# fail_on_first_destination_error: false,
|
|
2087
2111
|
# bucket_prefix: "BucketPrefix",
|
|
2088
2112
|
# bucket_name: "BucketName",
|
|
2089
2113
|
# },
|
|
2114
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
2090
2115
|
# },
|
|
2091
2116
|
# snowflake: {
|
|
2092
2117
|
# object: "Object", # required
|
|
@@ -2523,7 +2548,7 @@ module Aws::Appflow
|
|
|
2523
2548
|
# @return [String]
|
|
2524
2549
|
#
|
|
2525
2550
|
# @!attribute [rw] client_secret
|
|
2526
|
-
# The client secret used by the
|
|
2551
|
+
# The client secret used by the OAuth client to authenticate to the
|
|
2527
2552
|
# authorization server.
|
|
2528
2553
|
# @return [String]
|
|
2529
2554
|
#
|
|
@@ -2538,7 +2563,7 @@ module Aws::Appflow
|
|
|
2538
2563
|
# @return [String]
|
|
2539
2564
|
#
|
|
2540
2565
|
# @!attribute [rw] o_auth_request
|
|
2541
|
-
# The
|
|
2566
|
+
# The OAuth requirement needed to request security tokens from the
|
|
2542
2567
|
# connector endpoint.
|
|
2543
2568
|
# @return [Types::ConnectorOAuthRequest]
|
|
2544
2569
|
#
|
|
@@ -2599,6 +2624,29 @@ module Aws::Appflow
|
|
|
2599
2624
|
include Aws::Structure
|
|
2600
2625
|
end
|
|
2601
2626
|
|
|
2627
|
+
# Specifies the configuration used when importing incremental records
|
|
2628
|
+
# from the source.
|
|
2629
|
+
#
|
|
2630
|
+
# @note When making an API call, you may pass IncrementalPullConfig
|
|
2631
|
+
# data as a hash:
|
|
2632
|
+
#
|
|
2633
|
+
# {
|
|
2634
|
+
# datetime_type_field_name: "DatetimeTypeFieldName",
|
|
2635
|
+
# }
|
|
2636
|
+
#
|
|
2637
|
+
# @!attribute [rw] datetime_type_field_name
|
|
2638
|
+
# A field that specifies the date time or timestamp field as the
|
|
2639
|
+
# criteria to use when importing incremental records from the source.
|
|
2640
|
+
# @return [String]
|
|
2641
|
+
#
|
|
2642
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/IncrementalPullConfig AWS API Documentation
|
|
2643
|
+
#
|
|
2644
|
+
class IncrementalPullConfig < Struct.new(
|
|
2645
|
+
:datetime_type_field_name)
|
|
2646
|
+
SENSITIVE = []
|
|
2647
|
+
include Aws::Structure
|
|
2648
|
+
end
|
|
2649
|
+
|
|
2602
2650
|
# The connector-specific profile credentials required by Infor Nexus.
|
|
2603
2651
|
#
|
|
2604
2652
|
# @note When making an API call, you may pass InforNexusConnectorProfileCredentials
|
|
@@ -2848,7 +2896,7 @@ module Aws::Appflow
|
|
|
2848
2896
|
# @return [String]
|
|
2849
2897
|
#
|
|
2850
2898
|
# @!attribute [rw] client_secret
|
|
2851
|
-
# The client secret used by the
|
|
2899
|
+
# The client secret used by the OAuth client to authenticate to the
|
|
2852
2900
|
# authorization server.
|
|
2853
2901
|
# @return [String]
|
|
2854
2902
|
#
|
|
@@ -2857,7 +2905,7 @@ module Aws::Appflow
|
|
|
2857
2905
|
# @return [String]
|
|
2858
2906
|
#
|
|
2859
2907
|
# @!attribute [rw] o_auth_request
|
|
2860
|
-
# The
|
|
2908
|
+
# The OAuth requirement needed to request security tokens from the
|
|
2861
2909
|
# connector endpoint.
|
|
2862
2910
|
# @return [Types::ConnectorOAuthRequest]
|
|
2863
2911
|
#
|
|
@@ -3227,6 +3275,7 @@ module Aws::Appflow
|
|
|
3227
3275
|
# auth_code: "AuthCode",
|
|
3228
3276
|
# redirect_uri: "RedirectUri",
|
|
3229
3277
|
# },
|
|
3278
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
3230
3279
|
# }
|
|
3231
3280
|
#
|
|
3232
3281
|
# @!attribute [rw] access_token
|
|
@@ -3238,17 +3287,23 @@ module Aws::Appflow
|
|
|
3238
3287
|
# @return [String]
|
|
3239
3288
|
#
|
|
3240
3289
|
# @!attribute [rw] o_auth_request
|
|
3241
|
-
# The
|
|
3290
|
+
# The OAuth requirement needed to request security tokens from the
|
|
3242
3291
|
# connector endpoint.
|
|
3243
3292
|
# @return [Types::ConnectorOAuthRequest]
|
|
3244
3293
|
#
|
|
3294
|
+
# @!attribute [rw] client_credentials_arn
|
|
3295
|
+
# The secret manager ARN, which contains the client ID and client
|
|
3296
|
+
# secret of the connected app.
|
|
3297
|
+
# @return [String]
|
|
3298
|
+
#
|
|
3245
3299
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceConnectorProfileCredentials AWS API Documentation
|
|
3246
3300
|
#
|
|
3247
3301
|
class SalesforceConnectorProfileCredentials < Struct.new(
|
|
3248
3302
|
:access_token,
|
|
3249
3303
|
:refresh_token,
|
|
3250
|
-
:o_auth_request
|
|
3251
|
-
|
|
3304
|
+
:o_auth_request,
|
|
3305
|
+
:client_credentials_arn)
|
|
3306
|
+
SENSITIVE = [:access_token, :client_credentials_arn]
|
|
3252
3307
|
include Aws::Structure
|
|
3253
3308
|
end
|
|
3254
3309
|
|
|
@@ -3289,17 +3344,24 @@ module Aws::Appflow
|
|
|
3289
3344
|
#
|
|
3290
3345
|
# {
|
|
3291
3346
|
# object: "Object", # required
|
|
3347
|
+
# id_field_names: ["Name"],
|
|
3292
3348
|
# error_handling_config: {
|
|
3293
3349
|
# fail_on_first_destination_error: false,
|
|
3294
3350
|
# bucket_prefix: "BucketPrefix",
|
|
3295
3351
|
# bucket_name: "BucketName",
|
|
3296
3352
|
# },
|
|
3353
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
3297
3354
|
# }
|
|
3298
3355
|
#
|
|
3299
3356
|
# @!attribute [rw] object
|
|
3300
3357
|
# The object specified in the Salesforce flow destination.
|
|
3301
3358
|
# @return [String]
|
|
3302
3359
|
#
|
|
3360
|
+
# @!attribute [rw] id_field_names
|
|
3361
|
+
# The name of the field that Amazon AppFlow uses as an ID when
|
|
3362
|
+
# performing a write operation such as update or delete.
|
|
3363
|
+
# @return [Array<String>]
|
|
3364
|
+
#
|
|
3303
3365
|
# @!attribute [rw] error_handling_config
|
|
3304
3366
|
# The settings that determine how Amazon AppFlow handles an error when
|
|
3305
3367
|
# placing data in the Salesforce destination. For example, this
|
|
@@ -3309,11 +3371,19 @@ module Aws::Appflow
|
|
|
3309
3371
|
# destination connector details.
|
|
3310
3372
|
# @return [Types::ErrorHandlingConfig]
|
|
3311
3373
|
#
|
|
3374
|
+
# @!attribute [rw] write_operation_type
|
|
3375
|
+
# This specifies the type of write operation to be performed in
|
|
3376
|
+
# Salesforce. When the value is `UPSERT`, then `idFieldNames` is
|
|
3377
|
+
# required.
|
|
3378
|
+
# @return [String]
|
|
3379
|
+
#
|
|
3312
3380
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceDestinationProperties AWS API Documentation
|
|
3313
3381
|
#
|
|
3314
3382
|
class SalesforceDestinationProperties < Struct.new(
|
|
3315
3383
|
:object,
|
|
3316
|
-
:
|
|
3384
|
+
:id_field_names,
|
|
3385
|
+
:error_handling_config,
|
|
3386
|
+
:write_operation_type)
|
|
3317
3387
|
SENSITIVE = []
|
|
3318
3388
|
include Aws::Structure
|
|
3319
3389
|
end
|
|
@@ -3590,7 +3660,7 @@ module Aws::Appflow
|
|
|
3590
3660
|
# @return [String]
|
|
3591
3661
|
#
|
|
3592
3662
|
# @!attribute [rw] client_secret
|
|
3593
|
-
# The client secret used by the
|
|
3663
|
+
# The client secret used by the OAuth client to authenticate to the
|
|
3594
3664
|
# authorization server.
|
|
3595
3665
|
# @return [String]
|
|
3596
3666
|
#
|
|
@@ -3599,7 +3669,7 @@ module Aws::Appflow
|
|
|
3599
3669
|
# @return [String]
|
|
3600
3670
|
#
|
|
3601
3671
|
# @!attribute [rw] o_auth_request
|
|
3602
|
-
# The
|
|
3672
|
+
# The OAuth requirement needed to request security tokens from the
|
|
3603
3673
|
# connector endpoint.
|
|
3604
3674
|
# @return [Types::ConnectorOAuthRequest]
|
|
3605
3675
|
#
|
|
@@ -4034,6 +4104,9 @@ module Aws::Appflow
|
|
|
4034
4104
|
# object: "Object", # required
|
|
4035
4105
|
# },
|
|
4036
4106
|
# },
|
|
4107
|
+
# incremental_pull_config: {
|
|
4108
|
+
# datetime_type_field_name: "DatetimeTypeFieldName",
|
|
4109
|
+
# },
|
|
4037
4110
|
# }
|
|
4038
4111
|
#
|
|
4039
4112
|
# @!attribute [rw] connector_type
|
|
@@ -4050,12 +4123,19 @@ module Aws::Appflow
|
|
|
4050
4123
|
# source connector.
|
|
4051
4124
|
# @return [Types::SourceConnectorProperties]
|
|
4052
4125
|
#
|
|
4126
|
+
# @!attribute [rw] incremental_pull_config
|
|
4127
|
+
# Defines the configuration for a scheduled incremental data pull. If
|
|
4128
|
+
# a valid configuration is provided, the fields specified in the
|
|
4129
|
+
# configuration are used when querying for the incremental data pull.
|
|
4130
|
+
# @return [Types::IncrementalPullConfig]
|
|
4131
|
+
#
|
|
4053
4132
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SourceFlowConfig AWS API Documentation
|
|
4054
4133
|
#
|
|
4055
4134
|
class SourceFlowConfig < Struct.new(
|
|
4056
4135
|
:connector_type,
|
|
4057
4136
|
:connector_profile_name,
|
|
4058
|
-
:source_connector_properties
|
|
4137
|
+
:source_connector_properties,
|
|
4138
|
+
:incremental_pull_config)
|
|
4059
4139
|
SENSITIVE = []
|
|
4060
4140
|
include Aws::Structure
|
|
4061
4141
|
end
|
|
@@ -4088,11 +4168,18 @@ module Aws::Appflow
|
|
|
4088
4168
|
# Indicates the current status of the flow.
|
|
4089
4169
|
# @return [String]
|
|
4090
4170
|
#
|
|
4171
|
+
# @!attribute [rw] execution_id
|
|
4172
|
+
# Returns the internal execution ID of an on-demand flow when the flow
|
|
4173
|
+
# is started. For scheduled or event-triggered flows, this value is
|
|
4174
|
+
# null.
|
|
4175
|
+
# @return [String]
|
|
4176
|
+
#
|
|
4091
4177
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlowResponse AWS API Documentation
|
|
4092
4178
|
#
|
|
4093
4179
|
class StartFlowResponse < Struct.new(
|
|
4094
4180
|
:flow_arn,
|
|
4095
|
-
:flow_status
|
|
4181
|
+
:flow_status,
|
|
4182
|
+
:execution_id)
|
|
4096
4183
|
SENSITIVE = []
|
|
4097
4184
|
include Aws::Structure
|
|
4098
4185
|
end
|
|
@@ -4526,6 +4613,7 @@ module Aws::Appflow
|
|
|
4526
4613
|
# auth_code: "AuthCode",
|
|
4527
4614
|
# redirect_uri: "RedirectUri",
|
|
4528
4615
|
# },
|
|
4616
|
+
# client_credentials_arn: "ClientCredentialsArn",
|
|
4529
4617
|
# },
|
|
4530
4618
|
# service_now: {
|
|
4531
4619
|
# username: "Username", # required
|
|
@@ -4671,6 +4759,9 @@ module Aws::Appflow
|
|
|
4671
4759
|
# object: "Object", # required
|
|
4672
4760
|
# },
|
|
4673
4761
|
# },
|
|
4762
|
+
# incremental_pull_config: {
|
|
4763
|
+
# datetime_type_field_name: "DatetimeTypeFieldName",
|
|
4764
|
+
# },
|
|
4674
4765
|
# },
|
|
4675
4766
|
# destination_flow_config_list: [ # required
|
|
4676
4767
|
# {
|
|
@@ -4703,11 +4794,13 @@ module Aws::Appflow
|
|
|
4703
4794
|
# },
|
|
4704
4795
|
# salesforce: {
|
|
4705
4796
|
# object: "Object", # required
|
|
4797
|
+
# id_field_names: ["Name"],
|
|
4706
4798
|
# error_handling_config: {
|
|
4707
4799
|
# fail_on_first_destination_error: false,
|
|
4708
4800
|
# bucket_prefix: "BucketPrefix",
|
|
4709
4801
|
# bucket_name: "BucketName",
|
|
4710
4802
|
# },
|
|
4803
|
+
# write_operation_type: "INSERT", # accepts INSERT, UPSERT, UPDATE
|
|
4711
4804
|
# },
|
|
4712
4805
|
# snowflake: {
|
|
4713
4806
|
# object: "Object", # required
|
|
@@ -4920,7 +5013,7 @@ module Aws::Appflow
|
|
|
4920
5013
|
# @return [String]
|
|
4921
5014
|
#
|
|
4922
5015
|
# @!attribute [rw] client_secret
|
|
4923
|
-
# The client secret used by the
|
|
5016
|
+
# The client secret used by the OAuth client to authenticate to the
|
|
4924
5017
|
# authorization server.
|
|
4925
5018
|
# @return [String]
|
|
4926
5019
|
#
|
|
@@ -4929,7 +5022,7 @@ module Aws::Appflow
|
|
|
4929
5022
|
# @return [String]
|
|
4930
5023
|
#
|
|
4931
5024
|
# @!attribute [rw] o_auth_request
|
|
4932
|
-
# The
|
|
5025
|
+
# The OAuth requirement needed to request security tokens from the
|
|
4933
5026
|
# connector endpoint.
|
|
4934
5027
|
# @return [Types::ConnectorOAuthRequest]
|
|
4935
5028
|
#
|
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.3.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: 2020-
|
|
11
|
+
date: 2020-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|