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

# PATCH /resource-profiles/detections#resourceArn

`PATCH /resource-profiles/detections#resourceArn`

Updates the sensitivity scoring settings for an S3 bucket.

## Query parameters

- `resourceArn` string, required

## Request body

- object
  - `suppressDataIdentifiers` SuppressDataIdentifier[] — An array of objects, one for each custom data identifier or managed data identifier that detected the type of sensitive data to start excluding or including in the bucket's score. To start including all sensitive data types in the score, don't specify any values for this array.
    - `id` string — The unique identifier for the custom data identifier or managed data identifier that detected the type of sensitive data to exclude or include in the score.
    - `type` 'CUSTOM' | 'MANAGED' — The type of data identifier that detected the sensitive data. Possible values are: CUSTOM, for a custom data identifier; and, MANAGED, for a managed data identifier.

## Response `200`

Success

- UpdateResourceProfileDetectionsResponse

## 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)
