初めに Boto(AWSのPython SDK)を使ってDynamo DBにアクセスしたい、と思ったのですが、初歩的な部分でずばり参考になるSample Codeがうまく見つからなかったので、作成したCodeをチラシの裏しておきます。 Dynamoにアクセスしてget_item, query_2, scanをするCode 以下を前提にしています Dynamoへのアクセス権が付与されたIAM Userは作成済で、Access Key IDとSecret Access Keyも作成済 DynamoにはrequestsというTableが既にある requests tableのHashkeyがStringでuserID、Range KeyがNumberでcreated_date #!/usr/bin/env python # coding: utf-8 import boto.dynamodb2