Skip to content

ListConnectorEntities

Source: src/AWS/AppFlow/ListConnectorEntities.ts

Runtime binding for appflow:ListConnectorEntities.

Bind this operation to a ConnectorProfile in the function’s init phase to get a callable that discovers the entities the connected application exposes (e.g. Salesforce objects, database tables) — useful for dynamic schema discovery at runtime. The connector profile name is injected automatically and appflow:ListConnectorEntities is granted on the profile. Provide the implementation with Effect.provide(AWS.AppFlow.ListConnectorEntitiesHttp).

// init — bind the operation to the connector profile
const listConnectorEntities =
yield* AWS.AppFlow.ListConnectorEntities(profile);
// runtime — enumerate the connector's entities
const result = yield* listConnectorEntities();
// result.connectorEntityMap groups entities by category