Home icon

Exploring Amazon DynamoDB SDK clients

Blog



This article explores the differences between low-level and high-level SDK clients for interacting with Amazon DynamoDB. It provides an overview of how DynamoDB stores data in a specialized DynamoDB-JSON format with data type annotations.

Specifically, the article covers:

  • The low-level client, which provides a direct interface to the DynamoDB API, allowing fine-grained control and access to advanced features.
  • The high-level client, which offers a more abstracted and simplified interface, handling low-level details and automating tasks like pagination and error handling.
  • Code examples demonstrating the use of low-level and high-level clients in Node.js (JavaScript) and Python (Boto3) SDKs.
  • How to convert between native JSON and DynamoDB-JSON formats using the marshall/unmarshall (serialize/deserialize) functions.
  • A table summarizing the availability of high-level and low-level DynamoDB clients across various programming languages.
  • Conclusion: The choice between low-level and high-level clients depends on the requirements, with low-level offering more control and high-level providing simplicity for common use cases.


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.