Registry / database / aws-sdk-dynamodb

aws-sdk-dynamodb

JSON →
library1.110.0rscratesunverified

AWS SDK for Amazon DynamoDB.

# Cargo.toml [dependencies] aws-sdk-dynamodb = "1.110.0"
INSTALL
IMPORT
SIG · AWS-SDK-DYNAMODB
A
aws-sdk-dynamodb
databaserustv1.110.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use aws_sdk_dynamodb::Client;

Lists all DynamoDB tables using the AWS SDK.

use aws_sdk_dynamodb::Client; use aws_config::from_env; #[tokio::main] async fn main() -> Result<(), aws_sdk_dynamodb::Error> { let config = from_env().load().await; let client = Client::new(&config); let tables = client.list_tables().send().await?; println!("Tables: {:?}", tables.table_names()); Ok(()) }
Debug
Known issues
gotchaRequires Tokio runtime for async operations.
fix
Add `tokio` with the `rt-multi-thread` feature and use `#[tokio::main]`.
affects: >=1.0.0
gotchaAWS credentials must be configured via environment variables or AWS config.
fix
Set `AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, and `AWS_REGION`.
affects: >=1.0.0
Upgrade
Version history
1.110.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
13 hits · last 30 days
node
12
OpenAI (training)
1
Resources
aws-sdk-dynamodb — cargo add aws-sdk-dynamodb · libregistry