Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class UpdateTableObjectsCommandProtected

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

Example

Use a bare-bones client and the command you need to make an API call.

import { LakeFormationClient, UpdateTableObjectsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, UpdateTableObjectsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const client = new LakeFormationClient(config);
const input = { // UpdateTableObjectsRequest
CatalogId: "STRING_VALUE",
DatabaseName: "STRING_VALUE", // required
TableName: "STRING_VALUE", // required
TransactionId: "STRING_VALUE",
WriteOperations: [ // WriteOperationList // required
{ // WriteOperation
AddObject: { // AddObjectInput
Uri: "STRING_VALUE", // required
ETag: "STRING_VALUE", // required
Size: Number("long"), // required
PartitionValues: [ // PartitionValuesList
"STRING_VALUE",
],
},
DeleteObject: { // DeleteObjectInput
Uri: "STRING_VALUE", // required
ETag: "STRING_VALUE",
PartitionValues: [
"STRING_VALUE",
],
},
},
],
};
const command = new UpdateTableObjectsCommand(input);
const response = await client.send(command);
// {};

Param

UpdateTableObjectsCommandInput

Returns

UpdateTableObjectsCommandOutput

See

Throws

ConcurrentModificationException (client fault)

Two processes are trying to modify a resource simultaneously.

Throws

EntityNotFoundException (client fault)

A specified entity does not exist.

Throws

InternalServiceException (server fault)

An internal service error occurred.

Throws

InvalidInputException (client fault)

The input provided was not valid.

Throws

OperationTimeoutException (client fault)

The operation timed out.

Throws

ResourceNotReadyException (client fault)

Contains details about an error related to a resource which is not ready for a transaction.

Throws

TransactionCanceledException (client fault)

Contains details about an error related to a transaction that was cancelled.

Throws

TransactionCommitInProgressException (client fault)

Contains details about an error related to a transaction commit that was in progress.

Throws

TransactionCommittedException (client fault)

Contains details about an error where the specified transaction has already been committed and cannot be used for UpdateTableObjects.

Throws

LakeFormationServiceException

Base exception class for all service exceptions from LakeFormation service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods