aws-sdk-appflow 1.39.0 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/CHANGELOG.md +10 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-appflow/client.rb +80 -8
 - data/lib/aws-sdk-appflow/client_api.rb +25 -0
 - 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 +35 -0
 - data/lib/aws-sdk-appflow.rb +2 -2
 - metadata +4 -4
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 4a6752dd97f7c54135fe03defb4ad7a6cafcab80d48a4311c7e96497d47f316e
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 61aa88f2038ef8fcdb9d73fb07277c78d7a9ffb35bbe45d348fd5dc8989f70c1
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: f3b4d585fda2e683bc6378f1bdf319127b68a21c7cd66160a5c51a86111ef694f3b779edf0cf482e85785821dbc8764b4456120cf3ca15fa899931883d9fee6c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: fa9f602e2504eac0c1bd94d64b00680521ef06c3c647609ae759cdc552b215a6873471cd72aa0bba2e94730aed50c3c38c2af2618ab3a41ceb25c589b487b118
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,16 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.41.0 (2023-05-31)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.40.0 (2023-05-02)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - This release adds new API to cancel flow executions.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       4 
14 
     | 
    
         
             
            1.39.0 (2023-04-28)
         
     | 
| 
       5 
15 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
16 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.41.0
         
     | 
| 
         @@ -275,6 +275,11 @@ module Aws::Appflow 
     | 
|
| 
       275 
275 
     | 
    
         
             
                #       in the future.
         
     | 
| 
       276 
276 
     | 
    
         
             
                #
         
     | 
| 
       277 
277 
     | 
    
         
             
                #
         
     | 
| 
      
 278 
     | 
    
         
            +
                #   @option options [String] :sdk_ua_app_id
         
     | 
| 
      
 279 
     | 
    
         
            +
                #     A unique and opaque application ID that is appended to the
         
     | 
| 
      
 280 
     | 
    
         
            +
                #     User-Agent header as app/<sdk_ua_app_id>. It should have a
         
     | 
| 
      
 281 
     | 
    
         
            +
                #     maximum length of 50.
         
     | 
| 
      
 282 
     | 
    
         
            +
                #
         
     | 
| 
       278 
283 
     | 
    
         
             
                #   @option options [String] :secret_access_key
         
     | 
| 
       279 
284 
     | 
    
         
             
                #
         
     | 
| 
       280 
285 
     | 
    
         
             
                #   @option options [String] :session_token
         
     | 
| 
         @@ -368,6 +373,73 @@ module Aws::Appflow 
     | 
|
| 
       368 
373 
     | 
    
         | 
| 
       369 
374 
     | 
    
         
             
                # @!group API Operations
         
     | 
| 
       370 
375 
     | 
    
         | 
| 
      
 376 
     | 
    
         
            +
                # Cancels active runs for a flow.
         
     | 
| 
      
 377 
     | 
    
         
            +
                #
         
     | 
| 
      
 378 
     | 
    
         
            +
                # You can cancel all of the active runs for a flow, or you can cancel
         
     | 
| 
      
 379 
     | 
    
         
            +
                # specific runs by providing their IDs.
         
     | 
| 
      
 380 
     | 
    
         
            +
                #
         
     | 
| 
      
 381 
     | 
    
         
            +
                # You can cancel a flow run only when the run is in progress. You can't
         
     | 
| 
      
 382 
     | 
    
         
            +
                # cancel a run that has already completed or failed. You also can't
         
     | 
| 
      
 383 
     | 
    
         
            +
                # cancel a run that's scheduled to occur but hasn't started yet. To
         
     | 
| 
      
 384 
     | 
    
         
            +
                # prevent a scheduled run, you can deactivate the flow with the
         
     | 
| 
      
 385 
     | 
    
         
            +
                # `StopFlow` action.
         
     | 
| 
      
 386 
     | 
    
         
            +
                #
         
     | 
| 
      
 387 
     | 
    
         
            +
                # You cannot resume a run after you cancel it.
         
     | 
| 
      
 388 
     | 
    
         
            +
                #
         
     | 
| 
      
 389 
     | 
    
         
            +
                # When you send your request, the status for each run becomes
         
     | 
| 
      
 390 
     | 
    
         
            +
                # `CancelStarted`. When the cancellation completes, the status becomes
         
     | 
| 
      
 391 
     | 
    
         
            +
                # `Canceled`.
         
     | 
| 
      
 392 
     | 
    
         
            +
                #
         
     | 
| 
      
 393 
     | 
    
         
            +
                # <note markdown="1"> When you cancel a run, you still incur charges for any data that the
         
     | 
| 
      
 394 
     | 
    
         
            +
                # run already processed before the cancellation. If the run had already
         
     | 
| 
      
 395 
     | 
    
         
            +
                # written some data to the flow destination, then that data remains in
         
     | 
| 
      
 396 
     | 
    
         
            +
                # the destination. If you configured the flow to use a batch API (such
         
     | 
| 
      
 397 
     | 
    
         
            +
                # as the Salesforce Bulk API 2.0), then the run will finish reading or
         
     | 
| 
      
 398 
     | 
    
         
            +
                # writing its entire batch of data after the cancellation. For these
         
     | 
| 
      
 399 
     | 
    
         
            +
                # operations, the data processing charges for Amazon AppFlow apply. For
         
     | 
| 
      
 400 
     | 
    
         
            +
                # the pricing information, see [Amazon AppFlow pricing][1].
         
     | 
| 
      
 401 
     | 
    
         
            +
                #
         
     | 
| 
      
 402 
     | 
    
         
            +
                #  </note>
         
     | 
| 
      
 403 
     | 
    
         
            +
                #
         
     | 
| 
      
 404 
     | 
    
         
            +
                #
         
     | 
| 
      
 405 
     | 
    
         
            +
                #
         
     | 
| 
      
 406 
     | 
    
         
            +
                # [1]: http://aws.amazon.com/appflow/pricing/
         
     | 
| 
      
 407 
     | 
    
         
            +
                #
         
     | 
| 
      
 408 
     | 
    
         
            +
                # @option params [required, String] :flow_name
         
     | 
| 
      
 409 
     | 
    
         
            +
                #   The name of a flow with active runs that you want to cancel.
         
     | 
| 
      
 410 
     | 
    
         
            +
                #
         
     | 
| 
      
 411 
     | 
    
         
            +
                # @option params [Array<String>] :execution_ids
         
     | 
| 
      
 412 
     | 
    
         
            +
                #   The ID of each active run to cancel. These runs must belong to the
         
     | 
| 
      
 413 
     | 
    
         
            +
                #   flow you specify in your request.
         
     | 
| 
      
 414 
     | 
    
         
            +
                #
         
     | 
| 
      
 415 
     | 
    
         
            +
                #   If you omit this parameter, your request ends all active runs that
         
     | 
| 
      
 416 
     | 
    
         
            +
                #   belong to the flow.
         
     | 
| 
      
 417 
     | 
    
         
            +
                #
         
     | 
| 
      
 418 
     | 
    
         
            +
                # @return [Types::CancelFlowExecutionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
         
     | 
| 
      
 419 
     | 
    
         
            +
                #
         
     | 
| 
      
 420 
     | 
    
         
            +
                #   * {Types::CancelFlowExecutionsResponse#invalid_executions #invalid_executions} => Array<String>
         
     | 
| 
      
 421 
     | 
    
         
            +
                #
         
     | 
| 
      
 422 
     | 
    
         
            +
                # @example Request syntax with placeholder values
         
     | 
| 
      
 423 
     | 
    
         
            +
                #
         
     | 
| 
      
 424 
     | 
    
         
            +
                #   resp = client.cancel_flow_executions({
         
     | 
| 
      
 425 
     | 
    
         
            +
                #     flow_name: "FlowName", # required
         
     | 
| 
      
 426 
     | 
    
         
            +
                #     execution_ids: ["ExecutionId"],
         
     | 
| 
      
 427 
     | 
    
         
            +
                #   })
         
     | 
| 
      
 428 
     | 
    
         
            +
                #
         
     | 
| 
      
 429 
     | 
    
         
            +
                # @example Response structure
         
     | 
| 
      
 430 
     | 
    
         
            +
                #
         
     | 
| 
      
 431 
     | 
    
         
            +
                #   resp.invalid_executions #=> Array
         
     | 
| 
      
 432 
     | 
    
         
            +
                #   resp.invalid_executions[0] #=> String
         
     | 
| 
      
 433 
     | 
    
         
            +
                #
         
     | 
| 
      
 434 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CancelFlowExecutions AWS API Documentation
         
     | 
| 
      
 435 
     | 
    
         
            +
                #
         
     | 
| 
      
 436 
     | 
    
         
            +
                # @overload cancel_flow_executions(params = {})
         
     | 
| 
      
 437 
     | 
    
         
            +
                # @param [Hash] params ({})
         
     | 
| 
      
 438 
     | 
    
         
            +
                def cancel_flow_executions(params = {}, options = {})
         
     | 
| 
      
 439 
     | 
    
         
            +
                  req = build_request(:cancel_flow_executions, params)
         
     | 
| 
      
 440 
     | 
    
         
            +
                  req.send_request(options)
         
     | 
| 
      
 441 
     | 
    
         
            +
                end
         
     | 
| 
      
 442 
     | 
    
         
            +
             
     | 
| 
       371 
443 
     | 
    
         
             
                # Creates a new connector profile associated with your Amazon Web
         
     | 
| 
       372 
444 
     | 
    
         
             
                # Services account. There is a soft quota of 100 connector profiles per
         
     | 
| 
       373 
445 
     | 
    
         
             
                # Amazon Web Services account. If you need more connector profiles than
         
     | 
| 
         @@ -1728,7 +1800,7 @@ module Aws::Appflow 
     | 
|
| 
       1728 
1800 
     | 
    
         
             
                #   resp.destination_flow_config_list[0].destination_connector_properties.sapo_data.write_operation_type #=> String, one of "INSERT", "UPSERT", "UPDATE", "DELETE"
         
     | 
| 
       1729 
1801 
     | 
    
         
             
                #   resp.last_run_execution_details.most_recent_execution_message #=> String
         
     | 
| 
       1730 
1802 
     | 
    
         
             
                #   resp.last_run_execution_details.most_recent_execution_time #=> Time
         
     | 
| 
       1731 
     | 
    
         
            -
                #   resp.last_run_execution_details.most_recent_execution_status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 1803 
     | 
    
         
            +
                #   resp.last_run_execution_details.most_recent_execution_status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       1732 
1804 
     | 
    
         
             
                #   resp.trigger_config.trigger_type #=> String, one of "Scheduled", "Event", "OnDemand"
         
     | 
| 
       1733 
1805 
     | 
    
         
             
                #   resp.trigger_config.trigger_properties.scheduled.schedule_expression #=> String
         
     | 
| 
       1734 
1806 
     | 
    
         
             
                #   resp.trigger_config.trigger_properties.scheduled.data_pull_mode #=> String, one of "Incremental", "Complete"
         
     | 
| 
         @@ -1776,10 +1848,10 @@ module Aws::Appflow 
     | 
|
| 
       1776 
1848 
     | 
    
         
             
                #   resp.last_run_metadata_catalog_details[0].table_name #=> String
         
     | 
| 
       1777 
1849 
     | 
    
         
             
                #   resp.last_run_metadata_catalog_details[0].table_registration_output.message #=> String
         
     | 
| 
       1778 
1850 
     | 
    
         
             
                #   resp.last_run_metadata_catalog_details[0].table_registration_output.result #=> String
         
     | 
| 
       1779 
     | 
    
         
            -
                #   resp.last_run_metadata_catalog_details[0].table_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 1851 
     | 
    
         
            +
                #   resp.last_run_metadata_catalog_details[0].table_registration_output.status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       1780 
1852 
     | 
    
         
             
                #   resp.last_run_metadata_catalog_details[0].partition_registration_output.message #=> String
         
     | 
| 
       1781 
1853 
     | 
    
         
             
                #   resp.last_run_metadata_catalog_details[0].partition_registration_output.result #=> String
         
     | 
| 
       1782 
     | 
    
         
            -
                #   resp.last_run_metadata_catalog_details[0].partition_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 1854 
     | 
    
         
            +
                #   resp.last_run_metadata_catalog_details[0].partition_registration_output.status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       1783 
1855 
     | 
    
         
             
                #   resp.schema_version #=> Integer
         
     | 
| 
       1784 
1856 
     | 
    
         
             
                #
         
     | 
| 
       1785 
1857 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlow AWS API Documentation
         
     | 
| 
         @@ -1824,7 +1896,7 @@ module Aws::Appflow 
     | 
|
| 
       1824 
1896 
     | 
    
         
             
                #
         
     | 
| 
       1825 
1897 
     | 
    
         
             
                #   resp.flow_executions #=> Array
         
     | 
| 
       1826 
1898 
     | 
    
         
             
                #   resp.flow_executions[0].execution_id #=> String
         
     | 
| 
       1827 
     | 
    
         
            -
                #   resp.flow_executions[0].execution_status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 1899 
     | 
    
         
            +
                #   resp.flow_executions[0].execution_status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       1828 
1900 
     | 
    
         
             
                #   resp.flow_executions[0].execution_result.error_info.put_failures_count #=> Integer
         
     | 
| 
       1829 
1901 
     | 
    
         
             
                #   resp.flow_executions[0].execution_result.error_info.execution_message #=> String
         
     | 
| 
       1830 
1902 
     | 
    
         
             
                #   resp.flow_executions[0].execution_result.bytes_processed #=> Integer
         
     | 
| 
         @@ -1839,10 +1911,10 @@ module Aws::Appflow 
     | 
|
| 
       1839 
1911 
     | 
    
         
             
                #   resp.flow_executions[0].metadata_catalog_details[0].table_name #=> String
         
     | 
| 
       1840 
1912 
     | 
    
         
             
                #   resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.message #=> String
         
     | 
| 
       1841 
1913 
     | 
    
         
             
                #   resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.result #=> String
         
     | 
| 
       1842 
     | 
    
         
            -
                #   resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 1914 
     | 
    
         
            +
                #   resp.flow_executions[0].metadata_catalog_details[0].table_registration_output.status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       1843 
1915 
     | 
    
         
             
                #   resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.message #=> String
         
     | 
| 
       1844 
1916 
     | 
    
         
             
                #   resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.result #=> String
         
     | 
| 
       1845 
     | 
    
         
            -
                #   resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 1917 
     | 
    
         
            +
                #   resp.flow_executions[0].metadata_catalog_details[0].partition_registration_output.status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       1846 
1918 
     | 
    
         
             
                #   resp.next_token #=> String
         
     | 
| 
       1847 
1919 
     | 
    
         
             
                #
         
     | 
| 
       1848 
1920 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/DescribeFlowExecutionRecords AWS API Documentation
         
     | 
| 
         @@ -2016,7 +2088,7 @@ module Aws::Appflow 
     | 
|
| 
       2016 
2088 
     | 
    
         
             
                #   resp.flows[0].tags["TagKey"] #=> String
         
     | 
| 
       2017 
2089 
     | 
    
         
             
                #   resp.flows[0].last_run_execution_details.most_recent_execution_message #=> String
         
     | 
| 
       2018 
2090 
     | 
    
         
             
                #   resp.flows[0].last_run_execution_details.most_recent_execution_time #=> Time
         
     | 
| 
       2019 
     | 
    
         
            -
                #   resp.flows[0].last_run_execution_details.most_recent_execution_status #=> String, one of "InProgress", "Successful", "Error"
         
     | 
| 
      
 2091 
     | 
    
         
            +
                #   resp.flows[0].last_run_execution_details.most_recent_execution_status #=> String, one of "InProgress", "Successful", "Error", "CancelStarted", "Canceled"
         
     | 
| 
       2020 
2092 
     | 
    
         
             
                #   resp.next_token #=> String
         
     | 
| 
       2021 
2093 
     | 
    
         
             
                #
         
     | 
| 
       2022 
2094 
     | 
    
         
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ListFlows AWS API Documentation
         
     | 
| 
         @@ -3028,7 +3100,7 @@ module Aws::Appflow 
     | 
|
| 
       3028 
3100 
     | 
    
         
             
                    params: params,
         
     | 
| 
       3029 
3101 
     | 
    
         
             
                    config: config)
         
     | 
| 
       3030 
3102 
     | 
    
         
             
                  context[:gem_name] = 'aws-sdk-appflow'
         
     | 
| 
       3031 
     | 
    
         
            -
                  context[:gem_version] = '1. 
     | 
| 
      
 3103 
     | 
    
         
            +
                  context[:gem_version] = '1.41.0'
         
     | 
| 
       3032 
3104 
     | 
    
         
             
                  Seahorse::Client::Request.new(handlers, context)
         
     | 
| 
       3033 
3105 
     | 
    
         
             
                end
         
     | 
| 
       3034 
3106 
     | 
    
         | 
| 
         @@ -46,6 +46,8 @@ module Aws::Appflow 
     | 
|
| 
       46 
46 
     | 
    
         
             
                BucketName = Shapes::StringShape.new(name: 'BucketName')
         
     | 
| 
       47 
47 
     | 
    
         
             
                BucketPrefix = Shapes::StringShape.new(name: 'BucketPrefix')
         
     | 
| 
       48 
48 
     | 
    
         
             
                BusinessUnitId = Shapes::StringShape.new(name: 'BusinessUnitId')
         
     | 
| 
      
 49 
     | 
    
         
            +
                CancelFlowExecutionsRequest = Shapes::StructureShape.new(name: 'CancelFlowExecutionsRequest')
         
     | 
| 
      
 50 
     | 
    
         
            +
                CancelFlowExecutionsResponse = Shapes::StructureShape.new(name: 'CancelFlowExecutionsResponse')
         
     | 
| 
       49 
51 
     | 
    
         
             
                CatalogType = Shapes::StringShape.new(name: 'CatalogType')
         
     | 
| 
       50 
52 
     | 
    
         
             
                ClientCredentialsArn = Shapes::StringShape.new(name: 'ClientCredentialsArn')
         
     | 
| 
       51 
53 
     | 
    
         
             
                ClientId = Shapes::StringShape.new(name: 'ClientId')
         
     | 
| 
         @@ -166,6 +168,7 @@ module Aws::Appflow 
     | 
|
| 
       166 
168 
     | 
    
         
             
                EventBridgeMetadata = Shapes::StructureShape.new(name: 'EventBridgeMetadata')
         
     | 
| 
       167 
169 
     | 
    
         
             
                ExecutionDetails = Shapes::StructureShape.new(name: 'ExecutionDetails')
         
     | 
| 
       168 
170 
     | 
    
         
             
                ExecutionId = Shapes::StringShape.new(name: 'ExecutionId')
         
     | 
| 
      
 171 
     | 
    
         
            +
                ExecutionIds = Shapes::ListShape.new(name: 'ExecutionIds')
         
     | 
| 
       169 
172 
     | 
    
         
             
                ExecutionMessage = Shapes::StringShape.new(name: 'ExecutionMessage')
         
     | 
| 
       170 
173 
     | 
    
         
             
                ExecutionRecord = Shapes::StructureShape.new(name: 'ExecutionRecord')
         
     | 
| 
       171 
174 
     | 
    
         
             
                ExecutionResult = Shapes::StructureShape.new(name: 'ExecutionResult')
         
     | 
| 
         @@ -460,6 +463,13 @@ module Aws::Appflow 
     | 
|
| 
       460 
463 
     | 
    
         
             
                BasicAuthCredentials.add_member(:password, Shapes::ShapeRef.new(shape: Password, required: true, location_name: "password"))
         
     | 
| 
       461 
464 
     | 
    
         
             
                BasicAuthCredentials.struct_class = Types::BasicAuthCredentials
         
     | 
| 
       462 
465 
     | 
    
         | 
| 
      
 466 
     | 
    
         
            +
                CancelFlowExecutionsRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
         
     | 
| 
      
 467 
     | 
    
         
            +
                CancelFlowExecutionsRequest.add_member(:execution_ids, Shapes::ShapeRef.new(shape: ExecutionIds, location_name: "executionIds"))
         
     | 
| 
      
 468 
     | 
    
         
            +
                CancelFlowExecutionsRequest.struct_class = Types::CancelFlowExecutionsRequest
         
     | 
| 
      
 469 
     | 
    
         
            +
             
     | 
| 
      
 470 
     | 
    
         
            +
                CancelFlowExecutionsResponse.add_member(:invalid_executions, Shapes::ShapeRef.new(shape: ExecutionIds, location_name: "invalidExecutions"))
         
     | 
| 
      
 471 
     | 
    
         
            +
                CancelFlowExecutionsResponse.struct_class = Types::CancelFlowExecutionsResponse
         
     | 
| 
      
 472 
     | 
    
         
            +
             
     | 
| 
       463 
473 
     | 
    
         
             
                ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
         
     | 
| 
       464 
474 
     | 
    
         
             
                ConflictException.struct_class = Types::ConflictException
         
     | 
| 
       465 
475 
     | 
    
         | 
| 
         @@ -899,6 +909,8 @@ module Aws::Appflow 
     | 
|
| 
       899 
909 
     | 
    
         
             
                ExecutionDetails.add_member(:most_recent_execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "mostRecentExecutionStatus"))
         
     | 
| 
       900 
910 
     | 
    
         
             
                ExecutionDetails.struct_class = Types::ExecutionDetails
         
     | 
| 
       901 
911 
     | 
    
         | 
| 
      
 912 
     | 
    
         
            +
                ExecutionIds.member = Shapes::ShapeRef.new(shape: ExecutionId)
         
     | 
| 
      
 913 
     | 
    
         
            +
             
     | 
| 
       902 
914 
     | 
    
         
             
                ExecutionRecord.add_member(:execution_id, Shapes::ShapeRef.new(shape: ExecutionId, location_name: "executionId"))
         
     | 
| 
       903 
915 
     | 
    
         
             
                ExecutionRecord.add_member(:execution_status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "executionStatus"))
         
     | 
| 
       904 
916 
     | 
    
         
             
                ExecutionRecord.add_member(:execution_result, Shapes::ShapeRef.new(shape: ExecutionResult, location_name: "executionResult"))
         
     | 
| 
         @@ -1578,6 +1590,19 @@ module Aws::Appflow 
     | 
|
| 
       1578 
1590 
     | 
    
         
             
                    "uid" => "appflow-2020-08-23",
         
     | 
| 
       1579 
1591 
     | 
    
         
             
                  }
         
     | 
| 
       1580 
1592 
     | 
    
         | 
| 
      
 1593 
     | 
    
         
            +
                  api.add_operation(:cancel_flow_executions, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
      
 1594 
     | 
    
         
            +
                    o.name = "CancelFlowExecutions"
         
     | 
| 
      
 1595 
     | 
    
         
            +
                    o.http_method = "POST"
         
     | 
| 
      
 1596 
     | 
    
         
            +
                    o.http_request_uri = "/cancel-flow-executions"
         
     | 
| 
      
 1597 
     | 
    
         
            +
                    o.input = Shapes::ShapeRef.new(shape: CancelFlowExecutionsRequest)
         
     | 
| 
      
 1598 
     | 
    
         
            +
                    o.output = Shapes::ShapeRef.new(shape: CancelFlowExecutionsResponse)
         
     | 
| 
      
 1599 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ValidationException)
         
     | 
| 
      
 1600 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
         
     | 
| 
      
 1601 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
         
     | 
| 
      
 1602 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
         
     | 
| 
      
 1603 
     | 
    
         
            +
                    o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
         
     | 
| 
      
 1604 
     | 
    
         
            +
                  end)
         
     | 
| 
      
 1605 
     | 
    
         
            +
             
     | 
| 
       1581 
1606 
     | 
    
         
             
                  api.add_operation(:create_connector_profile, Seahorse::Model::Operation.new.tap do |o|
         
     | 
| 
       1582 
1607 
     | 
    
         
             
                    o.name = "CreateConnectorProfile"
         
     | 
| 
       1583 
1608 
     | 
    
         
             
                    o.http_method = "POST"
         
     | 
| 
         @@ -11,6 +11,20 @@ 
     | 
|
| 
       11 
11 
     | 
    
         
             
            module Aws::Appflow
         
     | 
| 
       12 
12 
     | 
    
         
             
              module Endpoints
         
     | 
| 
       13 
13 
     | 
    
         | 
| 
      
 14 
     | 
    
         
            +
                class CancelFlowExecutions
         
     | 
| 
      
 15 
     | 
    
         
            +
                  def self.build(context)
         
     | 
| 
      
 16 
     | 
    
         
            +
                    unless context.config.regional_endpoint
         
     | 
| 
      
 17 
     | 
    
         
            +
                      endpoint = context.config.endpoint.to_s
         
     | 
| 
      
 18 
     | 
    
         
            +
                    end
         
     | 
| 
      
 19 
     | 
    
         
            +
                    Aws::Appflow::EndpointParameters.new(
         
     | 
| 
      
 20 
     | 
    
         
            +
                      region: context.config.region,
         
     | 
| 
      
 21 
     | 
    
         
            +
                      use_dual_stack: context.config.use_dualstack_endpoint,
         
     | 
| 
      
 22 
     | 
    
         
            +
                      use_fips: context.config.use_fips_endpoint,
         
     | 
| 
      
 23 
     | 
    
         
            +
                      endpoint: endpoint,
         
     | 
| 
      
 24 
     | 
    
         
            +
                    )
         
     | 
| 
      
 25 
     | 
    
         
            +
                  end
         
     | 
| 
      
 26 
     | 
    
         
            +
                end
         
     | 
| 
      
 27 
     | 
    
         
            +
             
     | 
| 
       14 
28 
     | 
    
         
             
                class CreateConnectorProfile
         
     | 
| 
       15 
29 
     | 
    
         
             
                  def self.build(context)
         
     | 
| 
       16 
30 
     | 
    
         
             
                    unless context.config.regional_endpoint
         
     | 
| 
         @@ -56,6 +56,8 @@ module Aws::Appflow 
     | 
|
| 
       56 
56 
     | 
    
         | 
| 
       57 
57 
     | 
    
         
             
                    def parameters_for_operation(context)
         
     | 
| 
       58 
58 
     | 
    
         
             
                      case context.operation_name
         
     | 
| 
      
 59 
     | 
    
         
            +
                      when :cancel_flow_executions
         
     | 
| 
      
 60 
     | 
    
         
            +
                        Aws::Appflow::Endpoints::CancelFlowExecutions.build(context)
         
     | 
| 
       59 
61 
     | 
    
         
             
                      when :create_connector_profile
         
     | 
| 
       60 
62 
     | 
    
         
             
                        Aws::Appflow::Endpoints::CreateConnectorProfile.build(context)
         
     | 
| 
       61 
63 
     | 
    
         
             
                      when :create_flow
         
     | 
| 
         @@ -221,6 +221,41 @@ module Aws::Appflow 
     | 
|
| 
       221 
221 
     | 
    
         
             
                  include Aws::Structure
         
     | 
| 
       222 
222 
     | 
    
         
             
                end
         
     | 
| 
       223 
223 
     | 
    
         | 
| 
      
 224 
     | 
    
         
            +
                # @!attribute [rw] flow_name
         
     | 
| 
      
 225 
     | 
    
         
            +
                #   The name of a flow with active runs that you want to cancel.
         
     | 
| 
      
 226 
     | 
    
         
            +
                #   @return [String]
         
     | 
| 
      
 227 
     | 
    
         
            +
                #
         
     | 
| 
      
 228 
     | 
    
         
            +
                # @!attribute [rw] execution_ids
         
     | 
| 
      
 229 
     | 
    
         
            +
                #   The ID of each active run to cancel. These runs must belong to the
         
     | 
| 
      
 230 
     | 
    
         
            +
                #   flow you specify in your request.
         
     | 
| 
      
 231 
     | 
    
         
            +
                #
         
     | 
| 
      
 232 
     | 
    
         
            +
                #   If you omit this parameter, your request ends all active runs that
         
     | 
| 
      
 233 
     | 
    
         
            +
                #   belong to the flow.
         
     | 
| 
      
 234 
     | 
    
         
            +
                #   @return [Array<String>]
         
     | 
| 
      
 235 
     | 
    
         
            +
                #
         
     | 
| 
      
 236 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CancelFlowExecutionsRequest AWS API Documentation
         
     | 
| 
      
 237 
     | 
    
         
            +
                #
         
     | 
| 
      
 238 
     | 
    
         
            +
                class CancelFlowExecutionsRequest < Struct.new(
         
     | 
| 
      
 239 
     | 
    
         
            +
                  :flow_name,
         
     | 
| 
      
 240 
     | 
    
         
            +
                  :execution_ids)
         
     | 
| 
      
 241 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 242 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 243 
     | 
    
         
            +
                end
         
     | 
| 
      
 244 
     | 
    
         
            +
             
     | 
| 
      
 245 
     | 
    
         
            +
                # @!attribute [rw] invalid_executions
         
     | 
| 
      
 246 
     | 
    
         
            +
                #   The IDs of runs that Amazon AppFlow couldn't cancel. These runs
         
     | 
| 
      
 247 
     | 
    
         
            +
                #   might be ineligible for canceling because they haven't started yet
         
     | 
| 
      
 248 
     | 
    
         
            +
                #   or have already completed.
         
     | 
| 
      
 249 
     | 
    
         
            +
                #   @return [Array<String>]
         
     | 
| 
      
 250 
     | 
    
         
            +
                #
         
     | 
| 
      
 251 
     | 
    
         
            +
                # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CancelFlowExecutionsResponse AWS API Documentation
         
     | 
| 
      
 252 
     | 
    
         
            +
                #
         
     | 
| 
      
 253 
     | 
    
         
            +
                class CancelFlowExecutionsResponse < Struct.new(
         
     | 
| 
      
 254 
     | 
    
         
            +
                  :invalid_executions)
         
     | 
| 
      
 255 
     | 
    
         
            +
                  SENSITIVE = []
         
     | 
| 
      
 256 
     | 
    
         
            +
                  include Aws::Structure
         
     | 
| 
      
 257 
     | 
    
         
            +
                end
         
     | 
| 
      
 258 
     | 
    
         
            +
             
     | 
| 
       224 
259 
     | 
    
         
             
                # There was a conflict when processing the request (for example, a flow
         
     | 
| 
       225 
260 
     | 
    
         
             
                # with the given name already exists within the account. Check for
         
     | 
| 
       226 
261 
     | 
    
         
             
                # conflicting resource names and try again.
         
     | 
    
        data/lib/aws-sdk-appflow.rb
    CHANGED
    
    | 
         @@ -32,7 +32,7 @@ require_relative 'aws-sdk-appflow/customizations' 
     | 
|
| 
       32 
32 
     | 
    
         
             
            # structure.
         
     | 
| 
       33 
33 
     | 
    
         
             
            #
         
     | 
| 
       34 
34 
     | 
    
         
             
            #     appflow = Aws::Appflow::Client.new
         
     | 
| 
       35 
     | 
    
         
            -
            #     resp = appflow. 
     | 
| 
      
 35 
     | 
    
         
            +
            #     resp = appflow.cancel_flow_executions(params)
         
     | 
| 
       36 
36 
     | 
    
         
             
            #
         
     | 
| 
       37 
37 
     | 
    
         
             
            # See {Client} for more information.
         
     | 
| 
       38 
38 
     | 
    
         
             
            #
         
     | 
| 
         @@ -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. 
     | 
| 
      
 55 
     | 
    
         
            +
              GEM_VERSION = '1.41.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. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 1.41.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Amazon Web Services
         
     | 
| 
       8 
8 
     | 
    
         
             
            autorequire: 
         
     | 
| 
       9 
9 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       10 
10 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       11 
     | 
    
         
            -
            date: 2023- 
     | 
| 
      
 11 
     | 
    
         
            +
            date: 2023-05-31 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: aws-sdk-core
         
     | 
| 
         @@ -19,7 +19,7 @@ dependencies: 
     | 
|
| 
       19 
19 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       20 
20 
     | 
    
         
             
                - - ">="
         
     | 
| 
       21 
21 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       22 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 22 
     | 
    
         
            +
                    version: 3.174.0
         
     | 
| 
       23 
23 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       24 
24 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       25 
25 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -29,7 +29,7 @@ dependencies: 
     | 
|
| 
       29 
29 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       30 
30 
     | 
    
         
             
                - - ">="
         
     | 
| 
       31 
31 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       32 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 32 
     | 
    
         
            +
                    version: 3.174.0
         
     | 
| 
       33 
33 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       34 
34 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       35 
35 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |