View a markdown version of this page

Edit and remove a mapping - AWS Context

Edit and remove a mapping

You edit and remove mappings from the Agent Context’s Connection mappings tab. The Agent Context must be active.

  • Edit a mapping – Choose the mapping, and then choose Edit connection mapping. The filters and ontology choice live on the mapping, so that is what you edit. To change which part of the source the connection exposes, change the connection’s scope instead (see Filters and scoping a connection).

  • Remove a mapping – Choose the mapping, and then choose Remove connection mapping. AWS Context removes the data that only that connection produced. It also archives the connection’s pending proposals. Data that another mapped connection also produced stays. If the removed connection read that data, AWS Context now reads it through the remaining connection with the earliest mapping. For more information, see When several connections reach the same data. AWS Context doesn’t delete the connection or the ontologies, and other mappings and Agent Contexts can still use them.

While AWS Context is removing a connection’s data from an Agent Context, you cannot delete the connection. Retry once the removal finishes.

Through the API, UpdateAgentContext takes the full connectionMappings list and replaces the stored list with it: entries only in your list are added, stored entries missing from your list are removed, and entries in both are overwritten. Omit connectionMappings to leave the mappings unchanged. Proposals archived by a removal carry the reason CONNECTION_REMOVED.