ResetConnectorMetadataCache
Source:
src/AWS/AppFlow/ResetConnectorMetadataCache.ts
Runtime binding for appflow:ResetConnectorMetadataCache.
Bind this operation to a ConnectorProfile in the function’s init
phase to get a callable that clears AppFlow’s cached entity metadata for
the profile, so the next ListConnectorEntities /
DescribeConnectorEntity call fetches fresh metadata from the connected
application. The connector profile name is injected automatically and
appflow:ResetConnectorMetadataCache is granted on the profile. Provide
the implementation with
Effect.provide(AWS.AppFlow.ResetConnectorMetadataCacheHttp).
Discovering Connector Entities
Section titled “Discovering Connector Entities”// init — bind the operation to the connector profileconst resetConnectorMetadataCache = yield* AWS.AppFlow.ResetConnectorMetadataCache(profile);
// runtime — drop the cache before re-listing entitiesyield* resetConnectorMetadataCache();const fresh = yield* listConnectorEntities();