capabilities.work

Teardown Data Source and Index

A 3-step recipe with Amazon Kendra. We can help you get access.

Recipe · 3 steps

Teardown Data Source and Index

Delete a data source, wait until it is gone, then delete the index.

  1. Delete the data source connector so the index no longer crawls the source repository.
  2. Poll the data source list until the deleted connector no longer appears, confirming deletion finished before removing the index.
  3. Delete the index now that its data source connector has been removed.
What you'll need to have ready
  • indexId: The identifier of the index to tear down.
  • dataSourceId: The identifier of the data source connector to delete first.
For your developer

Arazzo workflow amazon-kendra:teardown-data-source-and-index, 3 operations: DeleteDataSource → ListDataSources → DeleteIndex. Specs on APIs.io.