Crate dynamodb_lock
source ·Expand description
Distributed lock backed by Dynamodb. Adapted from https://github.com/awslabs/amazon-dynamodb-lock-client.
Modules
- DynamoDb option keys to use when creating DynamoDbOptions. The same key should be used whether passing a key in the hashmap or setting it as an environment variable.
Structs
- Provides a simple library for using DynamoDB’s consistent read/write feature to use it for managing distributed locks.
- Configuration options for
DynamoDbLockClient
. - A lock that has been successfully acquired
Enums
- Error returned by the
DynamoDbLockClient
API.
Constants
- The field name of
data
in DynamoDB - The field name of
data.destination
in DynamoDB - The field name of
data.source
in DynamoDB - The field name of
is_non_acquirable
in DynamoDB - The field name of
is_released
in DynamoDB - The field name of
lease_duration
in DynamoDB - The field name of
owner_name
in DynamoDB - The partition key field name in DynamoDB
- The field name of
record_version_number
in DynamoDB
Traits
- Abstraction over a distributive lock provider