Mutex Lock Using DynamoDB.
```rust use dynamodbmutex::{ error::DynamoDbMutexError, DynamoDbMutex, }; use dynamodbmutex::rusoto_core::Region;
async fn main() -> Result<(), DynamoDbMutexError> { let mutex = DynamoDbMutex::new(Region::UsEast1, 10000, 10000, 10000, None); //mutex.make_table().await?; let res = mutex.lock("test").await?; println!("{:?}", res); mutex.unlock("test", true).await?; Ok(()) } ```