Skip to content

Commit c35be0c

Browse files
AWSL-Applin
authored andcommitted
Amazon Appflow Update: This release adds new API to reset connector metadata cache
1 parent 48808f5 commit c35be0c

File tree

2 files changed

+52
-0
lines changed

2 files changed

+52
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Appflow",
4+
"contributor": "",
5+
"description": "This release adds new API to reset connector metadata cache"
6+
}

services/appflow/src/main/resources/codegen-resources/service-2.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,22 @@
265265
],
266266
"documentation":"<p>Registers a new custom connector with your Amazon Web Services account. Before you can register the connector, you must deploy the associated AWS lambda function in your account.</p>"
267267
},
268+
"ResetConnectorMetadataCache":{
269+
"name":"ResetConnectorMetadataCache",
270+
"http":{
271+
"method":"POST",
272+
"requestUri":"/reset-connector-metadata-cache"
273+
},
274+
"input":{"shape":"ResetConnectorMetadataCacheRequest"},
275+
"output":{"shape":"ResetConnectorMetadataCacheResponse"},
276+
"errors":[
277+
{"shape":"ValidationException"},
278+
{"shape":"ResourceNotFoundException"},
279+
{"shape":"ConflictException"},
280+
{"shape":"InternalServerException"}
281+
],
282+
"documentation":"<p>Resets metadata about your connector entities that Amazon AppFlow stored in its cache. Use this action when you want Amazon AppFlow to return the latest information about the data that you have in a source application.</p> <p>Amazon AppFlow returns metadata about your entities when you use the ListConnectorEntities or DescribeConnectorEntities actions. Following these actions, Amazon AppFlow caches the metadata to reduce the number of API requests that it must send to the source application. Amazon AppFlow automatically resets the cache once every hour, but you can use this action when you want to get the latest metadata right away.</p>"
283+
},
268284
"StartFlow":{
269285
"name":"StartFlow",
270286
"http":{
@@ -4067,6 +4083,36 @@
40674083
},
40684084
"documentation":"<p>Describes the status of an attempt from Amazon AppFlow to register a resource.</p> <p>When you run a flow that you've configured to use a metadata catalog, Amazon AppFlow registers a metadata table and data partitions with that catalog. This operation provides the status of that registration attempt. The operation also indicates how many related resources Amazon AppFlow created or updated.</p>"
40694085
},
4086+
"ResetConnectorMetadataCacheRequest":{
4087+
"type":"structure",
4088+
"members":{
4089+
"connectorProfileName":{
4090+
"shape":"ConnectorProfileName",
4091+
"documentation":"<p>The name of the connector profile that you want to reset cached metadata for.</p> <p>You can omit this parameter if you're resetting the cache for any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you must include this parameter in your request.</p>"
4092+
},
4093+
"connectorType":{
4094+
"shape":"ConnectorType",
4095+
"documentation":"<p>The type of connector to reset cached metadata for.</p> <p>You must include this parameter in your request if you're resetting the cache for any of the following connectors: Amazon Connect, Amazon EventBridge, Amazon Lookout for Metrics, Amazon S3, or Upsolver. If you're resetting the cache for any other connector, you can omit this parameter from your request. </p>"
4096+
},
4097+
"connectorEntityName":{
4098+
"shape":"EntityName",
4099+
"documentation":"<p>Use this parameter if you want to reset cached metadata about the details for an individual entity.</p> <p>If you don't include this parameter in your request, Amazon AppFlow only resets cached metadata about entity names, not entity details.</p>"
4100+
},
4101+
"entitiesPath":{
4102+
"shape":"EntitiesPath",
4103+
"documentation":"<p>Use this parameter only if you’re resetting the cached metadata about a nested entity. Only some connectors support nested entities. A nested entity is one that has another entity as a parent. To use this parameter, specify the name of the parent entity.</p> <p>To look up the parent-child relationship of entities, you can send a ListConnectorEntities request that omits the entitiesPath parameter. Amazon AppFlow will return a list of top-level entities. For each one, it indicates whether the entity has nested entities. Then, in a subsequent ListConnectorEntities request, you can specify a parent entity name for the entitiesPath parameter. Amazon AppFlow will return a list of the child entities for that parent.</p>"
4104+
},
4105+
"apiVersion":{
4106+
"shape":"ApiVersion",
4107+
"documentation":"<p>The API version that you specified in the connector profile that you’re resetting cached metadata for. You must use this parameter only if the connector supports multiple API versions or if the connector type is CustomConnector.</p> <p>To look up how many versions a connector supports, use the DescribeConnectors action. In the response, find the value that Amazon AppFlow returns for the connectorVersion parameter.</p> <p>To look up the connector type, use the DescribeConnectorProfiles action. In the response, find the value that Amazon AppFlow returns for the connectorType parameter.</p> <p>To look up the API version that you specified in a connector profile, use the DescribeConnectorProfiles action.</p>"
4108+
}
4109+
}
4110+
},
4111+
"ResetConnectorMetadataCacheResponse":{
4112+
"type":"structure",
4113+
"members":{
4114+
}
4115+
},
40704116
"ResourceNotFoundException":{
40714117
"type":"structure",
40724118
"members":{

0 commit comments

Comments
 (0)