DynamoDb
interface DynamoDb
Docs: https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_Operations.html
Functions
Link copied to clipboard
fun <R : Paged<Key, Item>, Self : DynamoDbPagedAction<R, Self>> DynamoDb.copy(action: Self, destination: TableName, mappingFn: (Item) -> Item = { it }): Result<Map<String, ReqWriteItem>?, RemoteFailure>
Copies items that are queried into another table, using BatchWriteItem to insert, and optionally mapping. Returns the Unprocessed Items from the last insert if there were any.
Link copied to clipboard
Link copied to clipboard
inline fun <Document : Any, HashKey : Any, SortKey : Any> DynamoDb.tableMapper(tableName: TableName, primarySchema: DynamoDbTableMapperSchema.Primary<Document, HashKey, SortKey>): DynamoDbTableMapper<Document, HashKey, SortKey>