We are excited to announce our new API Documentation.
Protected
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.
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 importconst 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",// };
GetTableObjectsCommandInput
GetTableObjectsCommandOutput
input
response
config
EntityNotFoundException (client fault)
A specified entity does not exist.
InternalServiceException (server fault)
An internal service error occurred.
InvalidInputException (client fault)
The input provided was not valid.
OperationTimeoutException (client fault)
The operation timed out.
ResourceNotReadyException (client fault)
Contains details about an error related to a resource which is not ready for a transaction.
TransactionCanceledException (client fault)
Contains details about an error related to a transaction that was cancelled.
TransactionCommittedException (client fault)
Contains details about an error where the specified transaction has already been committed and cannot be used for UpdateTableObjects.
UpdateTableObjects
LakeFormationServiceException
Base exception class for all service exceptions from LakeFormation service.
Readonly
Static
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.
Param
GetTableObjectsCommandInput
Returns
GetTableObjectsCommandOutput
See
input
shape.response
shape.config
shape.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.