aws-sdk-appflow 1.35.0 → 1.37.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff4ab33236677df5738ceb3294e07da184ab3cdc43755290d57f4496d308cc1a
4
- data.tar.gz: 9659dbd9ef2c630ffc7514e514344d667cbed98768599b87308a8019afad2d1d
3
+ metadata.gz: b00d54084b25f3a2a9e55be2baf47130a79c1a3e9eb64a3f849e5d6db1ca5592
4
+ data.tar.gz: 874faeb6d0015d7e98a694ec168c18c85aeb9cd9e9a16aa522fdaba2e300e59f
5
5
  SHA512:
6
- metadata.gz: fa6b56673c52f3a034a2426c27b253d2429d2130c018407a114ae5896b88ffce175412ed0191401cf449d178a00f8086cf7765ed41d7885da847daa83e071d49
7
- data.tar.gz: 613ca7034c72047f4f667728be5d52c186e654e550b6a0fa85e1e4e03df5968504a241cef1b994ed12f04f81b5c6693758b76236d5f031b6a4296c26080a8bf9
6
+ metadata.gz: 354d3473fe1e46e2ef6548295d898591f67b6ac8e9b1fa3a2680f260e3158a9a15feeca7b10ed971c6af377d3f2d524db4c1a6bad730a129a6222d1d49bdc332
7
+ data.tar.gz: 4c1cb3b794f950b5fa2a289153ba9024aaf138815ae017a5a73593655dfb67b7e1040d4cba4e077af66f199436ad0536fc68d18afb83178b9ef17f97672bcd76
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.37.0 (2023-04-17)
5
+ ------------------
6
+
7
+ * Feature - This release adds a Client Token parameter to the following AppFlow APIs: Create/Update Connector Profile, Create/Update Flow, Start Flow, Register Connector, Update Connector Registration. The Client Token parameter allows idempotent operations for these APIs.
8
+
9
+ 1.36.0 (2023-02-23)
10
+ ------------------
11
+
12
+ * Feature - This release enables the customers to choose whether to use Private Link for Metadata and Authorization call when using a private Salesforce connections
13
+
4
14
  1.35.0 (2023-01-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.35.0
1
+ 1.37.0
@@ -403,6 +403,26 @@ module Aws::Appflow
403
403
  # @option params [required, Types::ConnectorProfileConfig] :connector_profile_config
404
404
  # Defines the connector-specific configuration and credentials.
405
405
  #
406
+ # @option params [String] :client_token
407
+ # The `clientToken` parameter is an idempotency token. It ensures that
408
+ # your `CreateConnectorProfile` request completes only once. You choose
409
+ # the value to pass. For example, if you don't receive a response from
410
+ # your request, you can safely retry the request with the same
411
+ # `clientToken` parameter value.
412
+ #
413
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
414
+ # you are using inserts a value for you. This way, the SDK can safely
415
+ # retry requests multiple times after a network error. You must provide
416
+ # your own value for other use cases.
417
+ #
418
+ # If you specify input parameters that differ from your first request,
419
+ # an error occurs. If you use a different value for `clientToken`,
420
+ # Amazon AppFlow considers it a new call to `CreateConnectorProfile`.
421
+ # The token is active for 8 hours.
422
+ #
423
+ # **A suitable default value is auto-generated.** You should normally
424
+ # not need to pass this option.**
425
+ #
406
426
  # @return [Types::CreateConnectorProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
407
427
  #
408
428
  # * {Types::CreateConnectorProfileResponse#connector_profile_arn #connector_profile_arn} => String
@@ -449,6 +469,7 @@ module Aws::Appflow
449
469
  # salesforce: {
450
470
  # instance_url: "InstanceUrl",
451
471
  # is_sandbox_environment: false,
472
+ # use_private_link_for_metadata_and_authorization: false,
452
473
  # },
453
474
  # service_now: {
454
475
  # instance_url: "InstanceUrl", # required
@@ -654,6 +675,7 @@ module Aws::Appflow
654
675
  # },
655
676
  # },
656
677
  # },
678
+ # client_token: "ClientToken",
657
679
  # })
658
680
  #
659
681
  # @example Response structure
@@ -713,6 +735,26 @@ module Aws::Appflow
713
735
  # AppFlow catalogs the data from a flow, it stores metadata in a data
714
736
  # catalog.
715
737
  #
738
+ # @option params [String] :client_token
739
+ # The `clientToken` parameter is an idempotency token. It ensures that
740
+ # your `CreateFlow` request completes only once. You choose the value to
741
+ # pass. For example, if you don't receive a response from your request,
742
+ # you can safely retry the request with the same `clientToken` parameter
743
+ # value.
744
+ #
745
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
746
+ # you are using inserts a value for you. This way, the SDK can safely
747
+ # retry requests multiple times after a network error. You must provide
748
+ # your own value for other use cases.
749
+ #
750
+ # If you specify input parameters that differ from your first request,
751
+ # an error occurs. If you use a different value for `clientToken`,
752
+ # Amazon AppFlow considers it a new call to `CreateFlow`. The token is
753
+ # active for 8 hours.
754
+ #
755
+ # **A suitable default value is auto-generated.** You should normally
756
+ # not need to pass this option.**
757
+ #
716
758
  # @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
717
759
  #
718
760
  # * {Types::CreateFlowResponse#flow_arn #flow_arn} => String
@@ -993,6 +1035,7 @@ module Aws::Appflow
993
1035
  # table_prefix: "GlueDataCatalogTablePrefix", # required
994
1036
  # },
995
1037
  # },
1038
+ # client_token: "ClientToken",
996
1039
  # })
997
1040
  #
998
1041
  # @example Response structure
@@ -1329,6 +1372,7 @@ module Aws::Appflow
1329
1372
  # resp.connector_profile_details[0].connector_profile_properties.redshift.database_name #=> String
1330
1373
  # resp.connector_profile_details[0].connector_profile_properties.salesforce.instance_url #=> String
1331
1374
  # resp.connector_profile_details[0].connector_profile_properties.salesforce.is_sandbox_environment #=> Boolean
1375
+ # resp.connector_profile_details[0].connector_profile_properties.salesforce.use_private_link_for_metadata_and_authorization #=> Boolean
1332
1376
  # resp.connector_profile_details[0].connector_profile_properties.service_now.instance_url #=> String
1333
1377
  # resp.connector_profile_details[0].connector_profile_properties.slack.instance_url #=> String
1334
1378
  # resp.connector_profile_details[0].connector_profile_properties.snowflake.warehouse #=> String
@@ -2026,6 +2070,26 @@ module Aws::Appflow
2026
2070
  # The provisioning type of the connector. Currently the only supported
2027
2071
  # value is LAMBDA.
2028
2072
  #
2073
+ # @option params [String] :client_token
2074
+ # The `clientToken` parameter is an idempotency token. It ensures that
2075
+ # your `RegisterConnector` request completes only once. You choose the
2076
+ # value to pass. For example, if you don't receive a response from your
2077
+ # request, you can safely retry the request with the same `clientToken`
2078
+ # parameter value.
2079
+ #
2080
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
2081
+ # you are using inserts a value for you. This way, the SDK can safely
2082
+ # retry requests multiple times after a network error. You must provide
2083
+ # your own value for other use cases.
2084
+ #
2085
+ # If you specify input parameters that differ from your first request,
2086
+ # an error occurs. If you use a different value for `clientToken`,
2087
+ # Amazon AppFlow considers it a new call to `RegisterConnector`. The
2088
+ # token is active for 8 hours.
2089
+ #
2090
+ # **A suitable default value is auto-generated.** You should normally
2091
+ # not need to pass this option.**
2092
+ #
2029
2093
  # @return [Types::RegisterConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2030
2094
  #
2031
2095
  # * {Types::RegisterConnectorResponse#connector_arn #connector_arn} => String
@@ -2041,6 +2105,7 @@ module Aws::Appflow
2041
2105
  # lambda_arn: "ARN", # required
2042
2106
  # },
2043
2107
  # },
2108
+ # client_token: "ClientToken",
2044
2109
  # })
2045
2110
  #
2046
2111
  # @example Response structure
@@ -2064,6 +2129,31 @@ module Aws::Appflow
2064
2129
  # The specified name of the flow. Spaces are not allowed. Use
2065
2130
  # underscores (\_) or hyphens (-) only.
2066
2131
  #
2132
+ # @option params [String] :client_token
2133
+ # The `clientToken` parameter is an idempotency token. It ensures that
2134
+ # your `StartFlow` request completes only once. You choose the value to
2135
+ # pass. For example, if you don't receive a response from your request,
2136
+ # you can safely retry the request with the same `clientToken` parameter
2137
+ # value.
2138
+ #
2139
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
2140
+ # you are using inserts a value for you. This way, the SDK can safely
2141
+ # retry requests multiple times after a network error. You must provide
2142
+ # your own value for other use cases.
2143
+ #
2144
+ # If you specify input parameters that differ from your first request,
2145
+ # an error occurs for flows that run on a schedule or based on an event.
2146
+ # However, the error doesn't occur for flows that run on demand. You
2147
+ # set the conditions that initiate your flow for the `triggerConfig`
2148
+ # parameter.
2149
+ #
2150
+ # If you use a different value for `clientToken`, Amazon AppFlow
2151
+ # considers it a new call to `StartFlow`. The token is active for 8
2152
+ # hours.
2153
+ #
2154
+ # **A suitable default value is auto-generated.** You should normally
2155
+ # not need to pass this option.**
2156
+ #
2067
2157
  # @return [Types::StartFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2068
2158
  #
2069
2159
  # * {Types::StartFlowResponse#flow_arn #flow_arn} => String
@@ -2074,6 +2164,7 @@ module Aws::Appflow
2074
2164
  #
2075
2165
  # resp = client.start_flow({
2076
2166
  # flow_name: "FlowName", # required
2167
+ # client_token: "ClientToken",
2077
2168
  # })
2078
2169
  #
2079
2170
  # @example Response structure
@@ -2221,6 +2312,26 @@ module Aws::Appflow
2221
2312
  # @option params [required, Types::ConnectorProfileConfig] :connector_profile_config
2222
2313
  # Defines the connector-specific profile configuration and credentials.
2223
2314
  #
2315
+ # @option params [String] :client_token
2316
+ # The `clientToken` parameter is an idempotency token. It ensures that
2317
+ # your `UpdateConnectorProfile` request completes only once. You choose
2318
+ # the value to pass. For example, if you don't receive a response from
2319
+ # your request, you can safely retry the request with the same
2320
+ # `clientToken` parameter value.
2321
+ #
2322
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
2323
+ # you are using inserts a value for you. This way, the SDK can safely
2324
+ # retry requests multiple times after a network error. You must provide
2325
+ # your own value for other use cases.
2326
+ #
2327
+ # If you specify input parameters that differ from your first request,
2328
+ # an error occurs. If you use a different value for `clientToken`,
2329
+ # Amazon AppFlow considers it a new call to `UpdateConnectorProfile`.
2330
+ # The token is active for 8 hours.
2331
+ #
2332
+ # **A suitable default value is auto-generated.** You should normally
2333
+ # not need to pass this option.**
2334
+ #
2224
2335
  # @return [Types::UpdateConnectorProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2225
2336
  #
2226
2337
  # * {Types::UpdateConnectorProfileResponse#connector_profile_arn #connector_profile_arn} => String
@@ -2264,6 +2375,7 @@ module Aws::Appflow
2264
2375
  # salesforce: {
2265
2376
  # instance_url: "InstanceUrl",
2266
2377
  # is_sandbox_environment: false,
2378
+ # use_private_link_for_metadata_and_authorization: false,
2267
2379
  # },
2268
2380
  # service_now: {
2269
2381
  # instance_url: "InstanceUrl", # required
@@ -2469,6 +2581,7 @@ module Aws::Appflow
2469
2581
  # },
2470
2582
  # },
2471
2583
  # },
2584
+ # client_token: "ClientToken",
2472
2585
  # })
2473
2586
  #
2474
2587
  # @example Response structure
@@ -2503,6 +2616,26 @@ module Aws::Appflow
2503
2616
  # Contains information about the configuration of the connector being
2504
2617
  # registered.
2505
2618
  #
2619
+ # @option params [String] :client_token
2620
+ # The `clientToken` parameter is an idempotency token. It ensures that
2621
+ # your `UpdateConnectorRegistration` request completes only once. You
2622
+ # choose the value to pass. For example, if you don't receive a
2623
+ # response from your request, you can safely retry the request with the
2624
+ # same `clientToken` parameter value.
2625
+ #
2626
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
2627
+ # you are using inserts a value for you. This way, the SDK can safely
2628
+ # retry requests multiple times after a network error. You must provide
2629
+ # your own value for other use cases.
2630
+ #
2631
+ # If you specify input parameters that differ from your first request,
2632
+ # an error occurs. If you use a different value for `clientToken`,
2633
+ # Amazon AppFlow considers it a new call to
2634
+ # `UpdateConnectorRegistration`. The token is active for 8 hours.
2635
+ #
2636
+ # **A suitable default value is auto-generated.** You should normally
2637
+ # not need to pass this option.**
2638
+ #
2506
2639
  # @return [Types::UpdateConnectorRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2507
2640
  #
2508
2641
  # * {Types::UpdateConnectorRegistrationResponse#connector_arn #connector_arn} => String
@@ -2517,6 +2650,7 @@ module Aws::Appflow
2517
2650
  # lambda_arn: "ARN", # required
2518
2651
  # },
2519
2652
  # },
2653
+ # client_token: "ClientToken",
2520
2654
  # })
2521
2655
  #
2522
2656
  # @example Response structure
@@ -2562,6 +2696,26 @@ module Aws::Appflow
2562
2696
  # AppFlow catalogs the data from a flow, it stores metadata in a data
2563
2697
  # catalog.
2564
2698
  #
2699
+ # @option params [String] :client_token
2700
+ # The `clientToken` parameter is an idempotency token. It ensures that
2701
+ # your `UpdateFlow` request completes only once. You choose the value to
2702
+ # pass. For example, if you don't receive a response from your request,
2703
+ # you can safely retry the request with the same `clientToken` parameter
2704
+ # value.
2705
+ #
2706
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
2707
+ # you are using inserts a value for you. This way, the SDK can safely
2708
+ # retry requests multiple times after a network error. You must provide
2709
+ # your own value for other use cases.
2710
+ #
2711
+ # If you specify input parameters that differ from your first request,
2712
+ # an error occurs. If you use a different value for `clientToken`,
2713
+ # Amazon AppFlow considers it a new call to `UpdateFlow`. The token is
2714
+ # active for 8 hours.
2715
+ #
2716
+ # **A suitable default value is auto-generated.** You should normally
2717
+ # not need to pass this option.**
2718
+ #
2565
2719
  # @return [Types::UpdateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2566
2720
  #
2567
2721
  # * {Types::UpdateFlowResponse#flow_status #flow_status} => String
@@ -2837,6 +2991,7 @@ module Aws::Appflow
2837
2991
  # table_prefix: "GlueDataCatalogTablePrefix", # required
2838
2992
  # },
2839
2993
  # },
2994
+ # client_token: "ClientToken",
2840
2995
  # })
2841
2996
  #
2842
2997
  # @example Response structure
@@ -2865,7 +3020,7 @@ module Aws::Appflow
2865
3020
  params: params,
2866
3021
  config: config)
2867
3022
  context[:gem_name] = 'aws-sdk-appflow'
2868
- context[:gem_version] = '1.35.0'
3023
+ context[:gem_version] = '1.37.0'
2869
3024
  Seahorse::Client::Request.new(handlers, context)
2870
3025
  end
2871
3026
 
@@ -51,6 +51,7 @@ module Aws::Appflow
51
51
  ClientId = Shapes::StringShape.new(name: 'ClientId')
52
52
  ClientNumber = Shapes::StringShape.new(name: 'ClientNumber')
53
53
  ClientSecret = Shapes::StringShape.new(name: 'ClientSecret')
54
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
54
55
  ClusterIdentifier = Shapes::StringShape.new(name: 'ClusterIdentifier')
55
56
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
56
57
  ConnectionMode = Shapes::StringShape.new(name: 'ConnectionMode')
@@ -675,6 +676,7 @@ module Aws::Appflow
675
676
  CreateConnectorProfileRequest.add_member(:connector_label, Shapes::ShapeRef.new(shape: ConnectorLabel, location_name: "connectorLabel"))
676
677
  CreateConnectorProfileRequest.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, required: true, location_name: "connectionMode"))
677
678
  CreateConnectorProfileRequest.add_member(:connector_profile_config, Shapes::ShapeRef.new(shape: ConnectorProfileConfig, required: true, location_name: "connectorProfileConfig"))
679
+ CreateConnectorProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
678
680
  CreateConnectorProfileRequest.struct_class = Types::CreateConnectorProfileRequest
679
681
 
680
682
  CreateConnectorProfileResponse.add_member(:connector_profile_arn, Shapes::ShapeRef.new(shape: ConnectorProfileArn, location_name: "connectorProfileArn"))
@@ -689,6 +691,7 @@ module Aws::Appflow
689
691
  CreateFlowRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, required: true, location_name: "tasks"))
690
692
  CreateFlowRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
691
693
  CreateFlowRequest.add_member(:metadata_catalog_config, Shapes::ShapeRef.new(shape: MetadataCatalogConfig, location_name: "metadataCatalogConfig"))
694
+ CreateFlowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
692
695
  CreateFlowRequest.struct_class = Types::CreateFlowRequest
693
696
 
694
697
  CreateFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: FlowArn, location_name: "flowArn"))
@@ -1177,6 +1180,7 @@ module Aws::Appflow
1177
1180
  RegisterConnectorRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1178
1181
  RegisterConnectorRequest.add_member(:connector_provisioning_type, Shapes::ShapeRef.new(shape: ConnectorProvisioningType, location_name: "connectorProvisioningType"))
1179
1182
  RegisterConnectorRequest.add_member(:connector_provisioning_config, Shapes::ShapeRef.new(shape: ConnectorProvisioningConfig, location_name: "connectorProvisioningConfig"))
1183
+ RegisterConnectorRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1180
1184
  RegisterConnectorRequest.struct_class = Types::RegisterConnectorRequest
1181
1185
 
1182
1186
  RegisterConnectorResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
@@ -1244,6 +1248,7 @@ module Aws::Appflow
1244
1248
 
1245
1249
  SalesforceConnectorProfileProperties.add_member(:instance_url, Shapes::ShapeRef.new(shape: InstanceUrl, location_name: "instanceUrl"))
1246
1250
  SalesforceConnectorProfileProperties.add_member(:is_sandbox_environment, Shapes::ShapeRef.new(shape: Boolean, location_name: "isSandboxEnvironment"))
1251
+ SalesforceConnectorProfileProperties.add_member(:use_private_link_for_metadata_and_authorization, Shapes::ShapeRef.new(shape: Boolean, location_name: "usePrivateLinkForMetadataAndAuthorization"))
1247
1252
  SalesforceConnectorProfileProperties.struct_class = Types::SalesforceConnectorProfileProperties
1248
1253
 
1249
1254
  SalesforceDataTransferApiList.member = Shapes::ShapeRef.new(shape: SalesforceDataTransferApi)
@@ -1373,6 +1378,7 @@ module Aws::Appflow
1373
1378
  SourceFlowConfig.struct_class = Types::SourceFlowConfig
1374
1379
 
1375
1380
  StartFlowRequest.add_member(:flow_name, Shapes::ShapeRef.new(shape: FlowName, required: true, location_name: "flowName"))
1381
+ StartFlowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1376
1382
  StartFlowRequest.struct_class = Types::StartFlowRequest
1377
1383
 
1378
1384
  StartFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: FlowArn, location_name: "flowArn"))
@@ -1470,6 +1476,7 @@ module Aws::Appflow
1470
1476
  UpdateConnectorProfileRequest.add_member(:connector_profile_name, Shapes::ShapeRef.new(shape: ConnectorProfileName, required: true, location_name: "connectorProfileName"))
1471
1477
  UpdateConnectorProfileRequest.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, required: true, location_name: "connectionMode"))
1472
1478
  UpdateConnectorProfileRequest.add_member(:connector_profile_config, Shapes::ShapeRef.new(shape: ConnectorProfileConfig, required: true, location_name: "connectorProfileConfig"))
1479
+ UpdateConnectorProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1473
1480
  UpdateConnectorProfileRequest.struct_class = Types::UpdateConnectorProfileRequest
1474
1481
 
1475
1482
  UpdateConnectorProfileResponse.add_member(:connector_profile_arn, Shapes::ShapeRef.new(shape: ConnectorProfileArn, location_name: "connectorProfileArn"))
@@ -1478,6 +1485,7 @@ module Aws::Appflow
1478
1485
  UpdateConnectorRegistrationRequest.add_member(:connector_label, Shapes::ShapeRef.new(shape: ConnectorLabel, required: true, location_name: "connectorLabel"))
1479
1486
  UpdateConnectorRegistrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
1480
1487
  UpdateConnectorRegistrationRequest.add_member(:connector_provisioning_config, Shapes::ShapeRef.new(shape: ConnectorProvisioningConfig, location_name: "connectorProvisioningConfig"))
1488
+ UpdateConnectorRegistrationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1481
1489
  UpdateConnectorRegistrationRequest.struct_class = Types::UpdateConnectorRegistrationRequest
1482
1490
 
1483
1491
  UpdateConnectorRegistrationResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
@@ -1490,6 +1498,7 @@ module Aws::Appflow
1490
1498
  UpdateFlowRequest.add_member(:destination_flow_config_list, Shapes::ShapeRef.new(shape: DestinationFlowConfigList, required: true, location_name: "destinationFlowConfigList"))
1491
1499
  UpdateFlowRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, required: true, location_name: "tasks"))
1492
1500
  UpdateFlowRequest.add_member(:metadata_catalog_config, Shapes::ShapeRef.new(shape: MetadataCatalogConfig, location_name: "metadataCatalogConfig"))
1501
+ UpdateFlowRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1493
1502
  UpdateFlowRequest.struct_class = Types::UpdateFlowRequest
1494
1503
 
1495
1504
  UpdateFlowResponse.add_member(:flow_status, Shapes::ShapeRef.new(shape: FlowStatus, location_name: "flowStatus"))
@@ -50,9 +50,6 @@ module Aws::Appflow
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::Appflow
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://appflow.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -1212,6 +1212,27 @@ module Aws::Appflow
1212
1212
  # Defines the connector-specific configuration and credentials.
1213
1213
  # @return [Types::ConnectorProfileConfig]
1214
1214
  #
1215
+ # @!attribute [rw] client_token
1216
+ # The `clientToken` parameter is an idempotency token. It ensures that
1217
+ # your `CreateConnectorProfile` request completes only once. You
1218
+ # choose the value to pass. For example, if you don't receive a
1219
+ # response from your request, you can safely retry the request with
1220
+ # the same `clientToken` parameter value.
1221
+ #
1222
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
1223
+ # you are using inserts a value for you. This way, the SDK can safely
1224
+ # retry requests multiple times after a network error. You must
1225
+ # provide your own value for other use cases.
1226
+ #
1227
+ # If you specify input parameters that differ from your first request,
1228
+ # an error occurs. If you use a different value for `clientToken`,
1229
+ # Amazon AppFlow considers it a new call to `CreateConnectorProfile`.
1230
+ # The token is active for 8 hours.
1231
+ #
1232
+ # **A suitable default value is auto-generated.** You should normally
1233
+ # not need to pass this option.
1234
+ # @return [String]
1235
+ #
1215
1236
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateConnectorProfileRequest AWS API Documentation
1216
1237
  #
1217
1238
  class CreateConnectorProfileRequest < Struct.new(
@@ -1220,7 +1241,8 @@ module Aws::Appflow
1220
1241
  :connector_type,
1221
1242
  :connector_label,
1222
1243
  :connection_mode,
1223
- :connector_profile_config)
1244
+ :connector_profile_config,
1245
+ :client_token)
1224
1246
  SENSITIVE = []
1225
1247
  include Aws::Structure
1226
1248
  end
@@ -1284,6 +1306,27 @@ module Aws::Appflow
1284
1306
  # a data catalog.
1285
1307
  # @return [Types::MetadataCatalogConfig]
1286
1308
  #
1309
+ # @!attribute [rw] client_token
1310
+ # The `clientToken` parameter is an idempotency token. It ensures that
1311
+ # your `CreateFlow` request completes only once. You choose the value
1312
+ # to pass. For example, if you don't receive a response from your
1313
+ # request, you can safely retry the request with the same
1314
+ # `clientToken` parameter value.
1315
+ #
1316
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
1317
+ # you are using inserts a value for you. This way, the SDK can safely
1318
+ # retry requests multiple times after a network error. You must
1319
+ # provide your own value for other use cases.
1320
+ #
1321
+ # If you specify input parameters that differ from your first request,
1322
+ # an error occurs. If you use a different value for `clientToken`,
1323
+ # Amazon AppFlow considers it a new call to `CreateFlow`. The token is
1324
+ # active for 8 hours.
1325
+ #
1326
+ # **A suitable default value is auto-generated.** You should normally
1327
+ # not need to pass this option.
1328
+ # @return [String]
1329
+ #
1287
1330
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/CreateFlowRequest AWS API Documentation
1288
1331
  #
1289
1332
  class CreateFlowRequest < Struct.new(
@@ -1295,7 +1338,8 @@ module Aws::Appflow
1295
1338
  :destination_flow_config_list,
1296
1339
  :tasks,
1297
1340
  :tags,
1298
- :metadata_catalog_config)
1341
+ :metadata_catalog_config,
1342
+ :client_token)
1299
1343
  SENSITIVE = []
1300
1344
  include Aws::Structure
1301
1345
  end
@@ -3663,13 +3707,35 @@ module Aws::Appflow
3663
3707
  # value is LAMBDA.
3664
3708
  # @return [Types::ConnectorProvisioningConfig]
3665
3709
  #
3710
+ # @!attribute [rw] client_token
3711
+ # The `clientToken` parameter is an idempotency token. It ensures that
3712
+ # your `RegisterConnector` request completes only once. You choose the
3713
+ # value to pass. For example, if you don't receive a response from
3714
+ # your request, you can safely retry the request with the same
3715
+ # `clientToken` parameter value.
3716
+ #
3717
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
3718
+ # you are using inserts a value for you. This way, the SDK can safely
3719
+ # retry requests multiple times after a network error. You must
3720
+ # provide your own value for other use cases.
3721
+ #
3722
+ # If you specify input parameters that differ from your first request,
3723
+ # an error occurs. If you use a different value for `clientToken`,
3724
+ # Amazon AppFlow considers it a new call to `RegisterConnector`. The
3725
+ # token is active for 8 hours.
3726
+ #
3727
+ # **A suitable default value is auto-generated.** You should normally
3728
+ # not need to pass this option.
3729
+ # @return [String]
3730
+ #
3666
3731
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/RegisterConnectorRequest AWS API Documentation
3667
3732
  #
3668
3733
  class RegisterConnectorRequest < Struct.new(
3669
3734
  :connector_label,
3670
3735
  :description,
3671
3736
  :connector_provisioning_type,
3672
- :connector_provisioning_config)
3737
+ :connector_provisioning_config,
3738
+ :client_token)
3673
3739
  SENSITIVE = []
3674
3740
  include Aws::Structure
3675
3741
  end
@@ -3808,11 +3874,11 @@ module Aws::Appflow
3808
3874
  # whether Amazon AppFlow preserves the data types in your source data
3809
3875
  # when it writes the output to Amazon S3.
3810
3876
  #
3811
- # * `true`\: Amazon AppFlow preserves the data types when it writes to
3877
+ # * `true`: Amazon AppFlow preserves the data types when it writes to
3812
3878
  # Amazon S3. For example, an integer or `1` in your source data is
3813
3879
  # still an integer in your output.
3814
3880
  #
3815
- # * `false`\: Amazon AppFlow converts all of the source data into
3881
+ # * `false`: Amazon AppFlow converts all of the source data into
3816
3882
  # strings when it writes to Amazon S3. For example, an integer of
3817
3883
  # `1` in your source data becomes the string `"1"` in the output.
3818
3884
  # @return [Boolean]
@@ -4033,11 +4099,55 @@ module Aws::Appflow
4033
4099
  # production environment.
4034
4100
  # @return [Boolean]
4035
4101
  #
4102
+ # @!attribute [rw] use_private_link_for_metadata_and_authorization
4103
+ # If the connection mode for the connector profile is private, this
4104
+ # parameter sets whether Amazon AppFlow uses the private network to
4105
+ # send metadata and authorization calls to Salesforce. Amazon AppFlow
4106
+ # sends private calls through Amazon Web Services PrivateLink. These
4107
+ # calls travel through Amazon Web Services infrastructure without
4108
+ # being exposed to the public internet.
4109
+ #
4110
+ # Set either of the following values:
4111
+ #
4112
+ # true
4113
+ #
4114
+ # : Amazon AppFlow sends all calls to Salesforce over the private
4115
+ # network.
4116
+ #
4117
+ # These private calls are:
4118
+ #
4119
+ # * Calls to get metadata about your Salesforce records. This
4120
+ # metadata describes your Salesforce objects and their fields.
4121
+ #
4122
+ # * Calls to get or refresh access tokens that allow Amazon AppFlow
4123
+ # to access your Salesforce records.
4124
+ #
4125
+ # * Calls to transfer your Salesforce records as part of a flow run.
4126
+ #
4127
+ # false
4128
+ #
4129
+ # : The default value. Amazon AppFlow sends some calls to Salesforce
4130
+ # privately and other calls over the public internet.
4131
+ #
4132
+ # The public calls are:
4133
+ #
4134
+ # * Calls to get metadata about your Salesforce records.
4135
+ #
4136
+ # * Calls to get or refresh access tokens.
4137
+ #
4138
+ # The private calls are:
4139
+ #
4140
+ # * Calls to transfer your Salesforce records as part of a flow run.
4141
+ #
4142
+ # ^
4143
+ # @return [Boolean]
4144
+ #
4036
4145
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SalesforceConnectorProfileProperties AWS API Documentation
4037
4146
  #
4038
4147
  class SalesforceConnectorProfileProperties < Struct.new(
4039
4148
  :instance_url,
4040
- :is_sandbox_environment)
4149
+ :is_sandbox_environment,
4150
+ :use_private_link_for_metadata_and_authorization)
4041
4151
  SENSITIVE = []
4042
4152
  include Aws::Structure
4043
4153
  end
@@ -4774,10 +4884,37 @@ module Aws::Appflow
4774
4884
  # underscores (\_) or hyphens (-) only.
4775
4885
  # @return [String]
4776
4886
  #
4887
+ # @!attribute [rw] client_token
4888
+ # The `clientToken` parameter is an idempotency token. It ensures that
4889
+ # your `StartFlow` request completes only once. You choose the value
4890
+ # to pass. For example, if you don't receive a response from your
4891
+ # request, you can safely retry the request with the same
4892
+ # `clientToken` parameter value.
4893
+ #
4894
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
4895
+ # you are using inserts a value for you. This way, the SDK can safely
4896
+ # retry requests multiple times after a network error. You must
4897
+ # provide your own value for other use cases.
4898
+ #
4899
+ # If you specify input parameters that differ from your first request,
4900
+ # an error occurs for flows that run on a schedule or based on an
4901
+ # event. However, the error doesn't occur for flows that run on
4902
+ # demand. You set the conditions that initiate your flow for the
4903
+ # `triggerConfig` parameter.
4904
+ #
4905
+ # If you use a different value for `clientToken`, Amazon AppFlow
4906
+ # considers it a new call to `StartFlow`. The token is active for 8
4907
+ # hours.
4908
+ #
4909
+ # **A suitable default value is auto-generated.** You should normally
4910
+ # not need to pass this option.
4911
+ # @return [String]
4912
+ #
4777
4913
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlowRequest AWS API Documentation
4778
4914
  #
4779
4915
  class StartFlowRequest < Struct.new(
4780
- :flow_name)
4916
+ :flow_name,
4917
+ :client_token)
4781
4918
  SENSITIVE = []
4782
4919
  include Aws::Structure
4783
4920
  end
@@ -5106,12 +5243,34 @@ module Aws::Appflow
5106
5243
  # credentials.
5107
5244
  # @return [Types::ConnectorProfileConfig]
5108
5245
  #
5246
+ # @!attribute [rw] client_token
5247
+ # The `clientToken` parameter is an idempotency token. It ensures that
5248
+ # your `UpdateConnectorProfile` request completes only once. You
5249
+ # choose the value to pass. For example, if you don't receive a
5250
+ # response from your request, you can safely retry the request with
5251
+ # the same `clientToken` parameter value.
5252
+ #
5253
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
5254
+ # you are using inserts a value for you. This way, the SDK can safely
5255
+ # retry requests multiple times after a network error. You must
5256
+ # provide your own value for other use cases.
5257
+ #
5258
+ # If you specify input parameters that differ from your first request,
5259
+ # an error occurs. If you use a different value for `clientToken`,
5260
+ # Amazon AppFlow considers it a new call to `UpdateConnectorProfile`.
5261
+ # The token is active for 8 hours.
5262
+ #
5263
+ # **A suitable default value is auto-generated.** You should normally
5264
+ # not need to pass this option.
5265
+ # @return [String]
5266
+ #
5109
5267
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorProfileRequest AWS API Documentation
5110
5268
  #
5111
5269
  class UpdateConnectorProfileRequest < Struct.new(
5112
5270
  :connector_profile_name,
5113
5271
  :connection_mode,
5114
- :connector_profile_config)
5272
+ :connector_profile_config,
5273
+ :client_token)
5115
5274
  SENSITIVE = []
5116
5275
  include Aws::Structure
5117
5276
  end
@@ -5143,12 +5302,34 @@ module Aws::Appflow
5143
5302
  # registered.
5144
5303
  # @return [Types::ConnectorProvisioningConfig]
5145
5304
  #
5305
+ # @!attribute [rw] client_token
5306
+ # The `clientToken` parameter is an idempotency token. It ensures that
5307
+ # your `UpdateConnectorRegistration` request completes only once. You
5308
+ # choose the value to pass. For example, if you don't receive a
5309
+ # response from your request, you can safely retry the request with
5310
+ # the same `clientToken` parameter value.
5311
+ #
5312
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
5313
+ # you are using inserts a value for you. This way, the SDK can safely
5314
+ # retry requests multiple times after a network error. You must
5315
+ # provide your own value for other use cases.
5316
+ #
5317
+ # If you specify input parameters that differ from your first request,
5318
+ # an error occurs. If you use a different value for `clientToken`,
5319
+ # Amazon AppFlow considers it a new call to
5320
+ # `UpdateConnectorRegistration`. The token is active for 8 hours.
5321
+ #
5322
+ # **A suitable default value is auto-generated.** You should normally
5323
+ # not need to pass this option.
5324
+ # @return [String]
5325
+ #
5146
5326
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationRequest AWS API Documentation
5147
5327
  #
5148
5328
  class UpdateConnectorRegistrationRequest < Struct.new(
5149
5329
  :connector_label,
5150
5330
  :description,
5151
- :connector_provisioning_config)
5331
+ :connector_provisioning_config,
5332
+ :client_token)
5152
5333
  SENSITIVE = []
5153
5334
  include Aws::Structure
5154
5335
  end
@@ -5200,6 +5381,27 @@ module Aws::Appflow
5200
5381
  # a data catalog.
5201
5382
  # @return [Types::MetadataCatalogConfig]
5202
5383
  #
5384
+ # @!attribute [rw] client_token
5385
+ # The `clientToken` parameter is an idempotency token. It ensures that
5386
+ # your `UpdateFlow` request completes only once. You choose the value
5387
+ # to pass. For example, if you don't receive a response from your
5388
+ # request, you can safely retry the request with the same
5389
+ # `clientToken` parameter value.
5390
+ #
5391
+ # If you omit a `clientToken` value, the Amazon Web Services SDK that
5392
+ # you are using inserts a value for you. This way, the SDK can safely
5393
+ # retry requests multiple times after a network error. You must
5394
+ # provide your own value for other use cases.
5395
+ #
5396
+ # If you specify input parameters that differ from your first request,
5397
+ # an error occurs. If you use a different value for `clientToken`,
5398
+ # Amazon AppFlow considers it a new call to `UpdateFlow`. The token is
5399
+ # active for 8 hours.
5400
+ #
5401
+ # **A suitable default value is auto-generated.** You should normally
5402
+ # not need to pass this option.
5403
+ # @return [String]
5404
+ #
5203
5405
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlowRequest AWS API Documentation
5204
5406
  #
5205
5407
  class UpdateFlowRequest < Struct.new(
@@ -5209,7 +5411,8 @@ module Aws::Appflow
5209
5411
  :source_flow_config,
5210
5412
  :destination_flow_config_list,
5211
5413
  :tasks,
5212
- :metadata_catalog_config)
5414
+ :metadata_catalog_config,
5415
+ :client_token)
5213
5416
  SENSITIVE = []
5214
5417
  include Aws::Structure
5215
5418
  end
@@ -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.35.0'
55
+ GEM_VERSION = '1.37.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.35.0
4
+ version: 1.37.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-01-19 00:00:00.000000000 Z
11
+ date: 2023-04-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core