Skip to main content

Crate rustack_dynamodb_model

Crate rustack_dynamodb_model 

Source
Expand description

DynamoDB model types for Rustack.

This crate provides all DynamoDB API types needed for the Rustack DynamoDB implementation. Unlike the S3 model crate which is auto-generated from Smithy, these types are hand-written since DynamoDB’s JSON protocol makes serde derives trivial.

Re-exports§

pub use attribute_value::AttributeValue;
pub use error::DynamoDBError;
pub use error::DynamoDBErrorCode;
pub use operations::DynamoDBOperation;

Modules§

attribute_value
DynamoDB AttributeValue type with custom serialization.
error
DynamoDB error types.
input
DynamoDB input types for the 12 MVP operations.
operations
DynamoDB operation enum.
output
DynamoDB output types for the 12 MVP operations.
types
Shared DynamoDB types for the 12 MVP operations.

Macros§

dynamodb_error
Create a DynamoDBError from an error code.