aws-sdk-appflow 1.48.0 → 1.50.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 +41 -5
- data/lib/aws-sdk-appflow/client_api.rb +19 -2
- data/lib/aws-sdk-appflow/types.rb +70 -3
- 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: 6933fbf00c0f8fa2254720f537a1b5d9640e1535caf81fb622cef90829581c6b
|
4
|
+
data.tar.gz: 02ee166ec71309829a8cb7851b207ab994b12b72d8bebaed09e07e00cab20f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c83ed52b78c464108802446d3bd7fefe3a1a61089615efd1c358bb7d01fda88f3e30a48a11d31f01642dc06f6e35ac9e02e37060a6c22732e26074bf5f6ecf8
|
7
|
+
data.tar.gz: 22840d5c31dd39cb883d97395a29fcfa4a6b7456022415ac11ef130811d21d357dcf5d620abda74ab973aebdd4c9dc787f11b59aa5c3548be1d2e44546dd3d93
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.50.0 (2023-09-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding OAuth2.0 support for servicenow connector.
|
8
|
+
|
9
|
+
1.49.0 (2023-08-30)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add SAP source connector parallel and pagination feature
|
13
|
+
|
4
14
|
1.48.0 (2023-07-11)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.50.0
|
@@ -676,8 +676,18 @@ module Aws::Appflow
|
|
676
676
|
# jwt_token: "JwtToken",
|
677
677
|
# },
|
678
678
|
# service_now: {
|
679
|
-
# username: "Username",
|
680
|
-
# password: "Password",
|
679
|
+
# username: "Username",
|
680
|
+
# password: "Password",
|
681
|
+
# o_auth_2_credentials: {
|
682
|
+
# client_id: "ClientId",
|
683
|
+
# client_secret: "ClientSecret",
|
684
|
+
# access_token: "AccessToken",
|
685
|
+
# refresh_token: "RefreshToken",
|
686
|
+
# o_auth_request: {
|
687
|
+
# auth_code: "AuthCode",
|
688
|
+
# redirect_uri: "RedirectUri",
|
689
|
+
# },
|
690
|
+
# },
|
681
691
|
# },
|
682
692
|
# singular: {
|
683
693
|
# api_key: "ApiKey", # required
|
@@ -931,6 +941,12 @@ module Aws::Appflow
|
|
931
941
|
# },
|
932
942
|
# sapo_data: {
|
933
943
|
# object_path: "Object",
|
944
|
+
# parallelism_config: {
|
945
|
+
# max_parallelism: 1, # required
|
946
|
+
# },
|
947
|
+
# pagination_config: {
|
948
|
+
# max_page_size: 1, # required
|
949
|
+
# },
|
934
950
|
# },
|
935
951
|
# custom_connector: {
|
936
952
|
# entity_name: "EntityName", # required
|
@@ -1744,6 +1760,8 @@ module Aws::Appflow
|
|
1744
1760
|
# resp.source_flow_config.source_connector_properties.veeva.include_all_versions #=> Boolean
|
1745
1761
|
# resp.source_flow_config.source_connector_properties.zendesk.object #=> String
|
1746
1762
|
# resp.source_flow_config.source_connector_properties.sapo_data.object_path #=> String
|
1763
|
+
# resp.source_flow_config.source_connector_properties.sapo_data.parallelism_config.max_parallelism #=> Integer
|
1764
|
+
# resp.source_flow_config.source_connector_properties.sapo_data.pagination_config.max_page_size #=> Integer
|
1747
1765
|
# resp.source_flow_config.source_connector_properties.custom_connector.entity_name #=> String
|
1748
1766
|
# resp.source_flow_config.source_connector_properties.custom_connector.custom_properties #=> Hash
|
1749
1767
|
# resp.source_flow_config.source_connector_properties.custom_connector.custom_properties["CustomPropertyKey"] #=> String
|
@@ -1937,6 +1955,8 @@ module Aws::Appflow
|
|
1937
1955
|
# resp.flow_executions[0].execution_result.bytes_processed #=> Integer
|
1938
1956
|
# resp.flow_executions[0].execution_result.bytes_written #=> Integer
|
1939
1957
|
# resp.flow_executions[0].execution_result.records_processed #=> Integer
|
1958
|
+
# resp.flow_executions[0].execution_result.num_parallel_processes #=> Integer
|
1959
|
+
# resp.flow_executions[0].execution_result.max_page_size #=> Integer
|
1940
1960
|
# resp.flow_executions[0].started_at #=> Time
|
1941
1961
|
# resp.flow_executions[0].last_updated_at #=> Time
|
1942
1962
|
# resp.flow_executions[0].data_pull_start_time #=> Time
|
@@ -2700,8 +2720,18 @@ module Aws::Appflow
|
|
2700
2720
|
# jwt_token: "JwtToken",
|
2701
2721
|
# },
|
2702
2722
|
# service_now: {
|
2703
|
-
# username: "Username",
|
2704
|
-
# password: "Password",
|
2723
|
+
# username: "Username",
|
2724
|
+
# password: "Password",
|
2725
|
+
# o_auth_2_credentials: {
|
2726
|
+
# client_id: "ClientId",
|
2727
|
+
# client_secret: "ClientSecret",
|
2728
|
+
# access_token: "AccessToken",
|
2729
|
+
# refresh_token: "RefreshToken",
|
2730
|
+
# o_auth_request: {
|
2731
|
+
# auth_code: "AuthCode",
|
2732
|
+
# redirect_uri: "RedirectUri",
|
2733
|
+
# },
|
2734
|
+
# },
|
2705
2735
|
# },
|
2706
2736
|
# singular: {
|
2707
2737
|
# api_key: "ApiKey", # required
|
@@ -3008,6 +3038,12 @@ module Aws::Appflow
|
|
3008
3038
|
# },
|
3009
3039
|
# sapo_data: {
|
3010
3040
|
# object_path: "Object",
|
3041
|
+
# parallelism_config: {
|
3042
|
+
# max_parallelism: 1, # required
|
3043
|
+
# },
|
3044
|
+
# pagination_config: {
|
3045
|
+
# max_page_size: 1, # required
|
3046
|
+
# },
|
3011
3047
|
# },
|
3012
3048
|
# custom_connector: {
|
3013
3049
|
# entity_name: "EntityName", # required
|
@@ -3232,7 +3268,7 @@ module Aws::Appflow
|
|
3232
3268
|
params: params,
|
3233
3269
|
config: config)
|
3234
3270
|
context[:gem_name] = 'aws-sdk-appflow'
|
3235
|
-
context[:gem_version] = '1.
|
3271
|
+
context[:gem_version] = '1.50.0'
|
3236
3272
|
Seahorse::Client::Request.new(handlers, context)
|
3237
3273
|
end
|
3238
3274
|
|
@@ -311,7 +311,11 @@ module Aws::Appflow
|
|
311
311
|
SAPODataConnectorProfileCredentials = Shapes::StructureShape.new(name: 'SAPODataConnectorProfileCredentials')
|
312
312
|
SAPODataConnectorProfileProperties = Shapes::StructureShape.new(name: 'SAPODataConnectorProfileProperties')
|
313
313
|
SAPODataDestinationProperties = Shapes::StructureShape.new(name: 'SAPODataDestinationProperties')
|
314
|
+
SAPODataMaxPageSize = Shapes::IntegerShape.new(name: 'SAPODataMaxPageSize')
|
315
|
+
SAPODataMaxParallelism = Shapes::IntegerShape.new(name: 'SAPODataMaxParallelism')
|
314
316
|
SAPODataMetadata = Shapes::StructureShape.new(name: 'SAPODataMetadata')
|
317
|
+
SAPODataPaginationConfig = Shapes::StructureShape.new(name: 'SAPODataPaginationConfig')
|
318
|
+
SAPODataParallelismConfig = Shapes::StructureShape.new(name: 'SAPODataParallelismConfig')
|
315
319
|
SAPODataSourceProperties = Shapes::StructureShape.new(name: 'SAPODataSourceProperties')
|
316
320
|
SalesforceConnectorOperator = Shapes::StringShape.new(name: 'SalesforceConnectorOperator')
|
317
321
|
SalesforceConnectorProfileCredentials = Shapes::StructureShape.new(name: 'SalesforceConnectorProfileCredentials')
|
@@ -941,6 +945,8 @@ module Aws::Appflow
|
|
941
945
|
ExecutionResult.add_member(:bytes_processed, Shapes::ShapeRef.new(shape: Long, location_name: "bytesProcessed"))
|
942
946
|
ExecutionResult.add_member(:bytes_written, Shapes::ShapeRef.new(shape: Long, location_name: "bytesWritten"))
|
943
947
|
ExecutionResult.add_member(:records_processed, Shapes::ShapeRef.new(shape: Long, location_name: "recordsProcessed"))
|
948
|
+
ExecutionResult.add_member(:num_parallel_processes, Shapes::ShapeRef.new(shape: Long, location_name: "numParallelProcesses"))
|
949
|
+
ExecutionResult.add_member(:max_page_size, Shapes::ShapeRef.new(shape: Long, location_name: "maxPageSize"))
|
944
950
|
ExecutionResult.struct_class = Types::ExecutionResult
|
945
951
|
|
946
952
|
FieldTypeDetails.add_member(:field_type, Shapes::ShapeRef.new(shape: FieldType, required: true, location_name: "fieldType"))
|
@@ -1276,7 +1282,15 @@ module Aws::Appflow
|
|
1276
1282
|
|
1277
1283
|
SAPODataMetadata.struct_class = Types::SAPODataMetadata
|
1278
1284
|
|
1285
|
+
SAPODataPaginationConfig.add_member(:max_page_size, Shapes::ShapeRef.new(shape: SAPODataMaxPageSize, required: true, location_name: "maxPageSize", metadata: {"box"=>true}))
|
1286
|
+
SAPODataPaginationConfig.struct_class = Types::SAPODataPaginationConfig
|
1287
|
+
|
1288
|
+
SAPODataParallelismConfig.add_member(:max_parallelism, Shapes::ShapeRef.new(shape: SAPODataMaxParallelism, required: true, location_name: "maxParallelism", metadata: {"box"=>true}))
|
1289
|
+
SAPODataParallelismConfig.struct_class = Types::SAPODataParallelismConfig
|
1290
|
+
|
1279
1291
|
SAPODataSourceProperties.add_member(:object_path, Shapes::ShapeRef.new(shape: Object, location_name: "objectPath"))
|
1292
|
+
SAPODataSourceProperties.add_member(:parallelism_config, Shapes::ShapeRef.new(shape: SAPODataParallelismConfig, location_name: "parallelismConfig"))
|
1293
|
+
SAPODataSourceProperties.add_member(:pagination_config, Shapes::ShapeRef.new(shape: SAPODataPaginationConfig, location_name: "paginationConfig"))
|
1280
1294
|
SAPODataSourceProperties.struct_class = Types::SAPODataSourceProperties
|
1281
1295
|
|
1282
1296
|
SalesforceConnectorProfileCredentials.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
|
@@ -1324,8 +1338,9 @@ module Aws::Appflow
|
|
1324
1338
|
|
1325
1339
|
SchedulingFrequencyTypeList.member = Shapes::ShapeRef.new(shape: ScheduleFrequencyType)
|
1326
1340
|
|
1327
|
-
ServiceNowConnectorProfileCredentials.add_member(:username, Shapes::ShapeRef.new(shape: Username,
|
1328
|
-
ServiceNowConnectorProfileCredentials.add_member(:password, Shapes::ShapeRef.new(shape: Password,
|
1341
|
+
ServiceNowConnectorProfileCredentials.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
|
1342
|
+
ServiceNowConnectorProfileCredentials.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "password"))
|
1343
|
+
ServiceNowConnectorProfileCredentials.add_member(:o_auth_2_credentials, Shapes::ShapeRef.new(shape: OAuth2Credentials, location_name: "oAuth2Credentials"))
|
1329
1344
|
ServiceNowConnectorProfileCredentials.struct_class = Types::ServiceNowConnectorProfileCredentials
|
1330
1345
|
|
1331
1346
|
ServiceNowConnectorProfileProperties.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, required: true, location_name: "instanceUrl"))
|
@@ -1659,6 +1674,7 @@ module Aws::Appflow
|
|
1659
1674
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1660
1675
|
o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
|
1661
1676
|
o.errors << Shapes::ShapeRef.new(shape: ConnectorServerException)
|
1677
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1662
1678
|
end)
|
1663
1679
|
|
1664
1680
|
api.add_operation(:delete_connector_profile, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1951,6 +1967,7 @@ module Aws::Appflow
|
|
1951
1967
|
o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
|
1952
1968
|
o.errors << Shapes::ShapeRef.new(shape: ConnectorServerException)
|
1953
1969
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1970
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1954
1971
|
end)
|
1955
1972
|
end
|
1956
1973
|
|
@@ -2501,13 +2501,25 @@ module Aws::Appflow
|
|
2501
2501
|
# The number of records processed in the flow run.
|
2502
2502
|
# @return [Integer]
|
2503
2503
|
#
|
2504
|
+
# @!attribute [rw] num_parallel_processes
|
2505
|
+
# The number of processes that Amazon AppFlow ran at the same time
|
2506
|
+
# when it retrieved your data.
|
2507
|
+
# @return [Integer]
|
2508
|
+
#
|
2509
|
+
# @!attribute [rw] max_page_size
|
2510
|
+
# The maximum number of records that Amazon AppFlow receives in each
|
2511
|
+
# page of the response from your SAP application.
|
2512
|
+
# @return [Integer]
|
2513
|
+
#
|
2504
2514
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ExecutionResult AWS API Documentation
|
2505
2515
|
#
|
2506
2516
|
class ExecutionResult < Struct.new(
|
2507
2517
|
:error_info,
|
2508
2518
|
:bytes_processed,
|
2509
2519
|
:bytes_written,
|
2510
|
-
:records_processed
|
2520
|
+
:records_processed,
|
2521
|
+
:num_parallel_processes,
|
2522
|
+
:max_page_size)
|
2511
2523
|
SENSITIVE = []
|
2512
2524
|
include Aws::Structure
|
2513
2525
|
end
|
@@ -4244,16 +4256,66 @@ module Aws::Appflow
|
|
4244
4256
|
#
|
4245
4257
|
class SAPODataMetadata < Aws::EmptyStructure; end
|
4246
4258
|
|
4259
|
+
# Sets the page size for each *concurrent process* that transfers OData
|
4260
|
+
# records from your SAP instance. A concurrent process is query that
|
4261
|
+
# retrieves a batch of records as part of a flow run. Amazon AppFlow can
|
4262
|
+
# run multiple concurrent processes in parallel to transfer data faster.
|
4263
|
+
#
|
4264
|
+
# @!attribute [rw] max_page_size
|
4265
|
+
# The maximum number of records that Amazon AppFlow receives in each
|
4266
|
+
# page of the response from your SAP application. For transfers of
|
4267
|
+
# OData records, the maximum page size is 3,000. For transfers of data
|
4268
|
+
# that comes from an ODP provider, the maximum page size is 10,000.
|
4269
|
+
# @return [Integer]
|
4270
|
+
#
|
4271
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SAPODataPaginationConfig AWS API Documentation
|
4272
|
+
#
|
4273
|
+
class SAPODataPaginationConfig < Struct.new(
|
4274
|
+
:max_page_size)
|
4275
|
+
SENSITIVE = []
|
4276
|
+
include Aws::Structure
|
4277
|
+
end
|
4278
|
+
|
4279
|
+
# Sets the number of *concurrent processes* that transfer OData records
|
4280
|
+
# from your SAP instance. A concurrent process is query that retrieves a
|
4281
|
+
# batch of records as part of a flow run. Amazon AppFlow can run
|
4282
|
+
# multiple concurrent processes in parallel to transfer data faster.
|
4283
|
+
#
|
4284
|
+
# @!attribute [rw] max_parallelism
|
4285
|
+
# The maximum number of processes that Amazon AppFlow runs at the same
|
4286
|
+
# time when it retrieves your data from your SAP application.
|
4287
|
+
# @return [Integer]
|
4288
|
+
#
|
4289
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SAPODataParallelismConfig AWS API Documentation
|
4290
|
+
#
|
4291
|
+
class SAPODataParallelismConfig < Struct.new(
|
4292
|
+
:max_parallelism)
|
4293
|
+
SENSITIVE = []
|
4294
|
+
include Aws::Structure
|
4295
|
+
end
|
4296
|
+
|
4247
4297
|
# The properties that are applied when using SAPOData as a flow source.
|
4248
4298
|
#
|
4249
4299
|
# @!attribute [rw] object_path
|
4250
4300
|
# The object path specified in the SAPOData flow source.
|
4251
4301
|
# @return [String]
|
4252
4302
|
#
|
4303
|
+
# @!attribute [rw] parallelism_config
|
4304
|
+
# Sets the number of concurrent processes that transfers OData records
|
4305
|
+
# from your SAP instance.
|
4306
|
+
# @return [Types::SAPODataParallelismConfig]
|
4307
|
+
#
|
4308
|
+
# @!attribute [rw] pagination_config
|
4309
|
+
# Sets the page size for each concurrent process that transfers OData
|
4310
|
+
# records from your SAP instance.
|
4311
|
+
# @return [Types::SAPODataPaginationConfig]
|
4312
|
+
#
|
4253
4313
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SAPODataSourceProperties AWS API Documentation
|
4254
4314
|
#
|
4255
4315
|
class SAPODataSourceProperties < Struct.new(
|
4256
|
-
:object_path
|
4316
|
+
:object_path,
|
4317
|
+
:parallelism_config,
|
4318
|
+
:pagination_config)
|
4257
4319
|
SENSITIVE = []
|
4258
4320
|
include Aws::Structure
|
4259
4321
|
end
|
@@ -4689,11 +4751,16 @@ module Aws::Appflow
|
|
4689
4751
|
# The password that corresponds to the user name.
|
4690
4752
|
# @return [String]
|
4691
4753
|
#
|
4754
|
+
# @!attribute [rw] o_auth_2_credentials
|
4755
|
+
# The OAuth 2.0 credentials required to authenticate the user.
|
4756
|
+
# @return [Types::OAuth2Credentials]
|
4757
|
+
#
|
4692
4758
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ServiceNowConnectorProfileCredentials AWS API Documentation
|
4693
4759
|
#
|
4694
4760
|
class ServiceNowConnectorProfileCredentials < Struct.new(
|
4695
4761
|
:username,
|
4696
|
-
:password
|
4762
|
+
:password,
|
4763
|
+
:o_auth_2_credentials)
|
4697
4764
|
SENSITIVE = [:password]
|
4698
4765
|
include Aws::Structure
|
4699
4766
|
end
|
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.50.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: 2023-
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|