aws-sdk-appflow 1.43.0 → 1.44.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-appflow/client.rb +91 -1
- data/lib/aws-sdk-appflow/client_api.rb +23 -0
- data/lib/aws-sdk-appflow/endpoints.rb +14 -0
- data/lib/aws-sdk-appflow/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-appflow/types.rb +78 -0
- 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: 04a3f5ededad875ff95fc38b621dfd1d21babe2d2a76e95e8b933fa3649a5898
|
4
|
+
data.tar.gz: 07cc24d22696777f627b15c98fc974b0d24a91896c9add2cda4e3aa81ce94d47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b0628e9689c3382d0f7f6b51b9f0e71db0830b16f43994017877f63b06564960da9932406e1c8eea991ba00dd76e1f09b54bf42005175f8b2bcb7323080e814
|
7
|
+
data.tar.gz: 1a01d052e3d92de172a5592346a36d1a816b2d715e37311fbed9261aca7d170c22955aeb25b4893fc56c482e48df9ddd0968877ea589f6c170eaff1d7bdeed11
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -2219,6 +2219,96 @@ module Aws::Appflow
|
|
2219
2219
|
req.send_request(options)
|
2220
2220
|
end
|
2221
2221
|
|
2222
|
+
# Resets metadata about your connector entities that Amazon AppFlow
|
2223
|
+
# stored in its cache. Use this action when you want Amazon AppFlow to
|
2224
|
+
# return the latest information about the data that you have in a source
|
2225
|
+
# application.
|
2226
|
+
#
|
2227
|
+
# Amazon AppFlow returns metadata about your entities when you use the
|
2228
|
+
# ListConnectorEntities or DescribeConnectorEntities actions. Following
|
2229
|
+
# these actions, Amazon AppFlow caches the metadata to reduce the number
|
2230
|
+
# of API requests that it must send to the source application. Amazon
|
2231
|
+
# AppFlow automatically resets the cache once every hour, but you can
|
2232
|
+
# use this action when you want to get the latest metadata right away.
|
2233
|
+
#
|
2234
|
+
# @option params [String] :connector_profile_name
|
2235
|
+
# The name of the connector profile that you want to reset cached
|
2236
|
+
# metadata for.
|
2237
|
+
#
|
2238
|
+
# You can omit this parameter if you're resetting the cache for any of
|
2239
|
+
# the following connectors: Amazon Connect, Amazon EventBridge, Amazon
|
2240
|
+
# Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the
|
2241
|
+
# cache for any other connector, you must include this parameter in your
|
2242
|
+
# request.
|
2243
|
+
#
|
2244
|
+
# @option params [String] :connector_type
|
2245
|
+
# The type of connector to reset cached metadata for.
|
2246
|
+
#
|
2247
|
+
# You must include this parameter in your request if you're resetting
|
2248
|
+
# the cache for any of the following connectors: Amazon Connect, Amazon
|
2249
|
+
# EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If
|
2250
|
+
# you're resetting the cache for any other connector, you can omit this
|
2251
|
+
# parameter from your request.
|
2252
|
+
#
|
2253
|
+
# @option params [String] :connector_entity_name
|
2254
|
+
# Use this parameter if you want to reset cached metadata about the
|
2255
|
+
# details for an individual entity.
|
2256
|
+
#
|
2257
|
+
# If you don't include this parameter in your request, Amazon AppFlow
|
2258
|
+
# only resets cached metadata about entity names, not entity details.
|
2259
|
+
#
|
2260
|
+
# @option params [String] :entities_path
|
2261
|
+
# Use this parameter only if you’re resetting the cached metadata about
|
2262
|
+
# a nested entity. Only some connectors support nested entities. A
|
2263
|
+
# nested entity is one that has another entity as a parent. To use this
|
2264
|
+
# parameter, specify the name of the parent entity.
|
2265
|
+
#
|
2266
|
+
# To look up the parent-child relationship of entities, you can send a
|
2267
|
+
# ListConnectorEntities request that omits the entitiesPath parameter.
|
2268
|
+
# Amazon AppFlow will return a list of top-level entities. For each one,
|
2269
|
+
# it indicates whether the entity has nested entities. Then, in a
|
2270
|
+
# subsequent ListConnectorEntities request, you can specify a parent
|
2271
|
+
# entity name for the entitiesPath parameter. Amazon AppFlow will return
|
2272
|
+
# a list of the child entities for that parent.
|
2273
|
+
#
|
2274
|
+
# @option params [String] :api_version
|
2275
|
+
# The API version that you specified in the connector profile that
|
2276
|
+
# you’re resetting cached metadata for. You must use this parameter only
|
2277
|
+
# if the connector supports multiple API versions or if the connector
|
2278
|
+
# type is CustomConnector.
|
2279
|
+
#
|
2280
|
+
# To look up how many versions a connector supports, use the
|
2281
|
+
# DescribeConnectors action. In the response, find the value that Amazon
|
2282
|
+
# AppFlow returns for the connectorVersion parameter.
|
2283
|
+
#
|
2284
|
+
# To look up the connector type, use the DescribeConnectorProfiles
|
2285
|
+
# action. In the response, find the value that Amazon AppFlow returns
|
2286
|
+
# for the connectorType parameter.
|
2287
|
+
#
|
2288
|
+
# To look up the API version that you specified in a connector profile,
|
2289
|
+
# use the DescribeConnectorProfiles action.
|
2290
|
+
#
|
2291
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
2292
|
+
#
|
2293
|
+
# @example Request syntax with placeholder values
|
2294
|
+
#
|
2295
|
+
# resp = client.reset_connector_metadata_cache({
|
2296
|
+
# connector_profile_name: "ConnectorProfileName",
|
2297
|
+
# 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
|
2298
|
+
# connector_entity_name: "EntityName",
|
2299
|
+
# entities_path: "EntitiesPath",
|
2300
|
+
# api_version: "ApiVersion",
|
2301
|
+
# })
|
2302
|
+
#
|
2303
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/appflow-2020-08-23/ResetConnectorMetadataCache AWS API Documentation
|
2304
|
+
#
|
2305
|
+
# @overload reset_connector_metadata_cache(params = {})
|
2306
|
+
# @param [Hash] params ({})
|
2307
|
+
def reset_connector_metadata_cache(params = {}, options = {})
|
2308
|
+
req = build_request(:reset_connector_metadata_cache, params)
|
2309
|
+
req.send_request(options)
|
2310
|
+
end
|
2311
|
+
|
2222
2312
|
# Activates an existing flow. For on-demand flows, this operation runs
|
2223
2313
|
# the flow immediately. For schedule and event-triggered flows, this
|
2224
2314
|
# operation activates the flow.
|
@@ -3124,7 +3214,7 @@ module Aws::Appflow
|
|
3124
3214
|
params: params,
|
3125
3215
|
config: config)
|
3126
3216
|
context[:gem_name] = 'aws-sdk-appflow'
|
3127
|
-
context[:gem_version] = '1.
|
3217
|
+
context[:gem_version] = '1.44.0'
|
3128
3218
|
Seahorse::Client::Request.new(handlers, context)
|
3129
3219
|
end
|
3130
3220
|
|
@@ -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
|
|
@@ -1827,6 +1838,18 @@ module Aws::Appflow
|
|
1827
1838
|
o.errors << Shapes::ShapeRef.new(shape: ConnectorAuthenticationException)
|
1828
1839
|
end)
|
1829
1840
|
|
1841
|
+
api.add_operation(:reset_connector_metadata_cache, Seahorse::Model::Operation.new.tap do |o|
|
1842
|
+
o.name = "ResetConnectorMetadataCache"
|
1843
|
+
o.http_method = "POST"
|
1844
|
+
o.http_request_uri = "/reset-connector-metadata-cache"
|
1845
|
+
o.input = Shapes::ShapeRef.new(shape: ResetConnectorMetadataCacheRequest)
|
1846
|
+
o.output = Shapes::ShapeRef.new(shape: ResetConnectorMetadataCacheResponse)
|
1847
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1848
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1849
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1851
|
+
end)
|
1852
|
+
|
1830
1853
|
api.add_operation(:start_flow, Seahorse::Model::Operation.new.tap do |o|
|
1831
1854
|
o.name = "StartFlow"
|
1832
1855
|
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
|
#
|
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.44.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-
|
11
|
+
date: 2023-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|