Anyone scanning or querying DynamoDB with a projection, you may want to know that if you plan to get the LastEvaluatedKey for paging, you will want to make sure the primary key attribute is included in the projection. Leaving it out may produce an error much like the following:

dynamo: failed to infer LastEvaluatedKey in scan: dynamo: can't determine LastEvaluatedKey: primary key attribute is missing from result: pk; add it to your projection or use SearchLimit instead of Limit