Amazon Neptune · Arazzo Workflow

Amazon Neptune Cancel a Running Bulk Load

Version 1.0.0

Look up a bulk load job's status and cancel it only if it is still in progress.

1 workflow 1 source API 1 provider
View Spec View on GitHub DatabaseGraph DatabaseGremlinNeptuneProperty GraphRDFSPARQLArazzoWorkflows

Provider

amazon-neptune

Workflows

loader-cancel-running-job
Cancel a bulk load job only when it is still in progress.
Reads a load job's status, and cancels it only if the overall status is LOAD_IN_PROGRESS; otherwise ends without action.
2 steps inputs: loadId outputs: cancelStatus, overallStatus
1
getStatus
Read the current status of the load job and capture the overall status so the cancel decision can be made.
2
cancelLoad
Cancel the in-progress load job. Must run against the read/write cluster endpoint, not a read replica.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon Neptune Cancel a Running Bulk Load
  summary: Look up a bulk load job's status and cancel it only if it is still in progress.
  description: >-
    A guarded cancellation flow for the Neptune bulk Loader endpoint. The
    workflow reads the current status of a load job, and then branches: when the
    overall status is LOAD_IN_PROGRESS it cancels the job against the read/write
    cluster endpoint, and when the load has already finished it ends without
    issuing a cancel. Every step spells out its request inline so the flow can be
    read and executed without opening the underlying OpenAPI description.
  version: 1.0.0
sourceDescriptions:
- name: loaderApi
  url: ../openapi/amazon-neptune-loader-api-openapi.yml
  type: openapi
workflows:
- workflowId: loader-cancel-running-job
  summary: Cancel a bulk load job only when it is still in progress.
  description: >-
    Reads a load job's status, and cancels it only if the overall status is
    LOAD_IN_PROGRESS; otherwise ends without action.
  inputs:
    type: object
    required:
    - loadId
    properties:
      loadId:
        type: string
        description: The unique identifier of the bulk load job to inspect and cancel.
  steps:
  - stepId: getStatus
    description: >-
      Read the current status of the load job and capture the overall status so
      the cancel decision can be made.
    operationId: getLoaderJobStatus
    parameters:
    - name: loadId
      in: path
      value: $inputs.loadId
    - name: details
      in: query
      value: true
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      overallStatus: $response.body#/payload/overallStatus/status
    onSuccess:
    - name: stillRunning
      type: goto
      stepId: cancelLoad
      criteria:
      - context: $response.body
        condition: $.payload.overallStatus.status == "LOAD_IN_PROGRESS"
        type: jsonpath
    - name: alreadyDone
      type: end
      criteria:
      - context: $response.body
        condition: $.payload.overallStatus.status != "LOAD_IN_PROGRESS"
        type: jsonpath
  - stepId: cancelLoad
    description: >-
      Cancel the in-progress load job. Must run against the read/write cluster
      endpoint, not a read replica.
    operationId: cancelLoaderJob
    parameters:
    - name: loadId
      in: path
      value: $inputs.loadId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      cancelStatus: $statusCode
  outputs:
    overallStatus: $steps.getStatus.outputs.overallStatus
    cancelStatus: $steps.cancelLoad.outputs.cancelStatus

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-neptune-loader-cancel-running-job-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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