---
title: "POST /UpdateResource"
method: POST
path: "/UpdateResource"
---

# POST /UpdateResource

`POST /UpdateResource`

Updates the data access role used for vending access to the given (registered) resource in Lake Formation.

## Request body

- object
  - `RoleArn` string, required — The new role to use for the given resource registered in Lake Formation.
  - `ResourceArn` string, required — The resource ARN.
  - `WithFederation` boolean — Whether or not the resource is a federated resource.

## Response `200`

Success

- UpdateResourceResponse

## Other responses

- `480` — InvalidInputException
- `481` — InternalServiceException
- `482` — OperationTimeoutException
- `483` — EntityNotFoundException

---

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