AWS Clean DynamoDB Store
clean_dynamodb_store
is a Rust library designed to follow clean architecture principles, offering a straightforward and efficient DynamoDB store implementation. It simplifies interactions with AWS DynamoDB, making it easier to perform common database operations such as inserting and deleting items in a DynamoDB table.
Features
- Easy-to-use asynchronous API for DynamoDB.
- Supports basic DynamoDB operations like put (insert/update) and delete items.
- Built on top of
aws-sdk-dynamodb
for robust and up-to-date DynamoDB access. - Designed with clean architecture principles in mind.
Prerequisites
Before you begin, ensure you have met the following requirements:
- Rust 2021 edition or later.
- AWS account and configured AWS CLI or environment variables for AWS access.
Installation
Add clean_dynamodb_store
to your Cargo.toml
:
[]
= "0.0.2"
Usage
Putting an Item into a DynamoDB Table
use put_item;
use AttributeValue;
use HashMap;
async
Deleting an Item from a DynamoDB Table
use delete_item;
use AttributeValue;
use HashMap;
async
License
Distributed under the MIT License. See LICENSE for more information.
Contact
Ivan Videnovic - videnovici@yahoo.com