package
1.7.0
Repository: https://github.com/amedigital/aws-utils-go.git
Documentation: pkg.go.dev

# Functions

Retrieves a list of items identified by their keys from the given table and fills the slice pointed by 'pointerToOutputSlice' with the items found, if any.
DeleteItem - deletes an item from dynamodb Note: this function won't return error if the item was not found on the table.
FindOneFromIndex works like GetItem() but runs a query to a secondary index table in order to find the item.
GetItem retrieves from the table the item identified by its partition key (and sort key if given) then returns the item in the form of an instance of your choice.
PutItem creates or replaces an Item on a Dynamodb table.
PutItemWithConditional put item with conditional example: queryConditional := "deleted = :deleted" valuesConditional := map[string]interface{}{":deleted": false} err := dynamodbutils.PutItemWithConditional(PROMOTION_TABLE_NAME, promotionPersisted, queryConditional, valuesConditional).
Runs the query specified by the keyCondition argument on the given table or index and fills the slice pointed by 'pointerToOutputSlice' with the items found, if any.
UpdateItem updates the fields of an item identified by its partitionKey and sortKey(optional).

# Structs

Key holds the name and value of a partition key (PK) and an optional sort key (SK).
KeyCondition allows you set the parameters for a query with 'key condition expression' ref https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Query.html#Query.KeyConditionExpressions - IndexName: optional.