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

# POST /UpdateTableObjects

`POST /UpdateTableObjects`

Updates the manifest of Amazon S3 objects that make up the specified governed table.

## Request body

- object
  - `CatalogId` string — The catalog containing the governed table to update. Defaults to the caller’s account ID.
  - `DatabaseName` string, required — The database containing the governed table to update.
  - `TableName` string, required — The governed table to update.
  - `TransactionId` string — The transaction at which to do the write.
  - `WriteOperations` WriteOperation[], required — A list of <code>WriteOperation</code> objects that define an object to add to or delete from the manifest for a governed table.
    - `AddObject` object — A new object to add to the governed table.
      - `Uri` string, required — The Amazon S3 location of the object.
      - `ETag` string, required — The Amazon S3 ETag of the object. Returned by <code>GetTableObjects</code> for validation and used to identify changes to the underlying data.
      - `Size` integer, required — The size of the Amazon S3 object in bytes.
      - `PartitionValues` PartitionValueString[] — <p>A list of partition values for the object. A value must be specified for each partition key associated with the table.</p> <p>The supported data types are integer, long, date(yyyy-MM-dd), timestamp(yyyy-MM-dd HH:mm:ssXXX or yyyy-MM-dd HH:mm:ss"), string and decimal.</p>
    - `DeleteObject` object — An object to delete from the governed table.
      - `Uri` string, required — The Amazon S3 location of the object to delete.
      - `ETag` string — The Amazon S3 ETag of the object. Returned by <code>GetTableObjects</code> for validation and used to identify changes to the underlying data.
      - `PartitionValues` PartitionValueString[] — A list of partition values for the object. A value must be specified for each partition key associated with the governed table.

## Response `200`

Success

- UpdateTableObjectsResponse

## Other responses

- `480` — InternalServiceException
- `481` — InvalidInputException
- `482` — OperationTimeoutException
- `483` — EntityNotFoundException
- `484` — TransactionCommittedException
- `485` — TransactionCanceledException
- `486` — TransactionCommitInProgressException
- `487` — ResourceNotReadyException
- `488` — ConcurrentModificationException

---

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