aws-sdk-appflow 1.43.0 → 1.45.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: 78c7f091c25fd616fcc54213d79c2df1a5f2c5184aa3728c522f44cf10d74481
4
- data.tar.gz: f0e29f65f044ee251a72572b017d69c56b4a02e98beb4128a0a38d965316ddaa
3
+ metadata.gz: e27563b83f453764a3ecbf63538dd690cb7ad08b50f67bd3a2dbe92b95a215cc
4
+ data.tar.gz: ee761c5f03a923ffa1194c5fe9ee137fe0a5e7f0d7f58e17506729874878a6b4
5
5
  SHA512:
6
- metadata.gz: 6953a50113d9930cd5ad873977ab7426c4fa181c1c6b5e2ac122fb412a4f2aecc233d1fd6a4d68d4d344e17cd6637e7c013369f6b9bff784e7eb4537aa64cfba
7
- data.tar.gz: 81f9d0e0b93111540d1096fb160bbc0a1a45460e1deb34d1284182304264e9dacf5b0bf82bba960f9a2c0202de31597bd5bcaf2c6523c1c8f899e2eca2ab8475
6
+ metadata.gz: 9e902bfd1b8b1b3773221284bea525733402cceda7981a4887f2bbac08c63c1977185e87d255a33cdf668d61b5489fd540070eecf43def4ab1b05a68009f476d
7
+ data.tar.gz: ade5bbf552e9ee9121114ed0c8f510e514023b5d2f6e40efebc616a699cafae62a9a2f92501ad8e82cd0d1baafc5feb94a86409581a239f1a88c4ec15820c627
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2023-06-27)
5
+ ------------------
6
+
7
+ * Feature - This release adds support to bypass SSO with the SAPOData connector when connecting to an SAP instance.
8
+
9
+ 1.44.0 (2023-06-20)
10
+ ------------------
11
+
12
+ * Feature - This release adds new API to reset connector metadata cache
13
+
4
14
  1.43.0 (2023-06-15)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.43.0
1
+ 1.45.0
@@ -580,6 +580,7 @@ module Aws::Appflow
580
580
  # auth_code_url: "AuthCodeUrl", # required
581
581
  # o_auth_scopes: ["OAuthScope"], # required
582
582
  # },
583
+ # disable_sso: false,
583
584
  # },
584
585
  # custom_connector: {
585
586
  # profile_properties: {
@@ -1479,6 +1480,7 @@ module Aws::Appflow
1479
1480
  # resp.connector_profile_details[0].connector_profile_properties.sapo_data.o_auth_properties.auth_code_url #=> String
1480
1481
  # resp.connector_profile_details[0].connector_profile_properties.sapo_data.o_auth_properties.o_auth_scopes #=> Array
1481
1482
  # resp.connector_profile_details[0].connector_profile_properties.sapo_data.o_auth_properties.o_auth_scopes[0] #=> String
1483
+ # resp.connector_profile_details[0].connector_profile_properties.sapo_data.disable_sso #=> Boolean
1482
1484
  # resp.connector_profile_details[0].connector_profile_properties.custom_connector.profile_properties #=> Hash
1483
1485
  # resp.connector_profile_details[0].connector_profile_properties.custom_connector.profile_properties["ProfilePropertyKey"] #=> String
1484
1486
  # resp.connector_profile_details[0].connector_profile_properties.custom_connector.o_auth_2_properties.token_url #=> String
@@ -2219,6 +2221,96 @@ module Aws::Appflow
2219
2221
  req.send_request(options)
2220
2222
  end
2221
2223
 
2224
+ # Resets metadata about your connector entities that Amazon AppFlow
2225
+ # stored in its cache. Use this action when you want Amazon AppFlow to
2226
+ # return the latest information about the data that you have in a source
2227
+ # application.
2228
+ #
2229
+ # Amazon AppFlow returns metadata about your entities when you use the
2230
+ # ListConnectorEntities or DescribeConnectorEntities actions. Following
2231
+ # these actions, Amazon AppFlow caches the metadata to reduce the number
2232
+ # of API requests that it must send to the source application. Amazon
2233
+ # AppFlow automatically resets the cache once every hour, but you can
2234
+ # use this action when you want to get the latest metadata right away.
2235
+ #
2236
+ # @option params [String] :connector_profile_name
2237
+ # The name of the connector profile that you want to reset cached
2238
+ # metadata for.
2239
+ #
2240
+ # You can omit this parameter if you're resetting the cache for any of
2241
+ # the following connectors: Amazon Connect, Amazon EventBridge, Amazon
2242
+ # Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the
2243
+ # cache for any other connector, you must include this parameter in your
2244
+ # request.
2245
+ #
2246
+ # @option params [String] :connector_type
2247
+ # The type of connector to reset cached metadata for.
2248
+ #
2249
+ # You must include this parameter in your request if you're resetting
2250
+ # the cache for any of the following connectors: Amazon Connect, Amazon
2251
+ # EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If
2252
+ # you're resetting the cache for any other connector, you can omit this
2253
+ # parameter from your request.
2254
+ #
2255
+ # @option params [String] :connector_entity_name
2256
+ # Use this parameter if you want to reset cached metadata about the
2257
+ # details for an individual entity.
2258
+ #
2259
+ # If you don't include this parameter in your request, Amazon AppFlow
2260
+ # only resets cached metadata about entity names, not entity details.
2261
+ #
2262
+ # @option params [String] :entities_path
2263
+ # Use this parameter only if you’re resetting the cached metadata about
2264
+ # a nested entity. Only some connectors support nested entities. A
2265
+ # nested entity is one that has another entity as a parent. To use this
2266
+ # parameter, specify the name of the parent entity.
2267
+ #
2268
+ # To look up the parent-child relationship of entities, you can send a
2269
+ # ListConnectorEntities request that omits the entitiesPath parameter.
2270
+ # Amazon AppFlow will return a list of top-level entities. For each one,
2271
+ # it indicates whether the entity has nested entities. Then, in a
2272
+ # subsequent ListConnectorEntities request, you can specify a parent
2273
+ # entity name for the entitiesPath parameter. Amazon AppFlow will return
2274
+ # a list of the child entities for that parent.
2275
+ #
2276
+ # @option params [String] :api_version
2277
+ # The API version that you specified in the connector profile that
2278
+ # you’re resetting cached metadata for. You must use this parameter only
2279
+ # if the connector supports multiple API versions or if the connector
2280
+ # type is CustomConnector.
2281
+ #
2282
+ # To look up how many versions a connector supports, use the
2283
+ # DescribeConnectors action. In the response, find the value that Amazon
2284
+ # AppFlow returns for the connectorVersion parameter.
2285
+ #
2286
+ # To look up the connector type, use the DescribeConnectorProfiles
2287
+ # action. In the response, find the value that Amazon AppFlow returns
2288
+ # for the connectorType parameter.
2289
+ #
2290
+ # To look up the API version that you specified in a connector profile,
2291
+ # use the DescribeConnectorProfiles action.
2292
+ #
2293
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2294
+ #
2295
+ # @example Request syntax with placeholder values
2296
+ #
2297
+ # resp = client.reset_connector_metadata_cache({
2298
+ # connector_profile_name: "ConnectorProfileName",
2299
+ # connector_type: "Salesforce", # accepts Salesforce, Singular, Slack, Redshift, S3, Marketo, Googleanalytics, Zendesk, Servicenow, Datadog, Trendmicro, Snowflake, Dynatrace, Infornexus, Amplitude, Veeva, EventBridge, LookoutMetrics, Upsolver, Honeycode, CustomerProfiles, SAPOData, CustomConnector, Pardot
2300
+ # connector_entity_name: "EntityName",
2301
+ # entities_path: "EntitiesPath",
2302
+ # api_version: "ApiVersion",
2303
+ # })
2304
+ #
2305
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ResetConnectorMetadataCache AWS API Documentation
2306
+ #
2307
+ # @overload reset_connector_metadata_cache(params = {})
2308
+ # @param [Hash] params ({})
2309
+ def reset_connector_metadata_cache(params = {}, options = {})
2310
+ req = build_request(:reset_connector_metadata_cache, params)
2311
+ req.send_request(options)
2312
+ end
2313
+
2222
2314
  # Activates an existing flow. For on-demand flows, this operation runs
2223
2315
  # the flow immediately. For schedule and event-triggered flows, this
2224
2316
  # operation activates the flow.
@@ -2512,6 +2604,7 @@ module Aws::Appflow
2512
2604
  # auth_code_url: "AuthCodeUrl", # required
2513
2605
  # o_auth_scopes: ["OAuthScope"], # required
2514
2606
  # },
2607
+ # disable_sso: false,
2515
2608
  # },
2516
2609
  # custom_connector: {
2517
2610
  # profile_properties: {
@@ -3124,7 +3217,7 @@ module Aws::Appflow
3124
3217
  params: params,
3125
3218
  config: config)
3126
3219
  context[:gem_name] = 'aws-sdk-appflow'
3127
- context[:gem_version] = '1.43.0'
3220
+ context[:gem_version] = '1.45.0'
3128
3221
  Seahorse::Client::Request.new(handlers, context)
3129
3222
  end
3130
3223
 
@@ -296,6 +296,8 @@ module Aws::Appflow
296
296
  RegisterConnectorResponse = Shapes::StructureShape.new(name: 'RegisterConnectorResponse')
297
297
  RegisteredBy = Shapes::StringShape.new(name: 'RegisteredBy')
298
298
  RegistrationOutput = Shapes::StructureShape.new(name: 'RegistrationOutput')
299
+ ResetConnectorMetadataCacheRequest = Shapes::StructureShape.new(name: 'ResetConnectorMetadataCacheRequest')
300
+ ResetConnectorMetadataCacheResponse = Shapes::StructureShape.new(name: 'ResetConnectorMetadataCacheResponse')
299
301
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
300
302
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
301
303
  S3ConnectorOperator = Shapes::StringShape.new(name: 'S3ConnectorOperator')
@@ -1218,6 +1220,15 @@ module Aws::Appflow
1218
1220
  RegistrationOutput.add_member(:status, Shapes::ShapeRef.new(shape: ExecutionStatus, location_name: "status"))
1219
1221
  RegistrationOutput.struct_class = Types::RegistrationOutput
1220
1222
 
1223
+ ResetConnectorMetadataCacheRequest.add_member(:connector_profile_name, Shapes::ShapeRef.new(shape: ConnectorProfileName, location_name: "connectorProfileName"))
1224
+ ResetConnectorMetadataCacheRequest.add_member(:connector_type, Shapes::ShapeRef.new(shape: ConnectorType, location_name: "connectorType"))
1225
+ ResetConnectorMetadataCacheRequest.add_member(:connector_entity_name, Shapes::ShapeRef.new(shape: EntityName, location_name: "connectorEntityName"))
1226
+ ResetConnectorMetadataCacheRequest.add_member(:entities_path, Shapes::ShapeRef.new(shape: EntitiesPath, location_name: "entitiesPath"))
1227
+ ResetConnectorMetadataCacheRequest.add_member(:api_version, Shapes::ShapeRef.new(shape: ApiVersion, location_name: "apiVersion"))
1228
+ ResetConnectorMetadataCacheRequest.struct_class = Types::ResetConnectorMetadataCacheRequest
1229
+
1230
+ ResetConnectorMetadataCacheResponse.struct_class = Types::ResetConnectorMetadataCacheResponse
1231
+
1221
1232
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
1222
1233
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
1223
1234
 
@@ -1253,6 +1264,7 @@ module Aws::Appflow
1253
1264
  SAPODataConnectorProfileProperties.add_member(:logon_language, Shapes::ShapeRef.new(shape: LogonLanguage, location_name: "logonLanguage"))
1254
1265
  SAPODataConnectorProfileProperties.add_member(:private_link_service_name, Shapes::ShapeRef.new(shape: PrivateLinkServiceName, location_name: "privateLinkServiceName"))
1255
1266
  SAPODataConnectorProfileProperties.add_member(:o_auth_properties, Shapes::ShapeRef.new(shape: OAuthProperties, location_name: "oAuthProperties"))
1267
+ SAPODataConnectorProfileProperties.add_member(:disable_sso, Shapes::ShapeRef.new(shape: Boolean, location_name: "disableSSO"))
1256
1268
  SAPODataConnectorProfileProperties.struct_class = Types::SAPODataConnectorProfileProperties
1257
1269
 
1258
1270
  SAPODataDestinationProperties.add_member(:object_path, Shapes::ShapeRef.new(shape: Object, required: true, location_name: "objectPath"))
@@ -1827,6 +1839,18 @@ module Aws::Appflow
1827
1839
  o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
1828
1840
  end)
1829
1841
 
1842
+ api.add_operation(:reset_connector_metadata_cache, Seahorse::Model::Operation.new.tap do |o|
1843
+ o.name = "ResetConnectorMetadataCache"
1844
+ o.http_method = "POST"
1845
+ o.http_request_uri = "/reset-connector-metadata-cache"
1846
+ o.input = Shapes::ShapeRef.new(shape: ResetConnectorMetadataCacheRequest)
1847
+ o.output = Shapes::ShapeRef.new(shape: ResetConnectorMetadataCacheResponse)
1848
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1849
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1850
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1851
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1852
+ end)
1853
+
1830
1854
  api.add_operation(:start_flow, Seahorse::Model::Operation.new.tap do |o|
1831
1855
  o.name = "StartFlow"
1832
1856
  o.http_method = "POST"
@@ -236,6 +236,20 @@ module Aws::Appflow
236
236
  end
237
237
  end
238
238
 
239
+ class ResetConnectorMetadataCache
240
+ def self.build(context)
241
+ unless context.config.regional_endpoint
242
+ endpoint = context.config.endpoint.to_s
243
+ end
244
+ Aws::Appflow::EndpointParameters.new(
245
+ region: context.config.region,
246
+ use_dual_stack: context.config.use_dualstack_endpoint,
247
+ use_fips: context.config.use_fips_endpoint,
248
+ endpoint: endpoint,
249
+ )
250
+ end
251
+ end
252
+
239
253
  class StartFlow
240
254
  def self.build(context)
241
255
  unless context.config.regional_endpoint
@@ -88,6 +88,8 @@ module Aws::Appflow
88
88
  Aws::Appflow::Endpoints::ListTagsForResource.build(context)
89
89
  when :register_connector
90
90
  Aws::Appflow::Endpoints::RegisterConnector.build(context)
91
+ when :reset_connector_metadata_cache
92
+ Aws::Appflow::Endpoints::ResetConnectorMetadataCache.build(context)
91
93
  when :start_flow
92
94
  Aws::Appflow::Endpoints::StartFlow.build(context)
93
95
  when :stop_flow
@@ -3897,6 +3897,84 @@ module Aws::Appflow
3897
3897
  include Aws::Structure
3898
3898
  end
3899
3899
 
3900
+ # @!attribute [rw] connector_profile_name
3901
+ # The name of the connector profile that you want to reset cached
3902
+ # metadata for.
3903
+ #
3904
+ # You can omit this parameter if you're resetting the cache for any
3905
+ # of the following connectors: Amazon Connect, Amazon EventBridge,
3906
+ # Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're
3907
+ # resetting the cache for any other connector, you must include this
3908
+ # parameter in your request.
3909
+ # @return [String]
3910
+ #
3911
+ # @!attribute [rw] connector_type
3912
+ # The type of connector to reset cached metadata for.
3913
+ #
3914
+ # You must include this parameter in your request if you're resetting
3915
+ # the cache for any of the following connectors: Amazon Connect,
3916
+ # Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or
3917
+ # Upsolver. If you're resetting the cache for any other connector,
3918
+ # you can omit this parameter from your request.
3919
+ # @return [String]
3920
+ #
3921
+ # @!attribute [rw] connector_entity_name
3922
+ # Use this parameter if you want to reset cached metadata about the
3923
+ # details for an individual entity.
3924
+ #
3925
+ # If you don't include this parameter in your request, Amazon AppFlow
3926
+ # only resets cached metadata about entity names, not entity details.
3927
+ # @return [String]
3928
+ #
3929
+ # @!attribute [rw] entities_path
3930
+ # Use this parameter only if you’re resetting the cached metadata
3931
+ # about a nested entity. Only some connectors support nested entities.
3932
+ # A nested entity is one that has another entity as a parent. To use
3933
+ # this parameter, specify the name of the parent entity.
3934
+ #
3935
+ # To look up the parent-child relationship of entities, you can send a
3936
+ # ListConnectorEntities request that omits the entitiesPath parameter.
3937
+ # Amazon AppFlow will return a list of top-level entities. For each
3938
+ # one, it indicates whether the entity has nested entities. Then, in a
3939
+ # subsequent ListConnectorEntities request, you can specify a parent
3940
+ # entity name for the entitiesPath parameter. Amazon AppFlow will
3941
+ # return a list of the child entities for that parent.
3942
+ # @return [String]
3943
+ #
3944
+ # @!attribute [rw] api_version
3945
+ # The API version that you specified in the connector profile that
3946
+ # you’re resetting cached metadata for. You must use this parameter
3947
+ # only if the connector supports multiple API versions or if the
3948
+ # connector type is CustomConnector.
3949
+ #
3950
+ # To look up how many versions a connector supports, use the
3951
+ # DescribeConnectors action. In the response, find the value that
3952
+ # Amazon AppFlow returns for the connectorVersion parameter.
3953
+ #
3954
+ # To look up the connector type, use the DescribeConnectorProfiles
3955
+ # action. In the response, find the value that Amazon AppFlow returns
3956
+ # for the connectorType parameter.
3957
+ #
3958
+ # To look up the API version that you specified in a connector
3959
+ # profile, use the DescribeConnectorProfiles action.
3960
+ # @return [String]
3961
+ #
3962
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ResetConnectorMetadataCacheRequest AWS API Documentation
3963
+ #
3964
+ class ResetConnectorMetadataCacheRequest < Struct.new(
3965
+ :connector_profile_name,
3966
+ :connector_type,
3967
+ :connector_entity_name,
3968
+ :entities_path,
3969
+ :api_version)
3970
+ SENSITIVE = []
3971
+ include Aws::Structure
3972
+ end
3973
+
3974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ResetConnectorMetadataCacheResponse AWS API Documentation
3975
+ #
3976
+ class ResetConnectorMetadataCacheResponse < Aws::EmptyStructure; end
3977
+
3900
3978
  # The resource specified in the request (such as the source or
3901
3979
  # destination connector profile) is not found.
3902
3980
  #
@@ -4084,6 +4162,20 @@ module Aws::Appflow
4084
4162
  # authentication.
4085
4163
  # @return [Types::OAuthProperties]
4086
4164
  #
4165
+ # @!attribute [rw] disable_sso
4166
+ # If you set this parameter to `true`, Amazon AppFlow bypasses the
4167
+ # single sign-on (SSO) settings in your SAP account when it accesses
4168
+ # your SAP OData instance.
4169
+ #
4170
+ # Whether you need this option depends on the types of credentials
4171
+ # that you applied to your SAP OData connection profile. If your
4172
+ # profile uses basic authentication credentials, SAP SSO can prevent
4173
+ # Amazon AppFlow from connecting to your account with your username
4174
+ # and password. In this case, bypassing SSO makes it possible for
4175
+ # Amazon AppFlow to connect successfully. However, if your profile
4176
+ # uses OAuth credentials, this parameter has no affect.
4177
+ # @return [Boolean]
4178
+ #
4087
4179
  # @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/SAPODataConnectorProfileProperties AWS API Documentation
4088
4180
  #
4089
4181
  class SAPODataConnectorProfileProperties < Struct.new(
@@ -4093,7 +4185,8 @@ module Aws::Appflow
4093
4185
  :client_number,
4094
4186
  :logon_language,
4095
4187
  :private_link_service_name,
4096
- :o_auth_properties)
4188
+ :o_auth_properties,
4189
+ :disable_sso)
4097
4190
  SENSITIVE = []
4098
4191
  include Aws::Structure
4099
4192
  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.43.0'
55
+ GEM_VERSION = '1.45.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.43.0
4
+ version: 1.45.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-06-15 00:00:00.000000000 Z
11
+ date: 2023-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core