package
0.0.0-20220406064229-26e39638816f
Repository: https://github.com/ggarcia209/go-aws.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
BatchGet retrieves a list of items from the database refObjs must be non-nil pointers of the same type, 1 for each query/object returned.
BatchWriteCreate writes a list of items to the database.
BatchWriteDelete deletes a list of items from the database.
CreateItem puts a new item in the table.
CreateNewQueryObj creates a new Query struct.
CreateNewTableObj creates a new Table struct.
CreateTable creates a new table with the parameters passed to the Table struct.
DeleteItem deletes the specified item defined in the Query.
DeleteTable deletes the selected table.
GetItem reads an item from the database.
InitDbInfo constructs a DbInfo object with default values.
InitSesh initializes a new session with default config/credentials.
ListTables lists the tables in the database.
No description provided by the author
NewConditionalCheckTxItem initializes a new TransactionItem object for conditional check requests.
NewCreateTxItem initializes a new TransactionItem object for create requests.
NeDeletewTxItem initializes a new TransactionItem object for delete requests.
NewExprBuilder constructs a new ExprBuilder object.
Object Constructors */ NewExpression constructs a new Expression object.
NewReadTxItem initializes a new TransactionItem object for read requests.
NewUpdateExpr constructs a new UpdateExpr object.
NewUpdateTxItem initializes a new TransactionItem object for update requests.
ScanItems scans the given Table for items matching the given expression parameters.
TxConditionCheck checks that each conditional check for a list of transaction items passes.
UpdateItem updates the specified item's attribute defined in the Query object with the UpdateValue defined in the Query.
# Constants
No description provided by the author
No description provided by the author
ErrTxConditionCheckFailed is returned when a transaction item fails it's conditional check.
ErrTxConflict is returned when another transaction is in progress for a transaction item.
ErrTxInProgress is returned when multiple transactions are attempted with the same idempotency key.
ErrTxThrottled is returned when a transaction item fails due to throttling.
# Variables
DefaultFailConfig is the default configuration for the exponential backoff alogrithm with a base wait time of 50 miliseconds, and max wait time of 1 minute (60000 ms).
# Structs
Conditions wraps the expression.ConditionBuilder object.
DbInfo holds different variables to be passed to db operation functions Contains the Db Svc, map of tables, and FailConfig.
ExprBuilder is used to contain Builder types (Condition, Filter, etc...) and build DynamoDB expressions.
Expression wraps the AWS expression.Expression object.
FailConfig stores parameters for the exponential backoff algorithm.
Query holds the search values for both the Partition and Sort Keys.
Table represents a table and holds basic information about it.
TransactionItem contains an item to create / update in a transaction operation.
UpdateExpr is used to construct Update Expressions.