---
title: "PUT /projects/{name}"
method: PUT
path: "/projects/{name}"
---

# PUT /projects/{name}

`PUT /projects/{name}`

Modifies the definition of an existing DataBrew project.

## Path parameters

- `name` string, required

## Request body

- object
  - `Sample` object — Represents the sample size and sampling type for DataBrew to use for interactive data analysis.
    - `Size` integer — The number of rows in the sample.
    - `Type` 'FIRST_N' | 'LAST_N' | 'RANDOM' — The way in which DataBrew obtains rows from a dataset.
  - `RoleArn` string, required — The Amazon Resource Name (ARN) of the IAM role to be assumed for this request.

## Response `200`

Success

- UpdateProjectResponse
  - `LastModifiedDate` string, date-time — The date and time that the project was last modified.
  - `Name` string, required — The name of the project that you updated.

## Other responses

- `480` — ResourceNotFoundException
- `481` — ValidationException

---

[API](https://skmtc.net/aws/apis/databrew.md) · [All operations](https://skmtc.net/aws/apis/databrew/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/databrew/versions/c06b9719d66f/schema)
