Amazon HealthLake · Arazzo Workflow

Amazon HealthLake Delete FHIR Data Store and Confirm Removal

Version 1.0.0

Delete a FHIR data store and poll its status until it reports DELETED.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub FHIRHealth DataHealthcareHIPAACloud ComputingArazzoWorkflows

Provider

amazon-healthlake

Workflows

delete-fhir-datastore-and-confirm
Delete a FHIR data store and wait until it reports DELETED.
Calls DeleteFHIRDatastore for the supplied data store id, then repeatedly describes the data store until its status is DELETED.
2 steps inputs: DatastoreId outputs: datastoreArn, datastoreId, datastoreStatus
1
deleteDatastore
Request deletion of the FHIR data store. The response echoes the data store id, ARN, status, and endpoint.
2
pollDatastore
Describe the data store and inspect its status. While the status is DELETING the step loops back to itself; once the status is DELETED the workflow ends.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Amazon HealthLake Delete FHIR Data Store and Confirm Removal
  summary: Delete a FHIR data store and poll its status until it reports DELETED.
  description: >-
    Requests deletion of an Amazon HealthLake FHIR data store and then polls the
    data store's properties until its status transitions through DELETING to
    DELETED. The delete call acknowledges the request and the describe call is
    re-issued on the same data store id, looping while the data store is still
    DELETING and ending once it reports DELETED. Each step inlines its AWS JSON
    request body and the X-Amz-Target header that selects the HealthLake
    operation so the flow can be read and executed directly.
  version: 1.0.0
sourceDescriptions:
- name: xAmzTargetHealthlakeDeletefhirdatastoreApi
  url: ../openapi/amazon-healthlake-x-amz-target-healthlake-deletefhirdatastore-api-openapi.yml
  type: openapi
- name: xAmzTargetHealthlakeDescribefhirdatastoreApi
  url: ../openapi/amazon-healthlake-x-amz-target-healthlake-describefhirdatastore-api-openapi.yml
  type: openapi
workflows:
- workflowId: delete-fhir-datastore-and-confirm
  summary: Delete a FHIR data store and wait until it reports DELETED.
  description: >-
    Calls DeleteFHIRDatastore for the supplied data store id, then repeatedly
    describes the data store until its status is DELETED.
  inputs:
    type: object
    required:
    - DatastoreId
    properties:
      DatastoreId:
        type: string
        description: The AWS-generated ID for the data store to be deleted.
  steps:
  - stepId: deleteDatastore
    description: >-
      Request deletion of the FHIR data store. The response echoes the data
      store id, ARN, status, and endpoint.
    operationId: DeleteFHIRDatastore
    parameters:
    - name: X-Amz-Target
      in: header
      value: HealthLake.DeleteFHIRDatastore
    requestBody:
      contentType: application/json
      payload:
        DatastoreId: $inputs.DatastoreId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      datastoreId: $response.body#/DatastoreId
      datastoreArn: $response.body#/DatastoreArn
      datastoreStatus: $response.body#/DatastoreStatus
  - stepId: pollDatastore
    description: >-
      Describe the data store and inspect its status. While the status is
      DELETING the step loops back to itself; once the status is DELETED the
      workflow ends.
    operationId: DescribeFHIRDatastore
    parameters:
    - name: X-Amz-Target
      in: header
      value: HealthLake.DescribeFHIRDatastore
    requestBody:
      contentType: application/json
      payload:
        DatastoreId: $inputs.DatastoreId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      datastoreStatus: $response.body#/DatastoreProperties/DatastoreStatus
    onSuccess:
    - name: datastoreDeleted
      type: end
      criteria:
      - context: $response.body
        condition: $.DatastoreProperties.DatastoreStatus == "DELETED"
        type: jsonpath
    - name: datastoreStillDeleting
      type: goto
      stepId: pollDatastore
      criteria:
      - context: $response.body
        condition: $.DatastoreProperties.DatastoreStatus == "DELETING"
        type: jsonpath
  outputs:
    datastoreId: $steps.deleteDatastore.outputs.datastoreId
    datastoreArn: $steps.deleteDatastore.outputs.datastoreArn
    datastoreStatus: $steps.pollDatastore.outputs.datastoreStatus

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-healthlake-delete-fhir-datastore-and-confirm-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.