aws-sdk-appflow 1.30.0 → 1.32.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 +76 -13
- data/lib/aws-sdk-appflow/client_api.rb +40 -4
- data/lib/aws-sdk-appflow/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-appflow/endpoint_provider.rb +75 -75
- data/lib/aws-sdk-appflow/endpoints.rb +14 -0
- data/lib/aws-sdk-appflow/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-appflow/types.rb +137 -21
- 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: 8bfc050afa0b0dd0e36a273e21cf9d3a5de073dd68c02a8ffdafde02acafbca1
|
4
|
+
data.tar.gz: 96b21d6e539b38bd09c2a977a671a2f2deeb84410f163abcf22aacbdb1591962
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212a12983f1e6619f7e903c29ad1ebd00f93a1df52c1a0b13a7cd5c042cbf61a7e1a92e0ecf23d95a2941684fbbe61f1a4aff0156145e29ad2699ff382467b42
|
7
|
+
data.tar.gz: 90b01c867cfd7d029813c610c5895179cf18dec20e3089db0874050aebea3ee2922857144c959a35199f94b9c8414d47afdac27d9b03c1928e59c39d95099d47
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.32.0 (2022-11-22)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adding support for Amazon AppFlow to transfer the data to Amazon Redshift databases through Amazon Redshift Data API service. This feature will support the Redshift destination connector on both public and private accessible Amazon Redshift Clusters and Amazon Redshift Serverless.
|
8
|
+
|
9
|
+
1.31.0 (2022-11-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - AppFlow provides a new API called UpdateConnectorRegistration to update a custom connector that customers have previously registered. With this API, customers no longer need to unregister and then register a connector to make an update.
|
13
|
+
|
4
14
|
1.30.0 (2022-11-17)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.32.0
|
@@ -436,10 +436,15 @@ module Aws::Appflow
|
|
436
436
|
# instance_url: "InstanceUrl", # required
|
437
437
|
# },
|
438
438
|
# redshift: {
|
439
|
-
# database_url: "DatabaseUrl",
|
439
|
+
# database_url: "DatabaseUrl",
|
440
440
|
# bucket_name: "BucketName", # required
|
441
441
|
# bucket_prefix: "BucketPrefix",
|
442
442
|
# role_arn: "RoleArn", # required
|
443
|
+
# data_api_role_arn: "DataApiRoleArn",
|
444
|
+
# is_redshift_serverless: false,
|
445
|
+
# cluster_identifier: "ClusterIdentifier",
|
446
|
+
# workgroup_name: "WorkgroupName",
|
447
|
+
# database_name: "DatabaseName",
|
443
448
|
# },
|
444
449
|
# salesforce: {
|
445
450
|
# instance_url: "InstanceUrl",
|
@@ -496,7 +501,7 @@ module Aws::Appflow
|
|
496
501
|
# },
|
497
502
|
# },
|
498
503
|
# },
|
499
|
-
# connector_profile_credentials: {
|
504
|
+
# connector_profile_credentials: {
|
500
505
|
# amplitude: {
|
501
506
|
# api_key: "ApiKey", # required
|
502
507
|
# secret_key: "SecretKey", # required
|
@@ -542,8 +547,8 @@ module Aws::Appflow
|
|
542
547
|
# },
|
543
548
|
# },
|
544
549
|
# redshift: {
|
545
|
-
# username: "
|
546
|
-
# password: "Password",
|
550
|
+
# username: "String",
|
551
|
+
# password: "Password",
|
547
552
|
# },
|
548
553
|
# salesforce: {
|
549
554
|
# access_token: "AccessToken",
|
@@ -1299,6 +1304,11 @@ module Aws::Appflow
|
|
1299
1304
|
# resp.connector_profile_details[0].connector_profile_properties.redshift.bucket_name #=> String
|
1300
1305
|
# resp.connector_profile_details[0].connector_profile_properties.redshift.bucket_prefix #=> String
|
1301
1306
|
# resp.connector_profile_details[0].connector_profile_properties.redshift.role_arn #=> String
|
1307
|
+
# resp.connector_profile_details[0].connector_profile_properties.redshift.data_api_role_arn #=> String
|
1308
|
+
# resp.connector_profile_details[0].connector_profile_properties.redshift.is_redshift_serverless #=> Boolean
|
1309
|
+
# resp.connector_profile_details[0].connector_profile_properties.redshift.cluster_identifier #=> String
|
1310
|
+
# resp.connector_profile_details[0].connector_profile_properties.redshift.workgroup_name #=> String
|
1311
|
+
# resp.connector_profile_details[0].connector_profile_properties.redshift.database_name #=> String
|
1302
1312
|
# resp.connector_profile_details[0].connector_profile_properties.salesforce.instance_url #=> String
|
1303
1313
|
# resp.connector_profile_details[0].connector_profile_properties.salesforce.is_sandbox_environment #=> Boolean
|
1304
1314
|
# resp.connector_profile_details[0].connector_profile_properties.service_now.instance_url #=> String
|
@@ -1961,9 +1971,9 @@ module Aws::Appflow
|
|
1961
1971
|
req.send_request(options)
|
1962
1972
|
end
|
1963
1973
|
|
1964
|
-
# Registers a new connector with your Amazon Web Services
|
1965
|
-
# Before you can register the connector, you must deploy
|
1966
|
-
# account.
|
1974
|
+
# Registers a new custom connector with your Amazon Web Services
|
1975
|
+
# account. Before you can register the connector, you must deploy the
|
1976
|
+
# associated AWS lambda function in your account.
|
1967
1977
|
#
|
1968
1978
|
# @option params [String] :connector_label
|
1969
1979
|
# The name of the connector. The name is unique for each
|
@@ -2107,7 +2117,7 @@ module Aws::Appflow
|
|
2107
2117
|
end
|
2108
2118
|
|
2109
2119
|
# Unregisters the custom connector registered in your account that
|
2110
|
-
# matches the
|
2120
|
+
# matches the connector label provided in the request.
|
2111
2121
|
#
|
2112
2122
|
# @option params [required, String] :connector_label
|
2113
2123
|
# The label of the connector. The label is unique for each
|
@@ -2205,10 +2215,15 @@ module Aws::Appflow
|
|
2205
2215
|
# instance_url: "InstanceUrl", # required
|
2206
2216
|
# },
|
2207
2217
|
# redshift: {
|
2208
|
-
# database_url: "DatabaseUrl",
|
2218
|
+
# database_url: "DatabaseUrl",
|
2209
2219
|
# bucket_name: "BucketName", # required
|
2210
2220
|
# bucket_prefix: "BucketPrefix",
|
2211
2221
|
# role_arn: "RoleArn", # required
|
2222
|
+
# data_api_role_arn: "DataApiRoleArn",
|
2223
|
+
# is_redshift_serverless: false,
|
2224
|
+
# cluster_identifier: "ClusterIdentifier",
|
2225
|
+
# workgroup_name: "WorkgroupName",
|
2226
|
+
# database_name: "DatabaseName",
|
2212
2227
|
# },
|
2213
2228
|
# salesforce: {
|
2214
2229
|
# instance_url: "InstanceUrl",
|
@@ -2265,7 +2280,7 @@ module Aws::Appflow
|
|
2265
2280
|
# },
|
2266
2281
|
# },
|
2267
2282
|
# },
|
2268
|
-
# connector_profile_credentials: {
|
2283
|
+
# connector_profile_credentials: {
|
2269
2284
|
# amplitude: {
|
2270
2285
|
# api_key: "ApiKey", # required
|
2271
2286
|
# secret_key: "SecretKey", # required
|
@@ -2311,8 +2326,8 @@ module Aws::Appflow
|
|
2311
2326
|
# },
|
2312
2327
|
# },
|
2313
2328
|
# redshift: {
|
2314
|
-
# username: "
|
2315
|
-
# password: "Password",
|
2329
|
+
# username: "String",
|
2330
|
+
# password: "Password",
|
2316
2331
|
# },
|
2317
2332
|
# salesforce: {
|
2318
2333
|
# access_token: "AccessToken",
|
@@ -2419,6 +2434,54 @@ module Aws::Appflow
|
|
2419
2434
|
req.send_request(options)
|
2420
2435
|
end
|
2421
2436
|
|
2437
|
+
# Updates a custom connector that you've previously registered. This
|
2438
|
+
# operation updates the connector with one of the following:
|
2439
|
+
#
|
2440
|
+
# * The latest version of the AWS Lambda function that's assigned to
|
2441
|
+
# the connector
|
2442
|
+
#
|
2443
|
+
# * A new AWS Lambda function that you specify
|
2444
|
+
#
|
2445
|
+
# @option params [required, String] :connector_label
|
2446
|
+
# The name of the connector. The name is unique for each connector
|
2447
|
+
# registration in your AWS account.
|
2448
|
+
#
|
2449
|
+
# @option params [String] :description
|
2450
|
+
# A description about the update that you're applying to the connector.
|
2451
|
+
#
|
2452
|
+
# @option params [Types::ConnectorProvisioningConfig] :connector_provisioning_config
|
2453
|
+
# Contains information about the configuration of the connector being
|
2454
|
+
# registered.
|
2455
|
+
#
|
2456
|
+
# @return [Types::UpdateConnectorRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2457
|
+
#
|
2458
|
+
# * {Types::UpdateConnectorRegistrationResponse#connector_arn #connector_arn} => String
|
2459
|
+
#
|
2460
|
+
# @example Request syntax with placeholder values
|
2461
|
+
#
|
2462
|
+
# resp = client.update_connector_registration({
|
2463
|
+
# connector_label: "ConnectorLabel", # required
|
2464
|
+
# description: "Description",
|
2465
|
+
# connector_provisioning_config: {
|
2466
|
+
# lambda: {
|
2467
|
+
# lambda_arn: "ARN", # required
|
2468
|
+
# },
|
2469
|
+
# },
|
2470
|
+
# })
|
2471
|
+
#
|
2472
|
+
# @example Response structure
|
2473
|
+
#
|
2474
|
+
# resp.connector_arn #=> String
|
2475
|
+
#
|
2476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistration AWS API Documentation
|
2477
|
+
#
|
2478
|
+
# @overload update_connector_registration(params = {})
|
2479
|
+
# @param [Hash] params ({})
|
2480
|
+
def update_connector_registration(params = {}, options = {})
|
2481
|
+
req = build_request(:update_connector_registration, params)
|
2482
|
+
req.send_request(options)
|
2483
|
+
end
|
2484
|
+
|
2422
2485
|
# Updates an existing flow.
|
2423
2486
|
#
|
2424
2487
|
# @option params [required, String] :flow_name
|
@@ -2748,7 +2811,7 @@ module Aws::Appflow
|
|
2748
2811
|
params: params,
|
2749
2812
|
config: config)
|
2750
2813
|
context[:gem_name] = 'aws-sdk-appflow'
|
2751
|
-
context[:gem_version] = '1.
|
2814
|
+
context[:gem_version] = '1.32.0'
|
2752
2815
|
Seahorse::Client::Request.new(handlers, context)
|
2753
2816
|
end
|
2754
2817
|
|
@@ -50,6 +50,7 @@ module Aws::Appflow
|
|
50
50
|
ClientId = Shapes::StringShape.new(name: 'ClientId')
|
51
51
|
ClientNumber = Shapes::StringShape.new(name: 'ClientNumber')
|
52
52
|
ClientSecret = Shapes::StringShape.new(name: 'ClientSecret')
|
53
|
+
ClusterIdentifier = Shapes::StringShape.new(name: 'ClusterIdentifier')
|
53
54
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
54
55
|
ConnectionMode = Shapes::StringShape.new(name: 'ConnectionMode')
|
55
56
|
ConnectorAuthenticationException = Shapes::StructureShape.new(name: 'ConnectorAuthenticationException')
|
@@ -113,7 +114,9 @@ module Aws::Appflow
|
|
113
114
|
CustomPropertyValue = Shapes::StringShape.new(name: 'CustomPropertyValue')
|
114
115
|
CustomerProfilesDestinationProperties = Shapes::StructureShape.new(name: 'CustomerProfilesDestinationProperties')
|
115
116
|
CustomerProfilesMetadata = Shapes::StructureShape.new(name: 'CustomerProfilesMetadata')
|
117
|
+
DataApiRoleArn = Shapes::StringShape.new(name: 'DataApiRoleArn')
|
116
118
|
DataPullMode = Shapes::StringShape.new(name: 'DataPullMode')
|
119
|
+
DatabaseName = Shapes::StringShape.new(name: 'DatabaseName')
|
117
120
|
DatabaseUrl = Shapes::StringShape.new(name: 'DatabaseUrl')
|
118
121
|
DatadogConnectorOperator = Shapes::StringShape.new(name: 'DatadogConnectorOperator')
|
119
122
|
DatadogConnectorProfileCredentials = Shapes::StructureShape.new(name: 'DatadogConnectorProfileCredentials')
|
@@ -375,6 +378,8 @@ module Aws::Appflow
|
|
375
378
|
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
376
379
|
UpdateConnectorProfileRequest = Shapes::StructureShape.new(name: 'UpdateConnectorProfileRequest')
|
377
380
|
UpdateConnectorProfileResponse = Shapes::StructureShape.new(name: 'UpdateConnectorProfileResponse')
|
381
|
+
UpdateConnectorRegistrationRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRegistrationRequest')
|
382
|
+
UpdateConnectorRegistrationResponse = Shapes::StructureShape.new(name: 'UpdateConnectorRegistrationResponse')
|
378
383
|
UpdateFlowRequest = Shapes::StructureShape.new(name: 'UpdateFlowRequest')
|
379
384
|
UpdateFlowResponse = Shapes::StructureShape.new(name: 'UpdateFlowResponse')
|
380
385
|
UpdatedBy = Shapes::StringShape.new(name: 'UpdatedBy')
|
@@ -391,6 +396,7 @@ module Aws::Appflow
|
|
391
396
|
VeevaMetadata = Shapes::StructureShape.new(name: 'VeevaMetadata')
|
392
397
|
VeevaSourceProperties = Shapes::StructureShape.new(name: 'VeevaSourceProperties')
|
393
398
|
Warehouse = Shapes::StringShape.new(name: 'Warehouse')
|
399
|
+
WorkgroupName = Shapes::StringShape.new(name: 'WorkgroupName')
|
394
400
|
WriteOperationType = Shapes::StringShape.new(name: 'WriteOperationType')
|
395
401
|
ZendeskConnectorOperator = Shapes::StringShape.new(name: 'ZendeskConnectorOperator')
|
396
402
|
ZendeskConnectorProfileCredentials = Shapes::StructureShape.new(name: 'ZendeskConnectorProfileCredentials')
|
@@ -582,7 +588,7 @@ module Aws::Appflow
|
|
582
588
|
ConnectorProfile.struct_class = Types::ConnectorProfile
|
583
589
|
|
584
590
|
ConnectorProfileConfig.add_member(:connector_profile_properties, Shapes::ShapeRef.new(shape: ConnectorProfileProperties, required: true, location_name: "connectorProfileProperties"))
|
585
|
-
ConnectorProfileConfig.add_member(:connector_profile_credentials, Shapes::ShapeRef.new(shape: ConnectorProfileCredentials,
|
591
|
+
ConnectorProfileConfig.add_member(:connector_profile_credentials, Shapes::ShapeRef.new(shape: ConnectorProfileCredentials, location_name: "connectorProfileCredentials"))
|
586
592
|
ConnectorProfileConfig.struct_class = Types::ConnectorProfileConfig
|
587
593
|
|
588
594
|
ConnectorProfileCredentials.add_member(:amplitude, Shapes::ShapeRef.new(shape: AmplitudeConnectorProfileCredentials, location_name: "Amplitude"))
|
@@ -1112,14 +1118,19 @@ module Aws::Appflow
|
|
1112
1118
|
Range.add_member(:minimum, Shapes::ShapeRef.new(shape: Double, location_name: "minimum"))
|
1113
1119
|
Range.struct_class = Types::Range
|
1114
1120
|
|
1115
|
-
RedshiftConnectorProfileCredentials.add_member(:username, Shapes::ShapeRef.new(shape:
|
1116
|
-
RedshiftConnectorProfileCredentials.add_member(:password, Shapes::ShapeRef.new(shape: Password,
|
1121
|
+
RedshiftConnectorProfileCredentials.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
|
1122
|
+
RedshiftConnectorProfileCredentials.add_member(:password, Shapes::ShapeRef.new(shape: Password, location_name: "password"))
|
1117
1123
|
RedshiftConnectorProfileCredentials.struct_class = Types::RedshiftConnectorProfileCredentials
|
1118
1124
|
|
1119
|
-
RedshiftConnectorProfileProperties.add_member(:database_url, Shapes::ShapeRef.new(shape: DatabaseUrl,
|
1125
|
+
RedshiftConnectorProfileProperties.add_member(:database_url, Shapes::ShapeRef.new(shape: DatabaseUrl, location_name: "databaseUrl"))
|
1120
1126
|
RedshiftConnectorProfileProperties.add_member(:bucket_name, Shapes::ShapeRef.new(shape: BucketName, required: true, location_name: "bucketName"))
|
1121
1127
|
RedshiftConnectorProfileProperties.add_member(:bucket_prefix, Shapes::ShapeRef.new(shape: BucketPrefix, location_name: "bucketPrefix"))
|
1122
1128
|
RedshiftConnectorProfileProperties.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "roleArn"))
|
1129
|
+
RedshiftConnectorProfileProperties.add_member(:data_api_role_arn, Shapes::ShapeRef.new(shape: DataApiRoleArn, location_name: "dataApiRoleArn"))
|
1130
|
+
RedshiftConnectorProfileProperties.add_member(:is_redshift_serverless, Shapes::ShapeRef.new(shape: Boolean, location_name: "isRedshiftServerless"))
|
1131
|
+
RedshiftConnectorProfileProperties.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, location_name: "clusterIdentifier"))
|
1132
|
+
RedshiftConnectorProfileProperties.add_member(:workgroup_name, Shapes::ShapeRef.new(shape: WorkgroupName, location_name: "workgroupName"))
|
1133
|
+
RedshiftConnectorProfileProperties.add_member(:database_name, Shapes::ShapeRef.new(shape: DatabaseName, location_name: "databaseName"))
|
1123
1134
|
RedshiftConnectorProfileProperties.struct_class = Types::RedshiftConnectorProfileProperties
|
1124
1135
|
|
1125
1136
|
RedshiftDestinationProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
|
@@ -1433,6 +1444,14 @@ module Aws::Appflow
|
|
1433
1444
|
UpdateConnectorProfileResponse.add_member(:connector_profile_arn, Shapes::ShapeRef.new(shape: ConnectorProfileArn, location_name: "connectorProfileArn"))
|
1434
1445
|
UpdateConnectorProfileResponse.struct_class = Types::UpdateConnectorProfileResponse
|
1435
1446
|
|
1447
|
+
UpdateConnectorRegistrationRequest.add_member(:connector_label, Shapes::ShapeRef.new(shape: ConnectorLabel, required: true, location_name: "connectorLabel"))
|
1448
|
+
UpdateConnectorRegistrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1449
|
+
UpdateConnectorRegistrationRequest.add_member(:connector_provisioning_config, Shapes::ShapeRef.new(shape: ConnectorProvisioningConfig, location_name: "connectorProvisioningConfig"))
|
1450
|
+
UpdateConnectorRegistrationRequest.struct_class = Types::UpdateConnectorRegistrationRequest
|
1451
|
+
|
1452
|
+
UpdateConnectorRegistrationResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
|
1453
|
+
UpdateConnectorRegistrationResponse.struct_class = Types::UpdateConnectorRegistrationResponse
|
1454
|
+
|
1436
1455
|
UpdateFlowRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
|
1437
1456
|
UpdateFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: FlowDescription, location_name: "description"))
|
1438
1457
|
UpdateFlowRequest.add_member(:trigger_config, Shapes::ShapeRef.new(shape: TriggerConfig, required: true, location_name: "triggerConfig"))
|
@@ -1791,6 +1810,23 @@ module Aws::Appflow
|
|
1791
1810
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1792
1811
|
end)
|
1793
1812
|
|
1813
|
+
api.add_operation(:update_connector_registration, Seahorse::Model::Operation.new.tap do |o|
|
1814
|
+
o.name = "UpdateConnectorRegistration"
|
1815
|
+
o.http_method = "POST"
|
1816
|
+
o.http_request_uri = "/update-connector-registration"
|
1817
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateConnectorRegistrationRequest)
|
1818
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateConnectorRegistrationResponse)
|
1819
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1820
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1821
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1822
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1823
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1824
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1825
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1826
|
+
o.errors << Shapes::ShapeRef.new(shape: ConnectorServerException)
|
1827
|
+
o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
|
1828
|
+
end)
|
1829
|
+
|
1794
1830
|
api.add_operation(:update_flow, Seahorse::Model::Operation.new.tap do |o|
|
1795
1831
|
o.name = "UpdateFlow"
|
1796
1832
|
o.http_method = "POST"
|
@@ -50,6 +50,9 @@ module Aws::Appflow
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,82 +29,82 @@ module Aws::Appflow
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
W3siZm4iOiJib29sZWFuRXF1YWxzIiwiYXJndiI6W3sicmVmIjoiVXNlRklQ
|
57
|
-
UyJ9LHRydWVdfV0sImVycm9yIjoiSW52YWxpZCBDb25maWd1cmF0aW9uOiBG
|
58
|
-
SVBTIGFuZCBjdXN0b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0
|
59
|
-
eXBlIjoiZXJyb3IifSx7ImNvbmRpdGlvbnMiOltdLCJ0eXBlIjoidHJlZSIs
|
60
|
-
InJ1bGVzIjpbeyJjb25kaXRpb25zIjpbeyJmbiI6ImJvb2xlYW5FcXVhbHMi
|
61
|
-
LCJhcmd2IjpbeyJyZWYiOiJVc2VEdWFsU3RhY2sifSx0cnVlXX1dLCJlcnJv
|
62
|
-
ciI6IkludmFsaWQgQ29uZmlndXJhdGlvbjogRHVhbHN0YWNrIGFuZCBjdXN0
|
63
|
-
b20gZW5kcG9pbnQgYXJlIG5vdCBzdXBwb3J0ZWQiLCJ0eXBlIjoiZXJyb3Ii
|
64
|
-
fSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2ludCI6eyJ1cmwiOnsicmVmIjoi
|
65
|
-
RW5kcG9pbnQifSwicHJvcGVydGllcyI6e30sImhlYWRlcnMiOnt9fSwidHlw
|
66
|
-
ZSI6ImVu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cHM6Ly9hcHBmbG93LntSZWdpb259
|
106
|
+
LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIsInByb3BlcnRpZXMiOnt9
|
107
|
+
LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2ludCJ9XX1dfQ==
|
108
108
|
|
109
109
|
JSON
|
110
110
|
end
|
@@ -305,6 +305,20 @@ module Aws::Appflow
|
|
305
305
|
end
|
306
306
|
end
|
307
307
|
|
308
|
+
class UpdateConnectorRegistration
|
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
|
+
|
308
322
|
class UpdateFlow
|
309
323
|
def self.build(context)
|
310
324
|
unless context.config.regional_endpoint
|
@@ -98,6 +98,8 @@ module Aws::Appflow
|
|
98
98
|
Aws::Appflow::Endpoints::UntagResource.build(context)
|
99
99
|
when :update_connector_profile
|
100
100
|
Aws::Appflow::Endpoints::UpdateConnectorProfile.build(context)
|
101
|
+
when :update_connector_registration
|
102
|
+
Aws::Appflow::Endpoints::UpdateConnectorRegistration.build(context)
|
101
103
|
when :update_flow
|
102
104
|
Aws::Appflow::Endpoints::UpdateFlow.build(context)
|
103
105
|
end
|
@@ -953,10 +953,15 @@ module Aws::Appflow
|
|
953
953
|
# instance_url: "InstanceUrl", # required
|
954
954
|
# },
|
955
955
|
# redshift: {
|
956
|
-
# database_url: "DatabaseUrl",
|
956
|
+
# database_url: "DatabaseUrl",
|
957
957
|
# bucket_name: "BucketName", # required
|
958
958
|
# bucket_prefix: "BucketPrefix",
|
959
959
|
# role_arn: "RoleArn", # required
|
960
|
+
# data_api_role_arn: "DataApiRoleArn",
|
961
|
+
# is_redshift_serverless: false,
|
962
|
+
# cluster_identifier: "ClusterIdentifier",
|
963
|
+
# workgroup_name: "WorkgroupName",
|
964
|
+
# database_name: "DatabaseName",
|
960
965
|
# },
|
961
966
|
# salesforce: {
|
962
967
|
# instance_url: "InstanceUrl",
|
@@ -1013,7 +1018,7 @@ module Aws::Appflow
|
|
1013
1018
|
# },
|
1014
1019
|
# },
|
1015
1020
|
# },
|
1016
|
-
# connector_profile_credentials: {
|
1021
|
+
# connector_profile_credentials: {
|
1017
1022
|
# amplitude: {
|
1018
1023
|
# api_key: "ApiKey", # required
|
1019
1024
|
# secret_key: "SecretKey", # required
|
@@ -1059,8 +1064,8 @@ module Aws::Appflow
|
|
1059
1064
|
# },
|
1060
1065
|
# },
|
1061
1066
|
# redshift: {
|
1062
|
-
# username: "
|
1063
|
-
# password: "Password",
|
1067
|
+
# username: "String",
|
1068
|
+
# password: "Password",
|
1064
1069
|
# },
|
1065
1070
|
# salesforce: {
|
1066
1071
|
# access_token: "AccessToken",
|
@@ -1221,8 +1226,8 @@ module Aws::Appflow
|
|
1221
1226
|
# },
|
1222
1227
|
# },
|
1223
1228
|
# redshift: {
|
1224
|
-
# username: "
|
1225
|
-
# password: "Password",
|
1229
|
+
# username: "String",
|
1230
|
+
# password: "Password",
|
1226
1231
|
# },
|
1227
1232
|
# salesforce: {
|
1228
1233
|
# access_token: "AccessToken",
|
@@ -1441,10 +1446,15 @@ module Aws::Appflow
|
|
1441
1446
|
# instance_url: "InstanceUrl", # required
|
1442
1447
|
# },
|
1443
1448
|
# redshift: {
|
1444
|
-
# database_url: "DatabaseUrl",
|
1449
|
+
# database_url: "DatabaseUrl",
|
1445
1450
|
# bucket_name: "BucketName", # required
|
1446
1451
|
# bucket_prefix: "BucketPrefix",
|
1447
1452
|
# role_arn: "RoleArn", # required
|
1453
|
+
# data_api_role_arn: "DataApiRoleArn",
|
1454
|
+
# is_redshift_serverless: false,
|
1455
|
+
# cluster_identifier: "ClusterIdentifier",
|
1456
|
+
# workgroup_name: "WorkgroupName",
|
1457
|
+
# database_name: "DatabaseName",
|
1448
1458
|
# },
|
1449
1459
|
# salesforce: {
|
1450
1460
|
# instance_url: "InstanceUrl",
|
@@ -1714,10 +1724,15 @@ module Aws::Appflow
|
|
1714
1724
|
# instance_url: "InstanceUrl", # required
|
1715
1725
|
# },
|
1716
1726
|
# redshift: {
|
1717
|
-
# database_url: "DatabaseUrl",
|
1727
|
+
# database_url: "DatabaseUrl",
|
1718
1728
|
# bucket_name: "BucketName", # required
|
1719
1729
|
# bucket_prefix: "BucketPrefix",
|
1720
1730
|
# role_arn: "RoleArn", # required
|
1731
|
+
# data_api_role_arn: "DataApiRoleArn",
|
1732
|
+
# is_redshift_serverless: false,
|
1733
|
+
# cluster_identifier: "ClusterIdentifier",
|
1734
|
+
# workgroup_name: "WorkgroupName",
|
1735
|
+
# database_name: "DatabaseName",
|
1721
1736
|
# },
|
1722
1737
|
# salesforce: {
|
1723
1738
|
# instance_url: "InstanceUrl",
|
@@ -1774,7 +1789,7 @@ module Aws::Appflow
|
|
1774
1789
|
# },
|
1775
1790
|
# },
|
1776
1791
|
# },
|
1777
|
-
# connector_profile_credentials: {
|
1792
|
+
# connector_profile_credentials: {
|
1778
1793
|
# amplitude: {
|
1779
1794
|
# api_key: "ApiKey", # required
|
1780
1795
|
# secret_key: "SecretKey", # required
|
@@ -1820,8 +1835,8 @@ module Aws::Appflow
|
|
1820
1835
|
# },
|
1821
1836
|
# },
|
1822
1837
|
# redshift: {
|
1823
|
-
# username: "
|
1824
|
-
# password: "Password",
|
1838
|
+
# username: "String",
|
1839
|
+
# password: "Password",
|
1825
1840
|
# },
|
1826
1841
|
# salesforce: {
|
1827
1842
|
# access_token: "AccessToken",
|
@@ -5164,8 +5179,8 @@ module Aws::Appflow
|
|
5164
5179
|
# data as a hash:
|
5165
5180
|
#
|
5166
5181
|
# {
|
5167
|
-
# username: "
|
5168
|
-
# password: "Password",
|
5182
|
+
# username: "String",
|
5183
|
+
# password: "Password",
|
5169
5184
|
# }
|
5170
5185
|
#
|
5171
5186
|
# @!attribute [rw] username
|
@@ -5191,10 +5206,15 @@ module Aws::Appflow
|
|
5191
5206
|
# data as a hash:
|
5192
5207
|
#
|
5193
5208
|
# {
|
5194
|
-
# database_url: "DatabaseUrl",
|
5209
|
+
# database_url: "DatabaseUrl",
|
5195
5210
|
# bucket_name: "BucketName", # required
|
5196
5211
|
# bucket_prefix: "BucketPrefix",
|
5197
5212
|
# role_arn: "RoleArn", # required
|
5213
|
+
# data_api_role_arn: "DataApiRoleArn",
|
5214
|
+
# is_redshift_serverless: false,
|
5215
|
+
# cluster_identifier: "ClusterIdentifier",
|
5216
|
+
# workgroup_name: "WorkgroupName",
|
5217
|
+
# database_name: "DatabaseName",
|
5198
5218
|
# }
|
5199
5219
|
#
|
5200
5220
|
# @!attribute [rw] database_url
|
@@ -5211,7 +5231,43 @@ module Aws::Appflow
|
|
5211
5231
|
# @return [String]
|
5212
5232
|
#
|
5213
5233
|
# @!attribute [rw] role_arn
|
5214
|
-
# The Amazon Resource Name (ARN) of
|
5234
|
+
# The Amazon Resource Name (ARN) of IAM role that grants Amazon
|
5235
|
+
# Redshift read-only access to Amazon S3. For more information, and
|
5236
|
+
# for the polices that you attach to this role, see [Allow Amazon
|
5237
|
+
# Redshift to access your Amazon AppFlow data in Amazon S3][1].
|
5238
|
+
#
|
5239
|
+
#
|
5240
|
+
#
|
5241
|
+
# [1]: https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_service-role-policies.html#redshift-access-s3
|
5242
|
+
# @return [String]
|
5243
|
+
#
|
5244
|
+
# @!attribute [rw] data_api_role_arn
|
5245
|
+
# The Amazon Resource Name (ARN) of an IAM role that permits Amazon
|
5246
|
+
# AppFlow to access your Amazon Redshift database through the Data
|
5247
|
+
# API. For more information, and for the polices that you attach to
|
5248
|
+
# this role, see [Allow Amazon AppFlow to access Amazon Redshift
|
5249
|
+
# databases with the Data API][1].
|
5250
|
+
#
|
5251
|
+
#
|
5252
|
+
#
|
5253
|
+
# [1]: https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_service-role-policies.html#access-redshift
|
5254
|
+
# @return [String]
|
5255
|
+
#
|
5256
|
+
# @!attribute [rw] is_redshift_serverless
|
5257
|
+
# Indicates whether the connector profile defines a connection to an
|
5258
|
+
# Amazon Redshift Serverless data warehouse.
|
5259
|
+
# @return [Boolean]
|
5260
|
+
#
|
5261
|
+
# @!attribute [rw] cluster_identifier
|
5262
|
+
# The unique ID that's assigned to an Amazon Redshift cluster.
|
5263
|
+
# @return [String]
|
5264
|
+
#
|
5265
|
+
# @!attribute [rw] workgroup_name
|
5266
|
+
# The name of an Amazon Redshift workgroup.
|
5267
|
+
# @return [String]
|
5268
|
+
#
|
5269
|
+
# @!attribute [rw] database_name
|
5270
|
+
# The name of an Amazon Redshift database.
|
5215
5271
|
# @return [String]
|
5216
5272
|
#
|
5217
5273
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/RedshiftConnectorProfileProperties AWS API Documentation
|
@@ -5220,7 +5276,12 @@ module Aws::Appflow
|
|
5220
5276
|
:database_url,
|
5221
5277
|
:bucket_name,
|
5222
5278
|
:bucket_prefix,
|
5223
|
-
:role_arn
|
5279
|
+
:role_arn,
|
5280
|
+
:data_api_role_arn,
|
5281
|
+
:is_redshift_serverless,
|
5282
|
+
:cluster_identifier,
|
5283
|
+
:workgroup_name,
|
5284
|
+
:database_name)
|
5224
5285
|
SENSITIVE = []
|
5225
5286
|
include Aws::Structure
|
5226
5287
|
end
|
@@ -6026,7 +6087,7 @@ module Aws::Appflow
|
|
6026
6087
|
# option, you ensure that your flow writes consistent output, but
|
6027
6088
|
# you decrease performance for large data transfers that are better
|
6028
6089
|
# suited for Bulk API 2.0. In some cases, if your flow attempts to
|
6029
|
-
# transfer a vary large set of data, it might fail
|
6090
|
+
# transfer a vary large set of data, it might fail wituh a timed out
|
6030
6091
|
# error.
|
6031
6092
|
# @return [String]
|
6032
6093
|
#
|
@@ -7312,10 +7373,15 @@ module Aws::Appflow
|
|
7312
7373
|
# instance_url: "InstanceUrl", # required
|
7313
7374
|
# },
|
7314
7375
|
# redshift: {
|
7315
|
-
# database_url: "DatabaseUrl",
|
7376
|
+
# database_url: "DatabaseUrl",
|
7316
7377
|
# bucket_name: "BucketName", # required
|
7317
7378
|
# bucket_prefix: "BucketPrefix",
|
7318
7379
|
# role_arn: "RoleArn", # required
|
7380
|
+
# data_api_role_arn: "DataApiRoleArn",
|
7381
|
+
# is_redshift_serverless: false,
|
7382
|
+
# cluster_identifier: "ClusterIdentifier",
|
7383
|
+
# workgroup_name: "WorkgroupName",
|
7384
|
+
# database_name: "DatabaseName",
|
7319
7385
|
# },
|
7320
7386
|
# salesforce: {
|
7321
7387
|
# instance_url: "InstanceUrl",
|
@@ -7372,7 +7438,7 @@ module Aws::Appflow
|
|
7372
7438
|
# },
|
7373
7439
|
# },
|
7374
7440
|
# },
|
7375
|
-
# connector_profile_credentials: {
|
7441
|
+
# connector_profile_credentials: {
|
7376
7442
|
# amplitude: {
|
7377
7443
|
# api_key: "ApiKey", # required
|
7378
7444
|
# secret_key: "SecretKey", # required
|
@@ -7418,8 +7484,8 @@ module Aws::Appflow
|
|
7418
7484
|
# },
|
7419
7485
|
# },
|
7420
7486
|
# redshift: {
|
7421
|
-
# username: "
|
7422
|
-
# password: "Password",
|
7487
|
+
# username: "String",
|
7488
|
+
# password: "Password",
|
7423
7489
|
# },
|
7424
7490
|
# salesforce: {
|
7425
7491
|
# access_token: "AccessToken",
|
@@ -7549,6 +7615,56 @@ module Aws::Appflow
|
|
7549
7615
|
include Aws::Structure
|
7550
7616
|
end
|
7551
7617
|
|
7618
|
+
# @note When making an API call, you may pass UpdateConnectorRegistrationRequest
|
7619
|
+
# data as a hash:
|
7620
|
+
#
|
7621
|
+
# {
|
7622
|
+
# connector_label: "ConnectorLabel", # required
|
7623
|
+
# description: "Description",
|
7624
|
+
# connector_provisioning_config: {
|
7625
|
+
# lambda: {
|
7626
|
+
# lambda_arn: "ARN", # required
|
7627
|
+
# },
|
7628
|
+
# },
|
7629
|
+
# }
|
7630
|
+
#
|
7631
|
+
# @!attribute [rw] connector_label
|
7632
|
+
# The name of the connector. The name is unique for each connector
|
7633
|
+
# registration in your AWS account.
|
7634
|
+
# @return [String]
|
7635
|
+
#
|
7636
|
+
# @!attribute [rw] description
|
7637
|
+
# A description about the update that you're applying to the
|
7638
|
+
# connector.
|
7639
|
+
# @return [String]
|
7640
|
+
#
|
7641
|
+
# @!attribute [rw] connector_provisioning_config
|
7642
|
+
# Contains information about the configuration of the connector being
|
7643
|
+
# registered.
|
7644
|
+
# @return [Types::ConnectorProvisioningConfig]
|
7645
|
+
#
|
7646
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationRequest AWS API Documentation
|
7647
|
+
#
|
7648
|
+
class UpdateConnectorRegistrationRequest < Struct.new(
|
7649
|
+
:connector_label,
|
7650
|
+
:description,
|
7651
|
+
:connector_provisioning_config)
|
7652
|
+
SENSITIVE = []
|
7653
|
+
include Aws::Structure
|
7654
|
+
end
|
7655
|
+
|
7656
|
+
# @!attribute [rw] connector_arn
|
7657
|
+
# The ARN of the connector being updated.
|
7658
|
+
# @return [String]
|
7659
|
+
#
|
7660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationResponse AWS API Documentation
|
7661
|
+
#
|
7662
|
+
class UpdateConnectorRegistrationResponse < Struct.new(
|
7663
|
+
:connector_arn)
|
7664
|
+
SENSITIVE = []
|
7665
|
+
include Aws::Structure
|
7666
|
+
end
|
7667
|
+
|
7552
7668
|
# @note When making an API call, you may pass UpdateFlowRequest
|
7553
7669
|
# data as a hash:
|
7554
7670
|
#
|
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.32.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-
|
11
|
+
date: 2022-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|