dynobase-icon
Dynobase

DynamoDB: Get Table (Guide w/ Code Examples)

Rafal Wilinski

Provided by Rafal Wilinski

To get a table using the AWS JavaScript SDK, you can use the describeTable method. It returns the table's metadata, including its primary key schema, provisioned throughput, and current status. The data returned is passed as an argument to the callback function.

const AWS = require('aws-sdk'); const dynamodb = new AWS.DynamoDB(); const params = { TableName: 'myTable' }; dynamodb.describeTable(params, (err, data) => { if (err) { console.error(err); } else { console.log(data); } });

Dynobase is a Professional GUI Client for DynamoDB

Start your 7-day free trial today

Product Features

Download
/
Changelog
/
Pricing
/
Member Portal
/
Privacy
/
EULA
/
Twitter
/
Affiliates & Influencers
© 2024 Dynobase
+
Still using AWS DynamoDB Console?
Try Dynobase to accelerate your DynamoDB workflow. Start your 7-day free trial today.