EN | JA
AWS Chains is a wrapper for writing boto3 as method chain.
- Query to DynamoDB
result = ( Query(table) .partition_key_exp(Key("ForumName").eq("Amazon S3")) .sort_key_exp(Key("Subject").gte("S3 Thread 2")) .filter_exp(Attr("LastPostedBy").eq("User A")) .filter_exp(Attr("Views").eq(1)) .projection_exp("ForumName, Subject, Message") .projection_exp("LastPostedBy, LastPostedDateTime, Views") .desc() .run() )