Crate dynarust

Source

Re-exports§

pub use serde;
pub use serde_json;
pub use aws_sdk_dynamodb;

Structs§

Client
Client that holds the connection to dynamo.
ConditionCheckInfo
CreateTableOptions
ListOptions
list options for listing resources in dynamo under the same PrimaryKey.

Enums§

DynamoOperator
Dynamo operator for comparing values.
DynarustError

Traits§

Resource
All the resources that dynarust uses must implement this trait.

Functions§

begin_transaction
Creates a transaction context.
condition_check_exists
Creates a condition check that checks if the referenced resource exists. If the referenced resource exist, the condition check passes, otherwise it fails.
condition_check_not_exists
Creates a condition check that checks if the referenced resource does not exist. If the referenced resource exist, the condition check fails, otherwise it succeeds.
condition_check_number
Creates a condition check for checking a number’s value.
condition_check_string
Creates a condition check for checking a string’s value.
create_sam_resource
transact_condition_check
Takes a Condition check and adds it as a standalone check to a transaction. Useful for when a condition check must be made in a transaction but any of previous the items in the transaction refer to the item that wants to be checked.
transact_create
Adds a create operation to the transaction context.
transact_create_with_checks
Adds a create operation to the transaction context.
transact_delete
Adds a delete operation to a transaction context.
transact_delete_with_checks
Adds a delete operation to a transaction context, with some conditional checks referencing the resource that is being deleted.
transact_update
Adds an update operation to the transaction context.
transact_update_with_checks
Adds an update operation to the transaction context, with additional condition checks