Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class GetTableObjectsCommandProtected

Returns the set of Amazon S3 objects that make up the specified governed table. A transaction ID or timestamp can be specified for time-travel queries.

Example

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

import { LakeFormationClient, GetTableObjectsCommand } from "@aws-sdk/client-lakeformation"; // ES Modules import
// const { LakeFormationClient, GetTableObjectsCommand } = require("@aws-sdk/client-lakeformation"); // CommonJS import
const client = new LakeFormationClient(config);
const input = { // GetTableObjectsRequest
CatalogId: "STRING_VALUE",
DatabaseName: "STRING_VALUE", // required
TableName: "STRING_VALUE", // required
TransactionId: "STRING_VALUE",
QueryAsOfTime: new Date("TIMESTAMP"),
PartitionPredicate: "STRING_VALUE",
MaxResults: Number("int"),
NextToken: "STRING_VALUE",
};
const command = new GetTableObjectsCommand(input);
const response = await client.send(command);
// { // GetTableObjectsResponse
// Objects: [ // PartitionedTableObjectsList
// { // PartitionObjects
// PartitionValues: [ // PartitionValuesList
// "STRING_VALUE",
// ],
// Objects: [ // TableObjectList
// { // TableObject
// Uri: "STRING_VALUE",
// ETag: "STRING_VALUE",
// Size: Number("long"),
// },
// ],
// },
// ],
// NextToken: "STRING_VALUE",
// };

Param

GetTableObjectsCommandInput

Returns

GetTableObjectsCommandOutput

See

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

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