Skip to content

44103/awschains

Repository files navigation

EN | JA

License Language Test


AWS Chains

AWS Chains is a wrapper for writing boto3 as method chain.

DynamoChain

How to Use

  1. 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()
    )

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published