Skip to main content

wrzasqpl_commons_aws/
lib.rs

1/*
2 * This file is part of the pl.wrzasq.commons.
3 *
4 * @license http://mit-license.org/ The MIT license
5 * @copyright 2023, 2025 © by Rafał Wrzeszcz - Wrzasq.pl.
6 */
7
8#![feature(future_join)]
9
10mod dynamodb;
11mod lambda;
12
13pub use crate::dynamodb::{DaoError, DynamoDbDao, DynamoDbEntity, DynamoDbResultsPage};
14pub use crate::lambda::{LambdaError, run_lambda};
15
16#[cfg(feature = "derive")]
17pub use wrzasqpl_commons_aws_macros::DynamoEntity;
18
19#[cfg(feature = "derive")]
20// Reexports used by derive macros and downstream crates
21pub mod reexports {
22    pub use aws_sdk_dynamodb::operation::put_item::builders::PutItemFluentBuilder;
23    pub use aws_sdk_dynamodb::operation::query::builders::QueryFluentBuilder;
24    pub use aws_sdk_dynamodb::types::AttributeValue;
25}