aws-sdk-appflow 1.29.0 → 1.31.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c6119b9783e8d09b05b09508d788d09944030312fafff2685704ccc9e1ecbf9
4
- data.tar.gz: 5dc5dc71f250734e977b7b87754ea757fbe6ebe943133b498e2d26230c8f8406
3
+ metadata.gz: 8248e95f418c4d916584dc2e91f4d9dd5dd60116f2f281a30b44e652f1aa4cb9
4
+ data.tar.gz: b10ddf4f889d2cc0d93c2f80b5ba50daadfc5c7fba3069d197f892a940f3448f
5
5
  SHA512:
6
- metadata.gz: 34ab304e3f3e6040c61fb7b44c19f2887a38d3c087657b021fd985d9ba295004fae5dba44bda579f18efd38407af22bc35b2757f1fd5f67da2e34d20abec780b
7
- data.tar.gz: f96094b29bff6e1c8b9838ff4ad8b0f2a89c98281b8c4f1460bf8a6b65d8ccf62bbd64e612332a2157f2c483a0ea28b92b5dcb529741ccd664d88742313fd881
6
+ metadata.gz: 490629c61befad81f2dbfb9b41f54c685bf4a6f07f09ad7a76568b6b39d5a4dd4ec512e9900a3018032b74ef7cd480665347850afbd73084a81e41a970ef201e
7
+ data.tar.gz: c9492f73d1b31dedba65376f7bd1d3067be8c300ae1e7cfe0e5c4d962fee482cb68a23bfb1417abbe9a4f61cf0ad4803ef478fc65bf6dbe7ac0a720a58909d6a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.31.0 (2022-11-18)
5
+ ------------------
6
+
7
+ * 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.
8
+
9
+ 1.30.0 (2022-11-17)
10
+ ------------------
11
+
12
+ * Feature - AppFlow simplifies the preparation and cataloging of SaaS data into the AWS Glue Data Catalog where your data can be discovered and accessed by AWS analytics and ML services. AppFlow now also supports data field partitioning and file size optimization to improve query performance and reduce cost.
13
+
4
14
  1.29.0 (2022-10-25)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.29.0
1
+ 1.31.0
@@ -688,6 +688,12 @@ module Aws::Appflow
688
688
  # @option params [Hash<String,String>] :tags
689
689
  # The tags used to organize, track, or control access for your flow.
690
690
  #
691
+ # @option params [Types::MetadataCatalogConfig] :metadata_catalog_config
692
+ # Specifies the configuration that Amazon AppFlow uses when it catalogs
693
+ # the data that's transferred by the associated flow. When Amazon
694
+ # AppFlow catalogs the data from a flow, it stores metadata in a data
695
+ # catalog.
696
+ #
691
697
  # @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
692
698
  #
693
699
  # * {Types::CreateFlowResponse#flow_arn #flow_arn} => String
@@ -810,9 +816,11 @@ module Aws::Appflow
810
816
  # prefix_config: {
811
817
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
812
818
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
819
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
813
820
  # },
814
821
  # aggregation_config: {
815
822
  # aggregation_type: "None", # accepts None, SingleFile
823
+ # target_file_size: 1,
816
824
  # },
817
825
  # preserve_source_data_typing: false,
818
826
  # },
@@ -856,9 +864,11 @@ module Aws::Appflow
856
864
  # prefix_config: { # required
857
865
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
858
866
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
867
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
859
868
  # },
860
869
  # aggregation_config: {
861
870
  # aggregation_type: "None", # accepts None, SingleFile
871
+ # target_file_size: 1,
862
872
  # },
863
873
  # },
864
874
  # },
@@ -944,7 +954,7 @@ module Aws::Appflow
944
954
  # custom_connector: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, CONTAINS, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
945
955
  # },
946
956
  # destination_field: "DestinationField",
947
- # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate
957
+ # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate, Partition
948
958
  # task_properties: {
949
959
  # "VALUE" => "Property",
950
960
  # },
@@ -953,6 +963,13 @@ module Aws::Appflow
953
963
  # tags: {
954
964
  # "TagKey" => "TagValue",
955
965
  # },
966
+ # metadata_catalog_config: {
967
+ # glue_data_catalog: {
968
+ # role_arn: "GlueDataCatalogIAMRole", # required
969
+ # database_name: "GlueDataCatalogDatabaseName", # required
970
+ # table_prefix: "GlueDataCatalogTablePrefix", # required
971
+ # },
972
+ # },
956
973
  # })
957
974
  #
958
975
  # @example Response structure
@@ -1496,6 +1513,9 @@ module Aws::Appflow
1496
1513
  # * {Types::DescribeFlowResponse#created_by #created_by} => String
1497
1514
  # * {Types::DescribeFlowResponse#last_updated_by #last_updated_by} => String
1498
1515
  # * {Types::DescribeFlowResponse#tags #tags} => Hash&lt;String,String&gt;
1516
+ # * {Types::DescribeFlowResponse#metadata_catalog_config #metadata_catalog_config} => Types::MetadataCatalogConfig
1517
+ # * {Types::DescribeFlowResponse#last_run_metadata_catalog_details #last_run_metadata_catalog_details} => Array&lt;Types::MetadataCatalogDetail&gt;
1518
+ # * {Types::DescribeFlowResponse#schema_version #schema_version} => Integer
1499
1519
  #
1500
1520
  # @example Request syntax with placeholder values
1501
1521
  #
@@ -1557,7 +1577,10 @@ module Aws::Appflow
1557
1577
  # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.file_type #=> String, one of "CSV", "JSON", "PARQUET"
1558
1578
  # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.prefix_type #=> String, one of "FILENAME", "PATH", "PATH_AND_FILENAME"
1559
1579
  # 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"
1580
+ # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.path_prefix_hierarchy #=> Array
1581
+ # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.prefix_config.path_prefix_hierarchy[0] #=> String, one of "EXECUTION_ID", "SCHEMA_VERSION"
1560
1582
  # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.aggregation_config.aggregation_type #=> String, one of "None", "SingleFile"
1583
+ # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.aggregation_config.target_file_size #=> Integer
1561
1584
  # resp.destination_flow_config_list[0].destination_connector_properties.s3.s3_output_format_config.preserve_source_data_typing #=> Boolean
1562
1585
  # resp.destination_flow_config_list[0].destination_connector_properties.salesforce.object #=> String
1563
1586
  # resp.destination_flow_config_list[0].destination_connector_properties.salesforce.id_field_names #=> Array
@@ -1582,7 +1605,10 @@ module Aws::Appflow
1582
1605
  # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.file_type #=> String, one of "CSV", "JSON", "PARQUET"
1583
1606
  # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.prefix_config.prefix_type #=> String, one of "FILENAME", "PATH", "PATH_AND_FILENAME"
1584
1607
  # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.prefix_config.prefix_format #=> String, one of "YEAR", "MONTH", "DAY", "HOUR", "MINUTE"
1608
+ # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.prefix_config.path_prefix_hierarchy #=> Array
1609
+ # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.prefix_config.path_prefix_hierarchy[0] #=> String, one of "EXECUTION_ID", "SCHEMA_VERSION"
1585
1610
  # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.aggregation_config.aggregation_type #=> String, one of "None", "SingleFile"
1611
+ # resp.destination_flow_config_list[0].destination_connector_properties.upsolver.s3_output_format_config.aggregation_config.target_file_size #=> Integer
1586
1612
  # resp.destination_flow_config_list[0].destination_connector_properties.honeycode.object #=> String
1587
1613
  # resp.destination_flow_config_list[0].destination_connector_properties.honeycode.error_handling_config.fail_on_first_destination_error #=> Boolean
1588
1614
  # resp.destination_flow_config_list[0].destination_connector_properties.honeycode.error_handling_config.bucket_prefix #=> String
@@ -1650,7 +1676,7 @@ module Aws::Appflow
1650
1676
  # resp.tasks[0].connector_operator.sapo_data #=> String, one of "PROJECTION", "LESS_THAN", "CONTAINS", "GREATER_THAN", "BETWEEN", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "EQUAL_TO", "NOT_EQUAL_TO", "ADDITION", "MULTIPLICATION", "DIVISION", "SUBTRACTION", "MASK_ALL", "MASK_FIRST_N", "MASK_LAST_N", "VALIDATE_NON_NULL", "VALIDATE_NON_ZERO", "VALIDATE_NON_NEGATIVE", "VALIDATE_NUMERIC", "NO_OP"
1651
1677
  # resp.tasks[0].connector_operator.custom_connector #=> String, one of "PROJECTION", "LESS_THAN", "GREATER_THAN", "CONTAINS", "BETWEEN", "LESS_THAN_OR_EQUAL_TO", "GREATER_THAN_OR_EQUAL_TO", "EQUAL_TO", "NOT_EQUAL_TO", "ADDITION", "MULTIPLICATION", "DIVISION", "SUBTRACTION", "MASK_ALL", "MASK_FIRST_N", "MASK_LAST_N", "VALIDATE_NON_NULL", "VALIDATE_NON_ZERO", "VALIDATE_NON_NEGATIVE", "VALIDATE_NUMERIC", "NO_OP"
1652
1678
  # resp.tasks[0].destination_field #=> String
1653
- # resp.tasks[0].task_type #=> String, one of "Arithmetic", "Filter", "Map", "Map_all", "Mask", "Merge", "Passthrough", "Truncate", "Validate"
1679
+ # resp.tasks[0].task_type #=> String, one of "Arithmetic", "Filter", "Map", "Map_all", "Mask", "Merge", "Passthrough", "Truncate", "Validate", "Partition"
1654
1680
  # resp.tasks[0].task_properties #=> Hash
1655
1681
  # resp.tasks[0].task_properties["OperatorPropertiesKeys"] #=> String
1656
1682
  # resp.created_at #=> Time
@@ -1659,6 +1685,19 @@ module Aws::Appflow
1659
1685
  # resp.last_updated_by #=> String
1660
1686
  # resp.tags #=> Hash
1661
1687
  # resp.tags["TagKey"] #=> String
1688
+ # resp.metadata_catalog_config.glue_data_catalog.role_arn #=> String
1689
+ # resp.metadata_catalog_config.glue_data_catalog.database_name #=> String
1690
+ # resp.metadata_catalog_config.glue_data_catalog.table_prefix #=> String
1691
+ # resp.last_run_metadata_catalog_details #=> Array
1692
+ # resp.last_run_metadata_catalog_details[0].catalog_type #=> String, one of "GLUE"
1693
+ # resp.last_run_metadata_catalog_details[0].table_name #=> String
1694
+ # resp.last_run_metadata_catalog_details[0].table_registration_output.message #=> String
1695
+ # resp.last_run_metadata_catalog_details[0].table_registration_output.result #=> String
1696
+ # resp.last_run_metadata_catalog_details[0].table_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
1697
+ # resp.last_run_metadata_catalog_details[0].partition_registration_output.message #=> String
1698
+ # resp.last_run_metadata_catalog_details[0].partition_registration_output.result #=> String
1699
+ # resp.last_run_metadata_catalog_details[0].partition_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
1700
+ # resp.schema_version #=> Integer
1662
1701
  #
1663
1702
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlow AWS API Documentation
1664
1703
  #
@@ -1712,6 +1751,15 @@ module Aws::Appflow
1712
1751
  # resp.flow_executions[0].last_updated_at #=> Time
1713
1752
  # resp.flow_executions[0].data_pull_start_time #=> Time
1714
1753
  # resp.flow_executions[0].data_pull_end_time #=> Time
1754
+ # resp.flow_executions[0].metadata_catalog_details #=> Array
1755
+ # resp.flow_executions[0].metadata_catalog_details[0].catalog_type #=> String, one of "GLUE"
1756
+ # resp.flow_executions[0].metadata_catalog_details[0].table_name #=> String
1757
+ # resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.message #=> String
1758
+ # resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.result #=> String
1759
+ # resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
1760
+ # resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.message #=> String
1761
+ # resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.result #=> String
1762
+ # resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
1715
1763
  # resp.next_token #=> String
1716
1764
  #
1717
1765
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowExecutionRecords AWS API Documentation
@@ -1913,9 +1961,9 @@ module Aws::Appflow
1913
1961
  req.send_request(options)
1914
1962
  end
1915
1963
 
1916
- # Registers a new connector with your Amazon Web Services account.
1917
- # Before you can register the connector, you must deploy lambda in your
1918
- # account.
1964
+ # Registers a new custom connector with your Amazon Web Services
1965
+ # account. Before you can register the connector, you must deploy the
1966
+ # associated AWS lambda function in your account.
1919
1967
  #
1920
1968
  # @option params [String] :connector_label
1921
1969
  # The name of the connector. The name is unique for each
@@ -2059,7 +2107,7 @@ module Aws::Appflow
2059
2107
  end
2060
2108
 
2061
2109
  # Unregisters the custom connector registered in your account that
2062
- # matches the connectorLabel provided in the request.
2110
+ # matches the connector label provided in the request.
2063
2111
  #
2064
2112
  # @option params [required, String] :connector_label
2065
2113
  # The label of the connector. The label is unique for each
@@ -2371,6 +2419,54 @@ module Aws::Appflow
2371
2419
  req.send_request(options)
2372
2420
  end
2373
2421
 
2422
+ # Updates a custom connector that you've previously registered. This
2423
+ # operation updates the connector with one of the following:
2424
+ #
2425
+ # * The latest version of the AWS Lambda function that's assigned to
2426
+ # the connector
2427
+ #
2428
+ # * A new AWS Lambda function that you specify
2429
+ #
2430
+ # @option params [required, String] :connector_label
2431
+ # The name of the connector. The name is unique for each connector
2432
+ # registration in your AWS account.
2433
+ #
2434
+ # @option params [String] :description
2435
+ # A description about the update that you're applying to the connector.
2436
+ #
2437
+ # @option params [Types::ConnectorProvisioningConfig] :connector_provisioning_config
2438
+ # Contains information about the configuration of the connector being
2439
+ # registered.
2440
+ #
2441
+ # @return [Types::UpdateConnectorRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2442
+ #
2443
+ # * {Types::UpdateConnectorRegistrationResponse#connector_arn #connector_arn} => String
2444
+ #
2445
+ # @example Request syntax with placeholder values
2446
+ #
2447
+ # resp = client.update_connector_registration({
2448
+ # connector_label: "ConnectorLabel", # required
2449
+ # description: "Description",
2450
+ # connector_provisioning_config: {
2451
+ # lambda: {
2452
+ # lambda_arn: "ARN", # required
2453
+ # },
2454
+ # },
2455
+ # })
2456
+ #
2457
+ # @example Response structure
2458
+ #
2459
+ # resp.connector_arn #=> String
2460
+ #
2461
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistration AWS API Documentation
2462
+ #
2463
+ # @overload update_connector_registration(params = {})
2464
+ # @param [Hash] params ({})
2465
+ def update_connector_registration(params = {}, options = {})
2466
+ req = build_request(:update_connector_registration, params)
2467
+ req.send_request(options)
2468
+ end
2469
+
2374
2470
  # Updates an existing flow.
2375
2471
  #
2376
2472
  # @option params [required, String] :flow_name
@@ -2395,6 +2491,12 @@ module Aws::Appflow
2395
2491
  # A list of tasks that Amazon AppFlow performs while transferring the
2396
2492
  # data in the flow run.
2397
2493
  #
2494
+ # @option params [Types::MetadataCatalogConfig] :metadata_catalog_config
2495
+ # Specifies the configuration that Amazon AppFlow uses when it catalogs
2496
+ # the data that's transferred by the associated flow. When Amazon
2497
+ # AppFlow catalogs the data from a flow, it stores metadata in a data
2498
+ # catalog.
2499
+ #
2398
2500
  # @return [Types::UpdateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2399
2501
  #
2400
2502
  # * {Types::UpdateFlowResponse#flow_status #flow_status} => String
@@ -2515,9 +2617,11 @@ module Aws::Appflow
2515
2617
  # prefix_config: {
2516
2618
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
2517
2619
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
2620
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
2518
2621
  # },
2519
2622
  # aggregation_config: {
2520
2623
  # aggregation_type: "None", # accepts None, SingleFile
2624
+ # target_file_size: 1,
2521
2625
  # },
2522
2626
  # preserve_source_data_typing: false,
2523
2627
  # },
@@ -2561,9 +2665,11 @@ module Aws::Appflow
2561
2665
  # prefix_config: { # required
2562
2666
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
2563
2667
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
2668
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
2564
2669
  # },
2565
2670
  # aggregation_config: {
2566
2671
  # aggregation_type: "None", # accepts None, SingleFile
2672
+ # target_file_size: 1,
2567
2673
  # },
2568
2674
  # },
2569
2675
  # },
@@ -2649,12 +2755,19 @@ module Aws::Appflow
2649
2755
  # custom_connector: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, CONTAINS, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
2650
2756
  # },
2651
2757
  # destination_field: "DestinationField",
2652
- # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate
2758
+ # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate, Partition
2653
2759
  # task_properties: {
2654
2760
  # "VALUE" => "Property",
2655
2761
  # },
2656
2762
  # },
2657
2763
  # ],
2764
+ # metadata_catalog_config: {
2765
+ # glue_data_catalog: {
2766
+ # role_arn: "GlueDataCatalogIAMRole", # required
2767
+ # database_name: "GlueDataCatalogDatabaseName", # required
2768
+ # table_prefix: "GlueDataCatalogTablePrefix", # required
2769
+ # },
2770
+ # },
2658
2771
  # })
2659
2772
  #
2660
2773
  # @example Response structure
@@ -2683,7 +2796,7 @@ module Aws::Appflow
2683
2796
  params: params,
2684
2797
  config: config)
2685
2798
  context[:gem_name] = 'aws-sdk-appflow'
2686
- context[:gem_version] = '1.29.0'
2799
+ context[:gem_version] = '1.31.0'
2687
2800
  Seahorse::Client::Request.new(handlers, context)
2688
2801
  end
2689
2802
 
@@ -45,6 +45,7 @@ module Aws::Appflow
45
45
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
46
46
  BucketName = Shapes::StringShape.new(name: 'BucketName')
47
47
  BucketPrefix = Shapes::StringShape.new(name: 'BucketPrefix')
48
+ CatalogType = Shapes::StringShape.new(name: 'CatalogType')
48
49
  ClientCredentialsArn = Shapes::StringShape.new(name: 'ClientCredentialsArn')
49
50
  ClientId = Shapes::StringShape.new(name: 'ClientId')
50
51
  ClientNumber = Shapes::StringShape.new(name: 'ClientNumber')
@@ -177,6 +178,10 @@ module Aws::Appflow
177
178
  FlowName = Shapes::StringShape.new(name: 'FlowName')
178
179
  FlowStatus = Shapes::StringShape.new(name: 'FlowStatus')
179
180
  FlowStatusMessage = Shapes::StringShape.new(name: 'FlowStatusMessage')
181
+ GlueDataCatalogConfig = Shapes::StructureShape.new(name: 'GlueDataCatalogConfig')
182
+ GlueDataCatalogDatabaseName = Shapes::StringShape.new(name: 'GlueDataCatalogDatabaseName')
183
+ GlueDataCatalogIAMRole = Shapes::StringShape.new(name: 'GlueDataCatalogIAMRole')
184
+ GlueDataCatalogTablePrefix = Shapes::StringShape.new(name: 'GlueDataCatalogTablePrefix')
180
185
  GoogleAnalyticsConnectorOperator = Shapes::StringShape.new(name: 'GoogleAnalyticsConnectorOperator')
181
186
  GoogleAnalyticsConnectorProfileCredentials = Shapes::StructureShape.new(name: 'GoogleAnalyticsConnectorProfileCredentials')
182
187
  GoogleAnalyticsConnectorProfileProperties = Shapes::StructureShape.new(name: 'GoogleAnalyticsConnectorProfileProperties')
@@ -221,6 +226,9 @@ module Aws::Appflow
221
226
  MarketoMetadata = Shapes::StructureShape.new(name: 'MarketoMetadata')
222
227
  MarketoSourceProperties = Shapes::StructureShape.new(name: 'MarketoSourceProperties')
223
228
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
229
+ MetadataCatalogConfig = Shapes::StructureShape.new(name: 'MetadataCatalogConfig')
230
+ MetadataCatalogDetail = Shapes::StructureShape.new(name: 'MetadataCatalogDetail')
231
+ MetadataCatalogDetails = Shapes::ListShape.new(name: 'MetadataCatalogDetails')
224
232
  MostRecentExecutionMessage = Shapes::StringShape.new(name: 'MostRecentExecutionMessage')
225
233
  Name = Shapes::StringShape.new(name: 'Name')
226
234
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -242,6 +250,8 @@ module Aws::Appflow
242
250
  OperatorPropertiesKeys = Shapes::StringShape.new(name: 'OperatorPropertiesKeys')
243
251
  Operators = Shapes::StringShape.new(name: 'Operators')
244
252
  Password = Shapes::StringShape.new(name: 'Password')
253
+ PathPrefix = Shapes::StringShape.new(name: 'PathPrefix')
254
+ PathPrefixHierarchy = Shapes::ListShape.new(name: 'PathPrefixHierarchy')
245
255
  PortNumber = Shapes::IntegerShape.new(name: 'PortNumber')
246
256
  PrefixConfig = Shapes::StructureShape.new(name: 'PrefixConfig')
247
257
  PrefixFormat = Shapes::StringShape.new(name: 'PrefixFormat')
@@ -267,6 +277,7 @@ module Aws::Appflow
267
277
  RegisterConnectorRequest = Shapes::StructureShape.new(name: 'RegisterConnectorRequest')
268
278
  RegisterConnectorResponse = Shapes::StructureShape.new(name: 'RegisterConnectorResponse')
269
279
  RegisteredBy = Shapes::StringShape.new(name: 'RegisteredBy')
280
+ RegistrationOutput = Shapes::StructureShape.new(name: 'RegistrationOutput')
270
281
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
271
282
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
272
283
  S3ConnectorOperator = Shapes::StringShape.new(name: 'S3ConnectorOperator')
@@ -364,6 +375,8 @@ module Aws::Appflow
364
375
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
365
376
  UpdateConnectorProfileRequest = Shapes::StructureShape.new(name: 'UpdateConnectorProfileRequest')
366
377
  UpdateConnectorProfileResponse = Shapes::StructureShape.new(name: 'UpdateConnectorProfileResponse')
378
+ UpdateConnectorRegistrationRequest = Shapes::StructureShape.new(name: 'UpdateConnectorRegistrationRequest')
379
+ UpdateConnectorRegistrationResponse = Shapes::StructureShape.new(name: 'UpdateConnectorRegistrationResponse')
367
380
  UpdateFlowRequest = Shapes::StructureShape.new(name: 'UpdateFlowRequest')
368
381
  UpdateFlowResponse = Shapes::StructureShape.new(name: 'UpdateFlowResponse')
369
382
  UpdatedBy = Shapes::StringShape.new(name: 'UpdatedBy')
@@ -392,6 +405,7 @@ module Aws::Appflow
392
405
  AccessDeniedException.struct_class = Types::AccessDeniedException
393
406
 
394
407
  AggregationConfig.add_member(:aggregation_type, Shapes::ShapeRef.new(shape: AggregationType, location_name: "aggregationType"))
408
+ AggregationConfig.add_member(:target_file_size, Shapes::ShapeRef.new(shape: Long, location_name: "targetFileSize"))
395
409
  AggregationConfig.struct_class = Types::AggregationConfig
396
410
 
397
411
  AmplitudeConnectorProfileCredentials.add_member(:api_key, Shapes::ShapeRef.new(shape: ApiKey, required: true, location_name: "apiKey"))
@@ -659,6 +673,7 @@ module Aws::Appflow
659
673
  CreateFlowRequest.add_member(:destination_flow_config_list, Shapes::ShapeRef.new(shape: DestinationFlowConfigList, required: true, location_name: "destinationFlowConfigList"))
660
674
  CreateFlowRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, required: true, location_name: "tasks"))
661
675
  CreateFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
676
+ CreateFlowRequest.add_member(:metadata_catalog_config, Shapes::ShapeRef.new(shape: MetadataCatalogConfig, location_name: "metadataCatalogConfig"))
662
677
  CreateFlowRequest.struct_class = Types::CreateFlowRequest
663
678
 
664
679
  CreateFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: FlowArn, location_name: "flowArn"))
@@ -798,6 +813,9 @@ module Aws::Appflow
798
813
  DescribeFlowResponse.add_member(:created_by, Shapes::ShapeRef.new(shape: CreatedBy, location_name: "createdBy"))
799
814
  DescribeFlowResponse.add_member(:last_updated_by, Shapes::ShapeRef.new(shape: UpdatedBy, location_name: "lastUpdatedBy"))
800
815
  DescribeFlowResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
816
+ DescribeFlowResponse.add_member(:metadata_catalog_config, Shapes::ShapeRef.new(shape: MetadataCatalogConfig, location_name: "metadataCatalogConfig"))
817
+ DescribeFlowResponse.add_member(:last_run_metadata_catalog_details, Shapes::ShapeRef.new(shape: MetadataCatalogDetails, location_name: "lastRunMetadataCatalogDetails"))
818
+ DescribeFlowResponse.add_member(:schema_version, Shapes::ShapeRef.new(shape: Long, location_name: "schemaVersion"))
801
819
  DescribeFlowResponse.struct_class = Types::DescribeFlowResponse
802
820
 
803
821
  DestinationConnectorProperties.add_member(:redshift, Shapes::ShapeRef.new(shape: RedshiftDestinationProperties, location_name: "Redshift"))
@@ -869,6 +887,7 @@ module Aws::Appflow
869
887
  ExecutionRecord.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "lastUpdatedAt"))
870
888
  ExecutionRecord.add_member(:data_pull_start_time, Shapes::ShapeRef.new(shape: Date, location_name: "dataPullStartTime"))
871
889
  ExecutionRecord.add_member(:data_pull_end_time, Shapes::ShapeRef.new(shape: Date, location_name: "dataPullEndTime"))
890
+ ExecutionRecord.add_member(:metadata_catalog_details, Shapes::ShapeRef.new(shape: MetadataCatalogDetails, location_name: "metadataCatalogDetails"))
872
891
  ExecutionRecord.struct_class = Types::ExecutionRecord
873
892
 
874
893
  ExecutionResult.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfo, location_name: "errorInfo"))
@@ -909,6 +928,11 @@ module Aws::Appflow
909
928
 
910
929
  FlowList.member = Shapes::ShapeRef.new(shape: FlowDefinition)
911
930
 
931
+ GlueDataCatalogConfig.add_member(:role_arn, Shapes::ShapeRef.new(shape: GlueDataCatalogIAMRole, required: true, location_name: "roleArn"))
932
+ GlueDataCatalogConfig.add_member(:database_name, Shapes::ShapeRef.new(shape: GlueDataCatalogDatabaseName, required: true, location_name: "databaseName"))
933
+ GlueDataCatalogConfig.add_member(:table_prefix, Shapes::ShapeRef.new(shape: GlueDataCatalogTablePrefix, required: true, location_name: "tablePrefix"))
934
+ GlueDataCatalogConfig.struct_class = Types::GlueDataCatalogConfig
935
+
912
936
  GoogleAnalyticsConnectorProfileCredentials.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, required: true, location_name: "clientId"))
913
937
  GoogleAnalyticsConnectorProfileCredentials.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecret, required: true, location_name: "clientSecret"))
914
938
  GoogleAnalyticsConnectorProfileCredentials.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
@@ -1014,6 +1038,17 @@ module Aws::Appflow
1014
1038
  MarketoSourceProperties.add_member(:object, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "object"))
1015
1039
  MarketoSourceProperties.struct_class = Types::MarketoSourceProperties
1016
1040
 
1041
+ MetadataCatalogConfig.add_member(:glue_data_catalog, Shapes::ShapeRef.new(shape: GlueDataCatalogConfig, location_name: "glueDataCatalog"))
1042
+ MetadataCatalogConfig.struct_class = Types::MetadataCatalogConfig
1043
+
1044
+ MetadataCatalogDetail.add_member(:catalog_type, Shapes::ShapeRef.new(shape: CatalogType, location_name: "catalogType"))
1045
+ MetadataCatalogDetail.add_member(:table_name, Shapes::ShapeRef.new(shape: String, location_name: "tableName"))
1046
+ MetadataCatalogDetail.add_member(:table_registration_output, Shapes::ShapeRef.new(shape: RegistrationOutput, location_name: "tableRegistrationOutput"))
1047
+ MetadataCatalogDetail.add_member(:partition_registration_output, Shapes::ShapeRef.new(shape: RegistrationOutput, location_name: "partitionRegistrationOutput"))
1048
+ MetadataCatalogDetail.struct_class = Types::MetadataCatalogDetail
1049
+
1050
+ MetadataCatalogDetails.member = Shapes::ShapeRef.new(shape: MetadataCatalogDetail)
1051
+
1017
1052
  OAuth2Credentials.add_member(:client_id, Shapes::ShapeRef.new(shape: ClientId, location_name: "clientId"))
1018
1053
  OAuth2Credentials.add_member(:client_secret, Shapes::ShapeRef.new(shape: ClientSecret, location_name: "clientSecret"))
1019
1054
  OAuth2Credentials.add_member(:access_token, Shapes::ShapeRef.new(shape: AccessToken, location_name: "accessToken"))
@@ -1060,8 +1095,11 @@ module Aws::Appflow
1060
1095
 
1061
1096
  OAuthScopeList.member = Shapes::ShapeRef.new(shape: OAuthScope)
1062
1097
 
1098
+ PathPrefixHierarchy.member = Shapes::ShapeRef.new(shape: PathPrefix)
1099
+
1063
1100
  PrefixConfig.add_member(:prefix_type, Shapes::ShapeRef.new(shape: PrefixType, location_name: "prefixType"))
1064
1101
  PrefixConfig.add_member(:prefix_format, Shapes::ShapeRef.new(shape: PrefixFormat, location_name: "prefixFormat"))
1102
+ PrefixConfig.add_member(:path_prefix_hierarchy, Shapes::ShapeRef.new(shape: PathPrefixHierarchy, location_name: "pathPrefixHierarchy"))
1065
1103
  PrefixConfig.struct_class = Types::PrefixConfig
1066
1104
 
1067
1105
  PrivateConnectionProvisioningState.add_member(:status, Shapes::ShapeRef.new(shape: PrivateConnectionProvisioningStatus, location_name: "status"))
@@ -1105,6 +1143,11 @@ module Aws::Appflow
1105
1143
  RegisterConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
1106
1144
  RegisterConnectorResponse.struct_class = Types::RegisterConnectorResponse
1107
1145
 
1146
+ RegistrationOutput.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
1147
+ RegistrationOutput.add_member(:result, Shapes::ShapeRef.new(shape: String, location_name: "result"))
1148
+ RegistrationOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "status"))
1149
+ RegistrationOutput.struct_class = Types::RegistrationOutput
1150
+
1108
1151
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1109
1152
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1110
1153
 
@@ -1392,12 +1435,21 @@ module Aws::Appflow
1392
1435
  UpdateConnectorProfileResponse.add_member(:connector_profile_arn, Shapes::ShapeRef.new(shape: ConnectorProfileArn, location_name: "connectorProfileArn"))
1393
1436
  UpdateConnectorProfileResponse.struct_class = Types::UpdateConnectorProfileResponse
1394
1437
 
1438
+ UpdateConnectorRegistrationRequest.add_member(:connector_label, Shapes::ShapeRef.new(shape: ConnectorLabel, required: true, location_name: "connectorLabel"))
1439
+ UpdateConnectorRegistrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1440
+ UpdateConnectorRegistrationRequest.add_member(:connector_provisioning_config, Shapes::ShapeRef.new(shape: ConnectorProvisioningConfig, location_name: "connectorProvisioningConfig"))
1441
+ UpdateConnectorRegistrationRequest.struct_class = Types::UpdateConnectorRegistrationRequest
1442
+
1443
+ UpdateConnectorRegistrationResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
1444
+ UpdateConnectorRegistrationResponse.struct_class = Types::UpdateConnectorRegistrationResponse
1445
+
1395
1446
  UpdateFlowRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
1396
1447
  UpdateFlowRequest.add_member(:description, Shapes::ShapeRef.new(shape: FlowDescription, location_name: "description"))
1397
1448
  UpdateFlowRequest.add_member(:trigger_config, Shapes::ShapeRef.new(shape: TriggerConfig, required: true, location_name: "triggerConfig"))
1398
1449
  UpdateFlowRequest.add_member(:source_flow_config, Shapes::ShapeRef.new(shape: SourceFlowConfig, required: true, location_name: "sourceFlowConfig"))
1399
1450
  UpdateFlowRequest.add_member(:destination_flow_config_list, Shapes::ShapeRef.new(shape: DestinationFlowConfigList, required: true, location_name: "destinationFlowConfigList"))
1400
1451
  UpdateFlowRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, required: true, location_name: "tasks"))
1452
+ UpdateFlowRequest.add_member(:metadata_catalog_config, Shapes::ShapeRef.new(shape: MetadataCatalogConfig, location_name: "metadataCatalogConfig"))
1401
1453
  UpdateFlowRequest.struct_class = Types::UpdateFlowRequest
1402
1454
 
1403
1455
  UpdateFlowResponse.add_member(:flow_status, Shapes::ShapeRef.new(shape: FlowStatus, location_name: "flowStatus"))
@@ -1749,6 +1801,23 @@ module Aws::Appflow
1749
1801
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1750
1802
  end)
1751
1803
 
1804
+ api.add_operation(:update_connector_registration, Seahorse::Model::Operation.new.tap do |o|
1805
+ o.name = "UpdateConnectorRegistration"
1806
+ o.http_method = "POST"
1807
+ o.http_request_uri = "/update-connector-registration"
1808
+ o.input = Shapes::ShapeRef.new(shape: UpdateConnectorRegistrationRequest)
1809
+ o.output = Shapes::ShapeRef.new(shape: UpdateConnectorRegistrationResponse)
1810
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1811
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1812
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1813
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1814
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1815
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1816
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1817
+ o.errors << Shapes::ShapeRef.new(shape: ConnectorServerException)
1818
+ o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
1819
+ end)
1820
+
1752
1821
  api.add_operation(:update_flow, Seahorse::Model::Operation.new.tap do |o|
1753
1822
  o.name = "UpdateFlow"
1754
1823
  o.http_method = "POST"
@@ -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
@@ -31,6 +31,7 @@ module Aws::Appflow
31
31
  #
32
32
  # {
33
33
  # aggregation_type: "None", # accepts None, SingleFile
34
+ # target_file_size: 1,
34
35
  # }
35
36
  #
36
37
  # @!attribute [rw] aggregation_type
@@ -38,10 +39,19 @@ module Aws::Appflow
38
39
  # single file, or leave them unaggregated.
39
40
  # @return [String]
40
41
  #
42
+ # @!attribute [rw] target_file_size
43
+ # The desired file size, in MB, for each output file that Amazon
44
+ # AppFlow writes to the flow destination. For each file, Amazon
45
+ # AppFlow attempts to achieve the size that you specify. The actual
46
+ # file sizes might differ from this target based on the number and
47
+ # size of the records that each file contains.
48
+ # @return [Integer]
49
+ #
41
50
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/AggregationConfig AWS API Documentation
42
51
  #
43
52
  class AggregationConfig < Struct.new(
44
- :aggregation_type)
53
+ :aggregation_type,
54
+ :target_file_size)
45
55
  SENSITIVE = []
46
56
  include Aws::Structure
47
57
  end
@@ -2082,9 +2092,11 @@ module Aws::Appflow
2082
2092
  # prefix_config: {
2083
2093
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
2084
2094
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
2095
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
2085
2096
  # },
2086
2097
  # aggregation_config: {
2087
2098
  # aggregation_type: "None", # accepts None, SingleFile
2099
+ # target_file_size: 1,
2088
2100
  # },
2089
2101
  # preserve_source_data_typing: false,
2090
2102
  # },
@@ -2128,9 +2140,11 @@ module Aws::Appflow
2128
2140
  # prefix_config: { # required
2129
2141
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
2130
2142
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
2143
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
2131
2144
  # },
2132
2145
  # aggregation_config: {
2133
2146
  # aggregation_type: "None", # accepts None, SingleFile
2147
+ # target_file_size: 1,
2134
2148
  # },
2135
2149
  # },
2136
2150
  # },
@@ -2216,7 +2230,7 @@ module Aws::Appflow
2216
2230
  # custom_connector: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, CONTAINS, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
2217
2231
  # },
2218
2232
  # destination_field: "DestinationField",
2219
- # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate
2233
+ # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate, Partition
2220
2234
  # task_properties: {
2221
2235
  # "VALUE" => "Property",
2222
2236
  # },
@@ -2225,6 +2239,13 @@ module Aws::Appflow
2225
2239
  # tags: {
2226
2240
  # "TagKey" => "TagValue",
2227
2241
  # },
2242
+ # metadata_catalog_config: {
2243
+ # glue_data_catalog: {
2244
+ # role_arn: "GlueDataCatalogIAMRole", # required
2245
+ # database_name: "GlueDataCatalogDatabaseName", # required
2246
+ # table_prefix: "GlueDataCatalogTablePrefix", # required
2247
+ # },
2248
+ # },
2228
2249
  # }
2229
2250
  #
2230
2251
  # @!attribute [rw] flow_name
@@ -2267,6 +2288,13 @@ module Aws::Appflow
2267
2288
  # The tags used to organize, track, or control access for your flow.
2268
2289
  # @return [Hash<String,String>]
2269
2290
  #
2291
+ # @!attribute [rw] metadata_catalog_config
2292
+ # Specifies the configuration that Amazon AppFlow uses when it
2293
+ # catalogs the data that's transferred by the associated flow. When
2294
+ # Amazon AppFlow catalogs the data from a flow, it stores metadata in
2295
+ # a data catalog.
2296
+ # @return [Types::MetadataCatalogConfig]
2297
+ #
2270
2298
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateFlowRequest AWS API Documentation
2271
2299
  #
2272
2300
  class CreateFlowRequest < Struct.new(
@@ -2277,7 +2305,8 @@ module Aws::Appflow
2277
2305
  :source_flow_config,
2278
2306
  :destination_flow_config_list,
2279
2307
  :tasks,
2280
- :tags)
2308
+ :tags,
2309
+ :metadata_catalog_config)
2281
2310
  SENSITIVE = []
2282
2311
  include Aws::Structure
2283
2312
  end
@@ -3081,6 +3110,30 @@ module Aws::Appflow
3081
3110
  # The tags used to organize, track, or control access for your flow.
3082
3111
  # @return [Hash<String,String>]
3083
3112
  #
3113
+ # @!attribute [rw] metadata_catalog_config
3114
+ # Specifies the configuration that Amazon AppFlow uses when it
3115
+ # catalogs the data that's transferred by the associated flow. When
3116
+ # Amazon AppFlow catalogs the data from a flow, it stores metadata in
3117
+ # a data catalog.
3118
+ # @return [Types::MetadataCatalogConfig]
3119
+ #
3120
+ # @!attribute [rw] last_run_metadata_catalog_details
3121
+ # Describes the metadata catalog, metadata table, and data partitions
3122
+ # that Amazon AppFlow used for the associated flow run.
3123
+ # @return [Array<Types::MetadataCatalogDetail>]
3124
+ #
3125
+ # @!attribute [rw] schema_version
3126
+ # The version number of your data schema. Amazon AppFlow assigns this
3127
+ # version number. The version number increases by one when you change
3128
+ # any of the following settings in your flow configuration:
3129
+ #
3130
+ # * Source-to-destination field mappings
3131
+ #
3132
+ # * Field data types
3133
+ #
3134
+ # * Partition keys
3135
+ # @return [Integer]
3136
+ #
3084
3137
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowResponse AWS API Documentation
3085
3138
  #
3086
3139
  class DescribeFlowResponse < Struct.new(
@@ -3099,7 +3152,10 @@ module Aws::Appflow
3099
3152
  :last_updated_at,
3100
3153
  :created_by,
3101
3154
  :last_updated_by,
3102
- :tags)
3155
+ :tags,
3156
+ :metadata_catalog_config,
3157
+ :last_run_metadata_catalog_details,
3158
+ :schema_version)
3103
3159
  SENSITIVE = []
3104
3160
  include Aws::Structure
3105
3161
  end
@@ -3129,9 +3185,11 @@ module Aws::Appflow
3129
3185
  # prefix_config: {
3130
3186
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
3131
3187
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
3188
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
3132
3189
  # },
3133
3190
  # aggregation_config: {
3134
3191
  # aggregation_type: "None", # accepts None, SingleFile
3192
+ # target_file_size: 1,
3135
3193
  # },
3136
3194
  # preserve_source_data_typing: false,
3137
3195
  # },
@@ -3175,9 +3233,11 @@ module Aws::Appflow
3175
3233
  # prefix_config: { # required
3176
3234
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
3177
3235
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
3236
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
3178
3237
  # },
3179
3238
  # aggregation_config: {
3180
3239
  # aggregation_type: "None", # accepts None, SingleFile
3240
+ # target_file_size: 1,
3181
3241
  # },
3182
3242
  # },
3183
3243
  # },
@@ -3388,9 +3448,11 @@ module Aws::Appflow
3388
3448
  # prefix_config: {
3389
3449
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
3390
3450
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
3451
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
3391
3452
  # },
3392
3453
  # aggregation_config: {
3393
3454
  # aggregation_type: "None", # accepts None, SingleFile
3455
+ # target_file_size: 1,
3394
3456
  # },
3395
3457
  # preserve_source_data_typing: false,
3396
3458
  # },
@@ -3434,9 +3496,11 @@ module Aws::Appflow
3434
3496
  # prefix_config: { # required
3435
3497
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
3436
3498
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
3499
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
3437
3500
  # },
3438
3501
  # aggregation_config: {
3439
3502
  # aggregation_type: "None", # accepts None, SingleFile
3503
+ # target_file_size: 1,
3440
3504
  # },
3441
3505
  # },
3442
3506
  # },
@@ -3761,6 +3825,11 @@ module Aws::Appflow
3761
3825
  # transferred in the flow run.
3762
3826
  # @return [Time]
3763
3827
  #
3828
+ # @!attribute [rw] metadata_catalog_details
3829
+ # Describes the metadata catalog, metadata table, and data partitions
3830
+ # that Amazon AppFlow used for the associated flow run.
3831
+ # @return [Array<Types::MetadataCatalogDetail>]
3832
+ #
3764
3833
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ExecutionRecord AWS API Documentation
3765
3834
  #
3766
3835
  class ExecutionRecord < Struct.new(
@@ -3770,7 +3839,8 @@ module Aws::Appflow
3770
3839
  :started_at,
3771
3840
  :last_updated_at,
3772
3841
  :data_pull_start_time,
3773
- :data_pull_end_time)
3842
+ :data_pull_end_time,
3843
+ :metadata_catalog_details)
3774
3844
  SENSITIVE = []
3775
3845
  include Aws::Structure
3776
3846
  end
@@ -3939,6 +4009,67 @@ module Aws::Appflow
3939
4009
  include Aws::Structure
3940
4010
  end
3941
4011
 
4012
+ # Specifies the configuration that Amazon AppFlow uses when it catalogs
4013
+ # your data with the Glue Data Catalog. When Amazon AppFlow catalogs
4014
+ # your data, it stores metadata in Data Catalog tables. This metadata
4015
+ # represents the data that's transferred by the flow that you configure
4016
+ # with these settings.
4017
+ #
4018
+ # <note markdown="1"> You can configure a flow with these settings only when the flow
4019
+ # destination is Amazon S3.
4020
+ #
4021
+ # </note>
4022
+ #
4023
+ # @note When making an API call, you may pass GlueDataCatalogConfig
4024
+ # data as a hash:
4025
+ #
4026
+ # {
4027
+ # role_arn: "GlueDataCatalogIAMRole", # required
4028
+ # database_name: "GlueDataCatalogDatabaseName", # required
4029
+ # table_prefix: "GlueDataCatalogTablePrefix", # required
4030
+ # }
4031
+ #
4032
+ # @!attribute [rw] role_arn
4033
+ # The Amazon Resource Name (ARN) of an IAM role that grants Amazon
4034
+ # AppFlow the permissions it needs to create Data Catalog tables,
4035
+ # databases, and partitions.
4036
+ #
4037
+ # For an example IAM policy that has the required permissions, see
4038
+ # [Identity-based policy examples for Amazon AppFlow][1].
4039
+ #
4040
+ #
4041
+ #
4042
+ # [1]: https://docs.aws.amazon.com/appflow/latest/userguide/security_iam_id-based-policy-examples.html
4043
+ # @return [String]
4044
+ #
4045
+ # @!attribute [rw] database_name
4046
+ # The name of the Data Catalog database that stores the metadata
4047
+ # tables that Amazon AppFlow creates in your Amazon Web Services
4048
+ # account. These tables contain metadata for the data that's
4049
+ # transferred by the flow that you configure with this parameter.
4050
+ #
4051
+ # <note markdown="1"> When you configure a new flow with this parameter, you must specify
4052
+ # an existing database.
4053
+ #
4054
+ # </note>
4055
+ # @return [String]
4056
+ #
4057
+ # @!attribute [rw] table_prefix
4058
+ # A naming prefix for each Data Catalog table that Amazon AppFlow
4059
+ # creates for the flow that you configure with this setting. Amazon
4060
+ # AppFlow adds the prefix to the beginning of the each table name.
4061
+ # @return [String]
4062
+ #
4063
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/GlueDataCatalogConfig AWS API Documentation
4064
+ #
4065
+ class GlueDataCatalogConfig < Struct.new(
4066
+ :role_arn,
4067
+ :database_name,
4068
+ :table_prefix)
4069
+ SENSITIVE = []
4070
+ include Aws::Structure
4071
+ end
4072
+
3942
4073
  # The connector-specific profile credentials required by Google
3943
4074
  # Analytics.
3944
4075
  #
@@ -4600,6 +4731,79 @@ module Aws::Appflow
4600
4731
  include Aws::Structure
4601
4732
  end
4602
4733
 
4734
+ # Specifies the configuration that Amazon AppFlow uses when it catalogs
4735
+ # your data. When Amazon AppFlow catalogs your data, it stores metadata
4736
+ # in a data catalog.
4737
+ #
4738
+ # @note When making an API call, you may pass MetadataCatalogConfig
4739
+ # data as a hash:
4740
+ #
4741
+ # {
4742
+ # glue_data_catalog: {
4743
+ # role_arn: "GlueDataCatalogIAMRole", # required
4744
+ # database_name: "GlueDataCatalogDatabaseName", # required
4745
+ # table_prefix: "GlueDataCatalogTablePrefix", # required
4746
+ # },
4747
+ # }
4748
+ #
4749
+ # @!attribute [rw] glue_data_catalog
4750
+ # Specifies the configuration that Amazon AppFlow uses when it
4751
+ # catalogs your data with the Glue Data Catalog.
4752
+ # @return [Types::GlueDataCatalogConfig]
4753
+ #
4754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/MetadataCatalogConfig AWS API Documentation
4755
+ #
4756
+ class MetadataCatalogConfig < Struct.new(
4757
+ :glue_data_catalog)
4758
+ SENSITIVE = []
4759
+ include Aws::Structure
4760
+ end
4761
+
4762
+ # Describes the metadata catalog, metadata table, and data partitions
4763
+ # that Amazon AppFlow used for the associated flow run.
4764
+ #
4765
+ # @!attribute [rw] catalog_type
4766
+ # The type of metadata catalog that Amazon AppFlow used for the
4767
+ # associated flow run. This parameter returns the following value:
4768
+ #
4769
+ # GLUE
4770
+ #
4771
+ # : The metadata catalog is provided by the Glue Data Catalog. Glue
4772
+ # includes the Glue Data Catalog as a component.
4773
+ # @return [String]
4774
+ #
4775
+ # @!attribute [rw] table_name
4776
+ # The name of the table that stores the metadata for the associated
4777
+ # flow run. The table stores metadata that represents the data that
4778
+ # the flow transferred. Amazon AppFlow stores the table in the
4779
+ # metadata catalog.
4780
+ # @return [String]
4781
+ #
4782
+ # @!attribute [rw] table_registration_output
4783
+ # Describes the status of the attempt from Amazon AppFlow to register
4784
+ # the metadata table with the metadata catalog. Amazon AppFlow creates
4785
+ # or updates this table for the associated flow run.
4786
+ # @return [Types::RegistrationOutput]
4787
+ #
4788
+ # @!attribute [rw] partition_registration_output
4789
+ # Describes the status of the attempt from Amazon AppFlow to register
4790
+ # the data partitions with the metadata catalog. The data partitions
4791
+ # organize the flow output into a hierarchical path, such as a folder
4792
+ # path in an S3 bucket. Amazon AppFlow creates the partitions (if they
4793
+ # don't already exist) based on your flow configuration.
4794
+ # @return [Types::RegistrationOutput]
4795
+ #
4796
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/MetadataCatalogDetail AWS API Documentation
4797
+ #
4798
+ class MetadataCatalogDetail < Struct.new(
4799
+ :catalog_type,
4800
+ :table_name,
4801
+ :table_registration_output,
4802
+ :partition_registration_output)
4803
+ SENSITIVE = []
4804
+ include Aws::Structure
4805
+ end
4806
+
4603
4807
  # The OAuth 2.0 credentials required for OAuth 2.0 authentication.
4604
4808
  #
4605
4809
  # @note When making an API call, you may pass OAuth2Credentials
@@ -4857,9 +5061,8 @@ module Aws::Appflow
4857
5061
  include Aws::Structure
4858
5062
  end
4859
5063
 
4860
- # Determines the prefix that Amazon AppFlow applies to the destination
4861
- # folder name. You can name your destination folders according to the
4862
- # flow frequency and date.
5064
+ # Specifies elements that Amazon AppFlow includes in the file and folder
5065
+ # names in the flow destination.
4863
5066
  #
4864
5067
  # @note When making an API call, you may pass PrefixConfig
4865
5068
  # data as a hash:
@@ -4867,6 +5070,7 @@ module Aws::Appflow
4867
5070
  # {
4868
5071
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
4869
5072
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
5073
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
4870
5074
  # }
4871
5075
  #
4872
5076
  # @!attribute [rw] prefix_type
@@ -4875,14 +5079,37 @@ module Aws::Appflow
4875
5079
  # @return [String]
4876
5080
  #
4877
5081
  # @!attribute [rw] prefix_format
4878
- # Determines the level of granularity that's included in the prefix.
5082
+ # Determines the level of granularity for the date and time that's
5083
+ # included in the prefix.
4879
5084
  # @return [String]
4880
5085
  #
5086
+ # @!attribute [rw] path_prefix_hierarchy
5087
+ # Specifies whether the destination file path includes either or both
5088
+ # of the following elements:
5089
+ #
5090
+ # EXECUTION\_ID
5091
+ #
5092
+ # : The ID that Amazon AppFlow assigns to the flow run.
5093
+ #
5094
+ # SCHEMA\_VERSION
5095
+ #
5096
+ # : The version number of your data schema. Amazon AppFlow assigns
5097
+ # this version number. The version number increases by one when you
5098
+ # change any of the following settings in your flow configuration:
5099
+ #
5100
+ # * Source-to-destination field mappings
5101
+ #
5102
+ # * Field data types
5103
+ #
5104
+ # * Partition keys
5105
+ # @return [Array<String>]
5106
+ #
4881
5107
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/PrefixConfig AWS API Documentation
4882
5108
  #
4883
5109
  class PrefixConfig < Struct.new(
4884
5110
  :prefix_type,
4885
- :prefix_format)
5111
+ :prefix_format,
5112
+ :path_prefix_hierarchy)
4886
5113
  SENSITIVE = []
4887
5114
  include Aws::Structure
4888
5115
  end
@@ -5111,6 +5338,41 @@ module Aws::Appflow
5111
5338
  include Aws::Structure
5112
5339
  end
5113
5340
 
5341
+ # Describes the status of an attempt from Amazon AppFlow to register a
5342
+ # resource.
5343
+ #
5344
+ # When you run a flow that you've configured to use a metadata catalog,
5345
+ # Amazon AppFlow registers a metadata table and data partitions with
5346
+ # that catalog. This operation provides the status of that registration
5347
+ # attempt. The operation also indicates how many related resources
5348
+ # Amazon AppFlow created or updated.
5349
+ #
5350
+ # @!attribute [rw] message
5351
+ # Explains the status of the registration attempt from Amazon AppFlow.
5352
+ # If the attempt fails, the message explains why.
5353
+ # @return [String]
5354
+ #
5355
+ # @!attribute [rw] result
5356
+ # Indicates the number of resources that Amazon AppFlow created or
5357
+ # updated. Possible resources include metadata tables and data
5358
+ # partitions.
5359
+ # @return [String]
5360
+ #
5361
+ # @!attribute [rw] status
5362
+ # Indicates the status of the registration attempt from Amazon
5363
+ # AppFlow.
5364
+ # @return [String]
5365
+ #
5366
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/RegistrationOutput AWS API Documentation
5367
+ #
5368
+ class RegistrationOutput < Struct.new(
5369
+ :message,
5370
+ :result,
5371
+ :status)
5372
+ SENSITIVE = []
5373
+ include Aws::Structure
5374
+ end
5375
+
5114
5376
  # The resource specified in the request (such as the source or
5115
5377
  # destination connector profile) is not found.
5116
5378
  #
@@ -5139,9 +5401,11 @@ module Aws::Appflow
5139
5401
  # prefix_config: {
5140
5402
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
5141
5403
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
5404
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
5142
5405
  # },
5143
5406
  # aggregation_config: {
5144
5407
  # aggregation_type: "None", # accepts None, SingleFile
5408
+ # target_file_size: 1,
5145
5409
  # },
5146
5410
  # preserve_source_data_typing: false,
5147
5411
  # },
@@ -5211,9 +5475,11 @@ module Aws::Appflow
5211
5475
  # prefix_config: {
5212
5476
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
5213
5477
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
5478
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
5214
5479
  # },
5215
5480
  # aggregation_config: {
5216
5481
  # aggregation_type: "None", # accepts None, SingleFile
5482
+ # target_file_size: 1,
5217
5483
  # },
5218
5484
  # preserve_source_data_typing: false,
5219
5485
  # }
@@ -5760,7 +6026,7 @@ module Aws::Appflow
5760
6026
  # option, you ensure that your flow writes consistent output, but
5761
6027
  # you decrease performance for large data transfers that are better
5762
6028
  # 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
6029
+ # transfer a vary large set of data, it might fail wituh a timed out
5764
6030
  # error.
5765
6031
  # @return [String]
5766
6032
  #
@@ -6755,7 +7021,7 @@ module Aws::Appflow
6755
7021
  # custom_connector: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, CONTAINS, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
6756
7022
  # },
6757
7023
  # destination_field: "DestinationField",
6758
- # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate
7024
+ # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate, Partition
6759
7025
  # task_properties: {
6760
7026
  # "VALUE" => "Property",
6761
7027
  # },
@@ -7283,6 +7549,56 @@ module Aws::Appflow
7283
7549
  include Aws::Structure
7284
7550
  end
7285
7551
 
7552
+ # @note When making an API call, you may pass UpdateConnectorRegistrationRequest
7553
+ # data as a hash:
7554
+ #
7555
+ # {
7556
+ # connector_label: "ConnectorLabel", # required
7557
+ # description: "Description",
7558
+ # connector_provisioning_config: {
7559
+ # lambda: {
7560
+ # lambda_arn: "ARN", # required
7561
+ # },
7562
+ # },
7563
+ # }
7564
+ #
7565
+ # @!attribute [rw] connector_label
7566
+ # The name of the connector. The name is unique for each connector
7567
+ # registration in your AWS account.
7568
+ # @return [String]
7569
+ #
7570
+ # @!attribute [rw] description
7571
+ # A description about the update that you're applying to the
7572
+ # connector.
7573
+ # @return [String]
7574
+ #
7575
+ # @!attribute [rw] connector_provisioning_config
7576
+ # Contains information about the configuration of the connector being
7577
+ # registered.
7578
+ # @return [Types::ConnectorProvisioningConfig]
7579
+ #
7580
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationRequest AWS API Documentation
7581
+ #
7582
+ class UpdateConnectorRegistrationRequest < Struct.new(
7583
+ :connector_label,
7584
+ :description,
7585
+ :connector_provisioning_config)
7586
+ SENSITIVE = []
7587
+ include Aws::Structure
7588
+ end
7589
+
7590
+ # @!attribute [rw] connector_arn
7591
+ # The ARN of the connector being updated.
7592
+ # @return [String]
7593
+ #
7594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationResponse AWS API Documentation
7595
+ #
7596
+ class UpdateConnectorRegistrationResponse < Struct.new(
7597
+ :connector_arn)
7598
+ SENSITIVE = []
7599
+ include Aws::Structure
7600
+ end
7601
+
7286
7602
  # @note When making an API call, you may pass UpdateFlowRequest
7287
7603
  # data as a hash:
7288
7604
  #
@@ -7400,9 +7716,11 @@ module Aws::Appflow
7400
7716
  # prefix_config: {
7401
7717
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
7402
7718
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
7719
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
7403
7720
  # },
7404
7721
  # aggregation_config: {
7405
7722
  # aggregation_type: "None", # accepts None, SingleFile
7723
+ # target_file_size: 1,
7406
7724
  # },
7407
7725
  # preserve_source_data_typing: false,
7408
7726
  # },
@@ -7446,9 +7764,11 @@ module Aws::Appflow
7446
7764
  # prefix_config: { # required
7447
7765
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
7448
7766
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
7767
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
7449
7768
  # },
7450
7769
  # aggregation_config: {
7451
7770
  # aggregation_type: "None", # accepts None, SingleFile
7771
+ # target_file_size: 1,
7452
7772
  # },
7453
7773
  # },
7454
7774
  # },
@@ -7534,12 +7854,19 @@ module Aws::Appflow
7534
7854
  # custom_connector: "PROJECTION", # accepts PROJECTION, LESS_THAN, GREATER_THAN, CONTAINS, BETWEEN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN_OR_EQUAL_TO, EQUAL_TO, NOT_EQUAL_TO, ADDITION, MULTIPLICATION, DIVISION, SUBTRACTION, MASK_ALL, MASK_FIRST_N, MASK_LAST_N, VALIDATE_NON_NULL, VALIDATE_NON_ZERO, VALIDATE_NON_NEGATIVE, VALIDATE_NUMERIC, NO_OP
7535
7855
  # },
7536
7856
  # destination_field: "DestinationField",
7537
- # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate
7857
+ # task_type: "Arithmetic", # required, accepts Arithmetic, Filter, Map, Map_all, Mask, Merge, Passthrough, Truncate, Validate, Partition
7538
7858
  # task_properties: {
7539
7859
  # "VALUE" => "Property",
7540
7860
  # },
7541
7861
  # },
7542
7862
  # ],
7863
+ # metadata_catalog_config: {
7864
+ # glue_data_catalog: {
7865
+ # role_arn: "GlueDataCatalogIAMRole", # required
7866
+ # database_name: "GlueDataCatalogDatabaseName", # required
7867
+ # table_prefix: "GlueDataCatalogTablePrefix", # required
7868
+ # },
7869
+ # },
7543
7870
  # }
7544
7871
  #
7545
7872
  # @!attribute [rw] flow_name
@@ -7570,6 +7897,13 @@ module Aws::Appflow
7570
7897
  # data in the flow run.
7571
7898
  # @return [Array<Types::Task>]
7572
7899
  #
7900
+ # @!attribute [rw] metadata_catalog_config
7901
+ # Specifies the configuration that Amazon AppFlow uses when it
7902
+ # catalogs the data that's transferred by the associated flow. When
7903
+ # Amazon AppFlow catalogs the data from a flow, it stores metadata in
7904
+ # a data catalog.
7905
+ # @return [Types::MetadataCatalogConfig]
7906
+ #
7573
7907
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlowRequest AWS API Documentation
7574
7908
  #
7575
7909
  class UpdateFlowRequest < Struct.new(
@@ -7578,7 +7912,8 @@ module Aws::Appflow
7578
7912
  :trigger_config,
7579
7913
  :source_flow_config,
7580
7914
  :destination_flow_config_list,
7581
- :tasks)
7915
+ :tasks,
7916
+ :metadata_catalog_config)
7582
7917
  SENSITIVE = []
7583
7918
  include Aws::Structure
7584
7919
  end
@@ -7609,9 +7944,11 @@ module Aws::Appflow
7609
7944
  # prefix_config: { # required
7610
7945
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
7611
7946
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
7947
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
7612
7948
  # },
7613
7949
  # aggregation_config: {
7614
7950
  # aggregation_type: "None", # accepts None, SingleFile
7951
+ # target_file_size: 1,
7615
7952
  # },
7616
7953
  # },
7617
7954
  # }
@@ -7658,9 +7995,11 @@ module Aws::Appflow
7658
7995
  # prefix_config: { # required
7659
7996
  # prefix_type: "FILENAME", # accepts FILENAME, PATH, PATH_AND_FILENAME
7660
7997
  # prefix_format: "YEAR", # accepts YEAR, MONTH, DAY, HOUR, MINUTE
7998
+ # path_prefix_hierarchy: ["EXECUTION_ID"], # accepts EXECUTION_ID, SCHEMA_VERSION
7661
7999
  # },
7662
8000
  # aggregation_config: {
7663
8001
  # aggregation_type: "None", # accepts None, SingleFile
8002
+ # target_file_size: 1,
7664
8003
  # },
7665
8004
  # }
7666
8005
  #
@@ -7670,9 +8009,8 @@ module Aws::Appflow
7670
8009
  # @return [String]
7671
8010
  #
7672
8011
  # @!attribute [rw] prefix_config
7673
- # Determines the prefix that Amazon AppFlow applies to the destination
7674
- # folder name. You can name your destination folders according to the
7675
- # flow frequency and date.
8012
+ # Specifies elements that Amazon AppFlow includes in the file and
8013
+ # folder names in the flow destination.
7676
8014
  # @return [Types::PrefixConfig]
7677
8015
  #
7678
8016
  # @!attribute [rw] aggregation_config
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-appflow/customizations'
52
52
  # @!group service
53
53
  module Aws::Appflow
54
54
 
55
- GEM_VERSION = '1.29.0'
55
+ GEM_VERSION = '1.31.0'
56
56
 
57
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.29.0
4
+ version: 1.31.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-10-25 00:00:00.000000000 Z
11
+ date: 2022-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core