Amazon Kendra · Arazzo Workflow
Amazon Kendra Resolve Index by Name and Query
Version 1.0.0
Look up an index by name, confirm it is active, and run a search query against it.
View Spec
View on GitHub
AIEnterprise SearchKnowledge ManagementMachine LearningNatural LanguageArazzoWorkflows
Provider
Workflows
resolve-index-and-query
Find an index by name, confirm it is ACTIVE, then query it.
Lists indexes to resolve a name to an id, confirms the index is ACTIVE with DescribeIndex, and runs a search query.
1
listIndexes
ListIndexes
List the account indexes and capture the id of the index whose name matches the supplied indexName.
2
confirmIndexActive
DescribeIndex
Confirm the matched index is ACTIVE before sending query traffic, so queries are not issued against an index that is still building or failed.
3
query
Query
Run the search query against the resolved, active index and return the ranked result items.