---
title: "Update AWS Data Source from File"
method: POST
path: "/v1/dataSources/aws/{awsDataSourceId}/upload"
tags: ["Cloud"]
---

# Update AWS Data Source from File

`POST /v1/dataSources/aws/{awsDataSourceId}/upload`

Update an existing AWS data source to reflect the state represented in a JSON file exported from AWS directly via the AWS CLI. Returns a jobId that can be used to monitor progress through the Get "Update AWS Data Source" Job Status endpoint.

## Path parameters

- `awsDataSourceId` string, required — AWS data source ID

## Response `202`

Accepted. Occurs when the update job has been queued.

- JobReferenceIdResponse
  - `jobId` string, required — Unique identifier for an asynchronous job

## Other responses

- `400` — Bad Request. Occurs when no file is found or the file is invalid.
- `403` — Forbidden. Occurs when the data source does not exist or the user does not have access to it.
- `409` — Conflict. Occurs when an update job is already in progress for this data source.

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
