aws-sdk-appflow 1.36.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appflow/client.rb +153 -1
- data/lib/aws-sdk-appflow/client_api.rb +8 -0
- data/lib/aws-sdk-appflow/types.rb +168 -9
- data/lib/aws-sdk-appflow.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b00d54084b25f3a2a9e55be2baf47130a79c1a3e9eb64a3f849e5d6db1ca5592
|
4
|
+
data.tar.gz: 874faeb6d0015d7e98a694ec168c18c85aeb9cd9e9a16aa522fdaba2e300e59f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 354d3473fe1e46e2ef6548295d898591f67b6ac8e9b1fa3a2680f260e3158a9a15feeca7b10ed971c6af377d3f2d524db4c1a6bad730a129a6222d1d49bdc332
|
7
|
+
data.tar.gz: 4c1cb3b794f950b5fa2a289153ba9024aaf138815ae017a5a73593655dfb67b7e1040d4cba4e077af66f199436ad0536fc68d18afb83178b9ef17f97672bcd76
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
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
|
+
|
4
9
|
1.36.0 (2023-02-23)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
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
|
@@ -655,6 +675,7 @@ module Aws::Appflow
|
|
655
675
|
# },
|
656
676
|
# },
|
657
677
|
# },
|
678
|
+
# client_token: "ClientToken",
|
658
679
|
# })
|
659
680
|
#
|
660
681
|
# @example Response structure
|
@@ -714,6 +735,26 @@ module Aws::Appflow
|
|
714
735
|
# AppFlow catalogs the data from a flow, it stores metadata in a data
|
715
736
|
# catalog.
|
716
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
|
+
#
|
717
758
|
# @return [Types::CreateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
718
759
|
#
|
719
760
|
# * {Types::CreateFlowResponse#flow_arn #flow_arn} => String
|
@@ -994,6 +1035,7 @@ module Aws::Appflow
|
|
994
1035
|
# table_prefix: "GlueDataCatalogTablePrefix", # required
|
995
1036
|
# },
|
996
1037
|
# },
|
1038
|
+
# client_token: "ClientToken",
|
997
1039
|
# })
|
998
1040
|
#
|
999
1041
|
# @example Response structure
|
@@ -2028,6 +2070,26 @@ module Aws::Appflow
|
|
2028
2070
|
# The provisioning type of the connector. Currently the only supported
|
2029
2071
|
# value is LAMBDA.
|
2030
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
|
+
#
|
2031
2093
|
# @return [Types::RegisterConnectorResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2032
2094
|
#
|
2033
2095
|
# * {Types::RegisterConnectorResponse#connector_arn #connector_arn} => String
|
@@ -2043,6 +2105,7 @@ module Aws::Appflow
|
|
2043
2105
|
# lambda_arn: "ARN", # required
|
2044
2106
|
# },
|
2045
2107
|
# },
|
2108
|
+
# client_token: "ClientToken",
|
2046
2109
|
# })
|
2047
2110
|
#
|
2048
2111
|
# @example Response structure
|
@@ -2066,6 +2129,31 @@ module Aws::Appflow
|
|
2066
2129
|
# The specified name of the flow. Spaces are not allowed. Use
|
2067
2130
|
# underscores (\_) or hyphens (-) only.
|
2068
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
|
+
#
|
2069
2157
|
# @return [Types::StartFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2070
2158
|
#
|
2071
2159
|
# * {Types::StartFlowResponse#flow_arn #flow_arn} => String
|
@@ -2076,6 +2164,7 @@ module Aws::Appflow
|
|
2076
2164
|
#
|
2077
2165
|
# resp = client.start_flow({
|
2078
2166
|
# flow_name: "FlowName", # required
|
2167
|
+
# client_token: "ClientToken",
|
2079
2168
|
# })
|
2080
2169
|
#
|
2081
2170
|
# @example Response structure
|
@@ -2223,6 +2312,26 @@ module Aws::Appflow
|
|
2223
2312
|
# @option params [required, Types::ConnectorProfileConfig] :connector_profile_config
|
2224
2313
|
# Defines the connector-specific profile configuration and credentials.
|
2225
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
|
+
#
|
2226
2335
|
# @return [Types::UpdateConnectorProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2227
2336
|
#
|
2228
2337
|
# * {Types::UpdateConnectorProfileResponse#connector_profile_arn #connector_profile_arn} => String
|
@@ -2472,6 +2581,7 @@ module Aws::Appflow
|
|
2472
2581
|
# },
|
2473
2582
|
# },
|
2474
2583
|
# },
|
2584
|
+
# client_token: "ClientToken",
|
2475
2585
|
# })
|
2476
2586
|
#
|
2477
2587
|
# @example Response structure
|
@@ -2506,6 +2616,26 @@ module Aws::Appflow
|
|
2506
2616
|
# Contains information about the configuration of the connector being
|
2507
2617
|
# registered.
|
2508
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
|
+
#
|
2509
2639
|
# @return [Types::UpdateConnectorRegistrationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2510
2640
|
#
|
2511
2641
|
# * {Types::UpdateConnectorRegistrationResponse#connector_arn #connector_arn} => String
|
@@ -2520,6 +2650,7 @@ module Aws::Appflow
|
|
2520
2650
|
# lambda_arn: "ARN", # required
|
2521
2651
|
# },
|
2522
2652
|
# },
|
2653
|
+
# client_token: "ClientToken",
|
2523
2654
|
# })
|
2524
2655
|
#
|
2525
2656
|
# @example Response structure
|
@@ -2565,6 +2696,26 @@ module Aws::Appflow
|
|
2565
2696
|
# AppFlow catalogs the data from a flow, it stores metadata in a data
|
2566
2697
|
# catalog.
|
2567
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
|
+
#
|
2568
2719
|
# @return [Types::UpdateFlowResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2569
2720
|
#
|
2570
2721
|
# * {Types::UpdateFlowResponse#flow_status #flow_status} => String
|
@@ -2840,6 +2991,7 @@ module Aws::Appflow
|
|
2840
2991
|
# table_prefix: "GlueDataCatalogTablePrefix", # required
|
2841
2992
|
# },
|
2842
2993
|
# },
|
2994
|
+
# client_token: "ClientToken",
|
2843
2995
|
# })
|
2844
2996
|
#
|
2845
2997
|
# @example Response structure
|
@@ -2868,7 +3020,7 @@ module Aws::Appflow
|
|
2868
3020
|
params: params,
|
2869
3021
|
config: config)
|
2870
3022
|
context[:gem_name] = 'aws-sdk-appflow'
|
2871
|
-
context[:gem_version] = '1.
|
3023
|
+
context[:gem_version] = '1.37.0'
|
2872
3024
|
Seahorse::Client::Request.new(handlers, context)
|
2873
3025
|
end
|
2874
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"))
|
@@ -1374,6 +1378,7 @@ module Aws::Appflow
|
|
1374
1378
|
SourceFlowConfig.struct_class = Types::SourceFlowConfig
|
1375
1379
|
|
1376
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}))
|
1377
1382
|
StartFlowRequest.struct_class = Types::StartFlowRequest
|
1378
1383
|
|
1379
1384
|
StartFlowResponse.add_member(:flow_arn, Shapes::ShapeRef.new(shape: FlowArn, location_name: "flowArn"))
|
@@ -1471,6 +1476,7 @@ module Aws::Appflow
|
|
1471
1476
|
UpdateConnectorProfileRequest.add_member(:connector_profile_name, Shapes::ShapeRef.new(shape: ConnectorProfileName, required: true, location_name: "connectorProfileName"))
|
1472
1477
|
UpdateConnectorProfileRequest.add_member(:connection_mode, Shapes::ShapeRef.new(shape: ConnectionMode, required: true, location_name: "connectionMode"))
|
1473
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}))
|
1474
1480
|
UpdateConnectorProfileRequest.struct_class = Types::UpdateConnectorProfileRequest
|
1475
1481
|
|
1476
1482
|
UpdateConnectorProfileResponse.add_member(:connector_profile_arn, Shapes::ShapeRef.new(shape: ConnectorProfileArn, location_name: "connectorProfileArn"))
|
@@ -1479,6 +1485,7 @@ module Aws::Appflow
|
|
1479
1485
|
UpdateConnectorRegistrationRequest.add_member(:connector_label, Shapes::ShapeRef.new(shape: ConnectorLabel, required: true, location_name: "connectorLabel"))
|
1480
1486
|
UpdateConnectorRegistrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
|
1481
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}))
|
1482
1489
|
UpdateConnectorRegistrationRequest.struct_class = Types::UpdateConnectorRegistrationRequest
|
1483
1490
|
|
1484
1491
|
UpdateConnectorRegistrationResponse.add_member(:connector_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "connectorArn"))
|
@@ -1491,6 +1498,7 @@ module Aws::Appflow
|
|
1491
1498
|
UpdateFlowRequest.add_member(:destination_flow_config_list, Shapes::ShapeRef.new(shape: DestinationFlowConfigList, required: true, location_name: "destinationFlowConfigList"))
|
1492
1499
|
UpdateFlowRequest.add_member(:tasks, Shapes::ShapeRef.new(shape: Tasks, required: true, location_name: "tasks"))
|
1493
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}))
|
1494
1502
|
UpdateFlowRequest.struct_class = Types::UpdateFlowRequest
|
1495
1503
|
|
1496
1504
|
UpdateFlowResponse.add_member(:flow_status, Shapes::ShapeRef.new(shape: FlowStatus, location_name: "flowStatus"))
|
@@ -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
|
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
|
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]
|
@@ -4818,10 +4884,37 @@ module Aws::Appflow
|
|
4818
4884
|
# underscores (\_) or hyphens (-) only.
|
4819
4885
|
# @return [String]
|
4820
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
|
+
#
|
4821
4913
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/StartFlowRequest AWS API Documentation
|
4822
4914
|
#
|
4823
4915
|
class StartFlowRequest < Struct.new(
|
4824
|
-
:flow_name
|
4916
|
+
:flow_name,
|
4917
|
+
:client_token)
|
4825
4918
|
SENSITIVE = []
|
4826
4919
|
include Aws::Structure
|
4827
4920
|
end
|
@@ -5150,12 +5243,34 @@ module Aws::Appflow
|
|
5150
5243
|
# credentials.
|
5151
5244
|
# @return [Types::ConnectorProfileConfig]
|
5152
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
|
+
#
|
5153
5267
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorProfileRequest AWS API Documentation
|
5154
5268
|
#
|
5155
5269
|
class UpdateConnectorProfileRequest < Struct.new(
|
5156
5270
|
:connector_profile_name,
|
5157
5271
|
:connection_mode,
|
5158
|
-
:connector_profile_config
|
5272
|
+
:connector_profile_config,
|
5273
|
+
:client_token)
|
5159
5274
|
SENSITIVE = []
|
5160
5275
|
include Aws::Structure
|
5161
5276
|
end
|
@@ -5187,12 +5302,34 @@ module Aws::Appflow
|
|
5187
5302
|
# registered.
|
5188
5303
|
# @return [Types::ConnectorProvisioningConfig]
|
5189
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
|
+
#
|
5190
5326
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateConnectorRegistrationRequest AWS API Documentation
|
5191
5327
|
#
|
5192
5328
|
class UpdateConnectorRegistrationRequest < Struct.new(
|
5193
5329
|
:connector_label,
|
5194
5330
|
:description,
|
5195
|
-
:connector_provisioning_config
|
5331
|
+
:connector_provisioning_config,
|
5332
|
+
:client_token)
|
5196
5333
|
SENSITIVE = []
|
5197
5334
|
include Aws::Structure
|
5198
5335
|
end
|
@@ -5244,6 +5381,27 @@ module Aws::Appflow
|
|
5244
5381
|
# a data catalog.
|
5245
5382
|
# @return [Types::MetadataCatalogConfig]
|
5246
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
|
+
#
|
5247
5405
|
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/UpdateFlowRequest AWS API Documentation
|
5248
5406
|
#
|
5249
5407
|
class UpdateFlowRequest < Struct.new(
|
@@ -5253,7 +5411,8 @@ module Aws::Appflow
|
|
5253
5411
|
:source_flow_config,
|
5254
5412
|
:destination_flow_config_list,
|
5255
5413
|
:tasks,
|
5256
|
-
:metadata_catalog_config
|
5414
|
+
:metadata_catalog_config,
|
5415
|
+
:client_token)
|
5257
5416
|
SENSITIVE = []
|
5258
5417
|
include Aws::Structure
|
5259
5418
|
end
|
data/lib/aws-sdk-appflow.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-appflow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.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-
|
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
|