Skip to content
Create and Update Dynamodb Table
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
createtable.py
querytable.py
requirements.txt
updatetable.py

README.md

Create, Update and Query Dynamodb Tables

Install requirements

OS X & Linux:

pip install -r requirements

Create Table Movies:

[root@ip-172-31-14-42 html]# python createtable.py
Table status: CREATING

Update Table Movies:

[root@ip-172-31-14-42 html]# python updatetable.py
PutItem succeeded:
{
    "ResponseMetadata": {
        "RetryAttempts": 0,
        "HTTPStatusCode": 200,
        "RequestId": "7GBS9PB8M8EGK1O5BDQPCLLL1JVV4KQNSO5AEMVJF66Q9ASUAAJG",
        "HTTPHeaders": {
            "x-amzn-requestid": "7GBS9PB8M8EGK1O5BDQPCLLL1JVV4KQNSO5AEMVJF66Q9ASUAAJG",
            "content-length": "2",
            "server": "Server",
            "connection": "keep-alive",
            "x-amz-crc32": "2745614147",
            "date": "Thu, 06 Sep 2018 12:13:47 GMT",
            "content-type": "application/x-amz-json-1.0"
        }
    }
}

Query Table Movies:

[root@ip-172-31-14-42 html]# python querytable.py
Movies from 2015
2015 : The Big New Movie
You can’t perform that action at this time.