Amazon Kendra · Arazzo Workflow
Amazon Kendra Sync Data Source and Query
Version 1.0.0
Start a data source sync job on an existing connector, wait for it to succeed, then query the refreshed index.
View Spec
View on GitHub
AIEnterprise SearchKnowledge ManagementMachine LearningNatural LanguageArazzoWorkflows
Provider
Workflows
sync-data-source-and-query
Start a sync job, wait for SUCCEEDED, then query the refreshed index.
Starts a synchronization job on an existing data source, polls the sync job list until it succeeds, and runs a search query against the refreshed index.
1
startSyncJob
StartDataSourceSyncJob
Start an on-demand synchronization job for the data source connector so it re-crawls and re-indexes the source repository.
2
waitForSyncComplete
ListDataSourceSyncJobs
Poll the list of sync jobs until the most recent job leaves the SYNCING state and reports SUCCEEDED, confirming the crawl finished.
3
query
Query
Run the search query against the refreshed index so newly synced documents are reflected in the results.