---
title: "PATCH /resource-profiles#resourceArn"
method: PATCH
path: "/resource-profiles#resourceArn"
---

# PATCH /resource-profiles#resourceArn

`PATCH /resource-profiles#resourceArn`

Updates the sensitivity score for an S3 bucket.

## Query parameters

- `resourceArn` string, required

## Request body

- object
  - `sensitivityScoreOverride` integer — The new sensitivity score for the bucket. Valid values are: 100, assign the maximum score and apply the <i>Sensitive</i> label to the bucket; and, null (empty), assign a score that Amazon Macie calculates automatically after you submit the request.

## Response `200`

Success

- UpdateResourceProfileResponse

## Other responses

- `480` — ValidationException
- `481` — InternalServerException
- `482` — ServiceQuotaExceededException
- `483` — AccessDeniedException
- `484` — ResourceNotFoundException
- `485` — ThrottlingException

---

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