Skip to content

Instantly share code, notes, and snippets.

@richardgrantserverless
Created Apr 11, 2022
Embed
What would you like to do?
public List<Product> list() throws IOException {
DynamoDBScanExpression scanExp = new DynamoDBScanExpression();
List<Product> results = this.mapper.scan(Product.class, scanExp);
for (Product p : results) {
logger.info("Products - list(): " + p.toString());
}
return results;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment