Amazon Kendra · Arazzo Workflow

Amazon Kendra Reschedule and Resync Data Source

Version 1.0.0

Update a data source's sync schedule, trigger an immediate sync, and wait for that sync to succeed.

1 workflow 1 source API 1 provider
View Spec View on GitHub Artificial IntelligenceEnterprise SearchKnowledge-ManagementMachine-LearningNatural-LanguageArazzoWorkflows

Provider

amazon-kendra

Workflows

reschedule-and-resync-data-source
Update a data source schedule, start a sync, and wait for SUCCEEDED.
Updates the data source sync schedule, starts an on-demand sync, and polls until the sync succeeds.
3 steps inputs: dataSourceId, indexId outputs: executionId, history
1
updateSchedule
UpdateDataSource
Update the data source connector with its new recurring crawl schedule.
2
startSyncJob
StartDataSourceSyncJob
Start an immediate on-demand sync so the updated configuration takes effect without waiting for the next scheduled window.
3
waitForSyncComplete
ListDataSourceSyncJobs
Poll the sync job list until the most recent job leaves SYNCING and reports SUCCEEDED.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Kendra Reschedule and Resync Data Source
  summary: Update a data source's sync schedule, trigger an immediate sync, and wait for that sync to succeed.
  description: >-
    Updates the recurring crawl schedule on an existing Amazon Kendra data source
    connector, immediately kicks off an on-demand sync so the new content is
    available without waiting for the next scheduled window, and polls
    ListDataSourceSyncJobs until that sync leaves SYNCING and reaches SUCCEEDED.
    Each step inlines its request, including the AWS JSON protocol X-Amz-Target
    header, so the flow can be read and executed without opening the underlying
    OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: kendraApi
  url: ../openapi/amazon-kendra-openapi.yml
  type: openapi
workflows:
- workflowId: reschedule-and-resync-data-source
  summary: Update a data source schedule, start a sync, and wait for SUCCEEDED.
  description: >-
    Updates the data source sync schedule, starts an on-demand sync, and polls
    until the sync succeeds.
  inputs:
    type: object
    required:
    - indexId
    - dataSourceId
    properties:
      indexId:
        type: string
        description: The identifier of the index that owns the data source.
      dataSourceId:
        type: string
        description: The identifier of the data source to reschedule and resync.
  steps:
  - stepId: updateSchedule
    description: >-
      Update the data source connector with its new recurring crawl schedule.
    operationId: UpdateDataSource
    parameters:
    - name: IndexId
      in: path
      value: $inputs.indexId
    - name: DataSourceId
      in: path
      value: $inputs.dataSourceId
    - name: X-Amz-Target
      in: header
      value: AWSKendraFrontendService.UpdateDataSource
    successCriteria:
    - condition: $statusCode == 200
  - stepId: startSyncJob
    description: >-
      Start an immediate on-demand sync so the updated configuration takes effect
      without waiting for the next scheduled window.
    operationId: StartDataSourceSyncJob
    parameters:
    - name: IndexId
      in: path
      value: $inputs.indexId
    - name: DataSourceId
      in: path
      value: $inputs.dataSourceId
    - name: X-Amz-Target
      in: header
      value: AWSKendraFrontendService.StartDataSourceSyncJob
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      executionId: $response.body#/ExecutionId
  - stepId: waitForSyncComplete
    description: >-
      Poll the sync job list until the most recent job leaves SYNCING and reports
      SUCCEEDED.
    operationId: ListDataSourceSyncJobs
    parameters:
    - name: IndexId
      in: path
      value: $inputs.indexId
    - name: DataSourceId
      in: path
      value: $inputs.dataSourceId
    - name: X-Amz-Target
      in: header
      value: AWSKendraFrontendService.ListDataSourceSyncJobs
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      history: $response.body#/History
    onSuccess:
    - name: syncSucceeded
      type: end
      criteria:
      - context: $response.body
        condition: $.History[0].Status == "SUCCEEDED"
        type: jsonpath
    onFailure:
    - name: retrySyncStatus
      type: retry
      stepId: waitForSyncComplete
      retryAfter: 30
      retryLimit: 20
      criteria:
      - context: $response.body
        condition: $.History[0].Status == "SYNCING"
        type: jsonpath
  outputs:
    executionId: $steps.startSyncJob.outputs.executionId
    history: $steps.waitForSyncComplete.outputs.history

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/amazon-kendra-reschedule-and-resync-data-source-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.